How to add modules in cart page [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm using opencart 2.3.0.2,
i want to add featured product in cart page,
in admin layouts there is no cart page layout to add.
how to add modules like featured product, related product etc., in cart page?

You should add that layout with name for example cart and add route checkout/cart. Now you can add your modules to this page.

Related

How to display woocommerce products in list view, without image [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
How to display woocommerce products in list view, without image, both on shop page and single product page?
I tried a plugin 'woocommerce-product-table' but thumbnail is still visible on single product page.
You can achieve that with removing two actions.
The first, for the shop loop
remove_action('woocommerce_before_shop_loop_item_title', 'woocommerce_template_loop_product_thumbnail');
The second, for the product page
remove_action('woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20);
Removing the image from the shop loop and the product page can lead to some unexpected behavior, if you know css you will have no problem fixing it.

How to remove the vendor text that shows up in checkout page of woocommerce? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
My website is built upon wordpress and woocommerce. I am using Dokan multivendor plugin. At the checkout page at the right side under the "Your order" section it shows first the product name then below that date and time of booking and below that the name of the vendor. I want to remove the function to show the name of the vendor in the checkout page.
My website is www.osdoc.in .. you can try and add a product and go to checkout page to see which one i am asking about?
You can hide it using css:
.woocommerce td.product-name dl.variation .variation-Vendor {
display: none;
}

Remove Prices from WooCommerce in Catalog Page only [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to remove the prices from my products in WooCommerce in the catalog page only. The prices will remain in the individual page and the checkout. Unfortunately, I am not using a child theme, and WooCommerce is bundled with the theme.
You can remove the price hook from the woocommerce loop.
Add below code to your theme - functions.php file
remove_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price',10);
Try adding
.price.grid-only
{
display: none !important;
}
to the css file. It should only hide the price on the shop page, but not the individual pages.

How to remove/disable Add to Cart function in OpenCart [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How do I disable or remove add to cart, and checkout functions on OpenCart?
I have a website, and it's like a store catalog. I mean, it is not an online store, so I don't need these functions and would like to disable it, so people can see the price, but they can't buy it online.
As you know, OpenCart is E-commerce software which is meant to sell product online, so there is no feature of removing add to cart.
If you want you can do it in a custom way by disabling the addToCart() operation:
catalog>view>javascript>common::addToCart() comment the operational part
system>library>cart::add() comment the operational part
This will help to disable the function of addToCart().
To remove add to cart button, add script to footer.tpl before </body>:
<script type="text/javascript">
$('.cart, #cart').hide();
</script>

Magento: is there a way to display related products with visibility set to 'Catalog' on frontend? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Unlike 'Upsells' on the product view page, 'related products' block does not display products with visibility set to 'Catalog'.
It would be helpful to know if there a way to display related products with visibility set to 'Catalog' on frontend?
Just had the same issue.
Fix is to comment out the following line in the file app/code/core/Mage/Catalog/Block/Product/List/Related.php:
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($this->_itemCollection);

Categories