Hide/ remove add to cart button - Re:Vendor

0
0

It would be great to be able to hide the add to cart button under the product photo from all the pages, except the single product page. I tried the YITH plugin for this, but it does not work.

Thanks!

  • You must to post comments
0
0

Theme option – shop settings. You can find there this option

  • You must to post comments
0
0

I am also having an unexpected error while removing add to cart button on my product page. I am using this tutorial for my reference code https://wpitech.com/hide-disable-add-to-cart-button-in-woocommerce-store/ .

function flav() {
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’);
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’);
return WooCommerce::instance();

  • You must to post comments
0
0

You don’t need any code for this. Theme has option to disable buttons. Please, write on official support pages to know how to do this

  • You must to post comments
Showing 3 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Fill the captcha*