外掛說明
The “Conditional Add to Cart” plugin allows you to control the visibility and behavior, as well as customize the appearance and content of the “Add to cart” button in WooCommerce based on a set of conditions. This gives you greater control and flexibility over how the button behaves and appears in your WooCommerce store.
Currently available conditions:
- Product
- Product category
- Cart content
- Cart quantity
- Cart total
- Cart subtotal
- User country
- User role
- User session status
and you can trigger actions such as disabling or enabling the button, or changing its text and appearance. You can even replace the button entirely with your own custom HTML or shortcode.
NOTE: More conditions and actions will be added in future updates, so if you have any feedback or feature requests, please feel free to share them on our forum
安裝方式
- Upload
conditional-add-to-cart
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
使用者評論
參與者及開發者
變更記錄
0.2.4
- Add global theme support
0.2.3
- Add support for themes with custom product pages templates
- Declared compatibility with WooCommerce 6.3
- Fixed “Product” rule “Not equal to” not working properly.
- Fixed “Cart quantity” rule.
0.2.2
- Stability improvements
0.2.1
- Fixed “Cart total” and “Cart subtotal” condition rules.
0.2.0
- Added “Cart total” and “Cart subtotal” condition rules.
0.1.1
- Fixed a compatibility issue with WooCommerce 4.0
- Added new product condition.
0.1.0
Initial release.