hide or disable add to cart button in woocommerce

Views:
 
Category: Education
     
 

Presentation Description

Most of the time store owners want to disable the add to cart button for some products to make the product unpurchasable.

Comments

Presentation Transcript

Disable Add to Cart Button in WooCommerce :

Disable Add to Cart Button in WooCommerce

Slide2:

Most of the time store owners want to disable the add to cart button for some products to make the product unpurchasable . You can remove the button from product listing page using the following hooks. This code needs to be added in the functions.php

Slide3:

To remove Add to Cart button from product pages and product listing pages add the following hooks to woocommerce.php (located wp -content/plugins/ woocommerce ): Disable Add to Cart Button

Disable Add to Cart Button from Specific Product Pages:

Disable Add to Cart Button from Specific Product Pages A dd this code to the functions.php

Slide5:

To view the rest of the tutorial, click here ! Designed by WPblog

authorStream Live Help