Disable add to cart button - PowerPoint PPT Presentation

About This Presentation
Title:

Disable add to cart button

Description:

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

Number of Views:42

less

Transcript and Presenter's Notes

Title: Disable add to cart button


1
Disable Add to Cart Button in WooCommerce
2
  • 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

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

4
Disable Add to Cart Button from Specific Product
Pages
  • Add this code to the functions.php

5
  • To view the rest of the tutorial, click here!
  • Designed by WPblog
Write a Comment
User Comments (0)
About PowerShow.com