WoodMartW
WoodMart
Mar 7

Modify WooCommerce “Add to Cart” Button Behavior

Hello Support Team, I would like to modify the WooCommerce “Add to Cart” button behavior to improve user experience, particularly for small spaces. The requested functionality is as follows: 1. When the “Add to Cart” button is clicked, the selected item should be added to the cart, and the button should transform into a quantity selector with plus (+) and minus (-) buttons. 2. Users should be able to adjust the quantity directly using the plus/minus buttons without displaying a “View Cart” button. 3. If the quantity is reduced to zero, the button should revert to its original “Add to Cart” state. For reference, here are examples of the desired functionality: - Onsitego Example – https://onsitego.com/ac-service-repair-delhi-noida-gurgaon - Woolworths Example – https://www.woolworths.com.au/shop/browse/fruit-veg/fruit Could you please guide me on how to achieve this? I appreciate your assistance.
PendingPending