Removes all Add to Cart buttons throughout a WooCommerce website without affecting anything else hooked into the Add to Cart actions.
|Author:||McGregor Media Web Design (profile at wordpress.org)|
|WordPress version required:||4.7|
|WordPress version tested:||5.3|
|Added to WordPress repository:||15-12-2016|
|Total downloads:||15 554|
|Active installs:||2 000+|
Click to start download
This plugin removes all Add to Cart buttons throughout a WooCommerce website by using the woocommerce_is_purchasable filter rather than the Add to Cart actions, thus not affecting anything else hooked into these actions. This plugin also offers the option to remove prices in product archive and single product pages. Please note removing prices may not work with themes that do not use the standard WooCommerce hooks.
How to use this plugin
Navigate to Admin > WooCommerce > Settings > Products and click the Remove Add to Cart settings tab. Use the checkboxes to enable the Remove Add to Cart and/or Remove Prices options. Removing prices may not work with themes that do not use the standard WooCommerce hooks.
This plugin is compatible with WooCommerce 3.x versions.
This plugin does not gather or store any personal data.
UPDATED: Tested up to WordPress 5.3
FIXED: rearranged hook order to honour mmwd_remove_price option
ADDED: compatibility with variable products
UPDATED: WC tested up to tags for WooCommerce 3.7.x
ADDED: Requires PHP tag
UPDATED: WC tested up to tags for WooCommerce 3.6.x
UPDATED: Tested up to WordPress 5.2
UPDATED: Tested up to WordPress 5.1
UPDATED: WC tested up to tags for WooCommerce 3.5.x
UPDATED: WC tested up to tags for WooCommerce 3.4.x
UPDATED: Tested up to WordPress 5.0
ADDED: GDPR notice in ReadMe
UPDATED: WC requires at least and WC tested up to tags for WooCommerce 3.3.x
ADDED: WC requires at least and WC tested up to tags for WooCommerce 3.2+
UPDATED: .pot file
FIXED: typo in readme.txt
ADDED: check to see if WooCommerce is activated on plugin activation
ADDED: note to reflect theme issues
ADDED: .pot file for translation
TWEAK: edited description to make the usage instructions clearer
REMOVED: erroneous remove_actions
ADDED: option to remove prices too, following user feedback
FIXED: some users received a php warning when the plugin was in use