WooCommerce Add to Cart Button Visibility

WooCommerce Add to Cart Button Visibility

Enable/disable WooCommerce Add to Cart button globally or on per product basis

Description

WooCommerce Add to Cart Button Visibility allows you to enable/disable “Add to Cart” button globally, per product or per category basis.

All Products

This section allows you to disable “add to cart” button for all products at once. Good usage example would be to use this section in conjunction with Booster’s Modules By User Roles module.

WooCommerce Add to Cart Button Visibility - Admin Settings - All Products

Enable section
Enables/disables section.
Default: no
Disable Buttons on Category/Archives Pages
Enables/disables buttons on category/archives pages.
Default: no
Disable Buttons on Single Product Pages
Enables/disables buttons on single product pages.
Default: no

Per Product

This section allows you to disable “add to cart” button on per product basis.

WooCommerce Add to Cart Button Visibility - Admin Settings - Per Product

Product edit page:

WooCommerce Add to Cart Button Visibility - Admin Settings - Per Product - Product Meta Box

Enable section
Enables/disables section. This will add meta box to each product’s edit page.
Default: no

Per Category

This section allows you to disable “add to cart” button on per category basis.

WooCommerce Add to Cart Button Visibility - Admin Settings - Per Category

Enable section
Enables/disables section.
Default: no
Disable Buttons on Category/Archives Pages
Enables/disables buttons on category/archives pages for selected categories.
Default: None
Content
Content to replace with on archives (can be empty). You can use HTML and/or shortcodes here.
Default: None
Disable Buttons on Single Product Pages
Enables/disables buttons on single product pages for selected categories.
Default: None
Content
Content to replace with on single product pages (can be empty). You can use HTML and/or shortcodes here.
Default: None
Accessible through:
  • WooCommerce > Settings > Booster > Products > Add to Cart Button Visibility
Tested on WooCommerce 3.2.6 and WordPress 4.9.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

No comments yet.