Golam Kibria 3 years ago Hi Terence, WooCommerce offers this clear button/option. I would recommend you using JS to trigger the button. Thank You.
Resetting swatch to default color/value using code
Terence Denning
Hi there,
I have created a button on a page and am trying to work out if there is a way to trigger the code to reset the swatch to it’s default value, am I able to do this from outside the plugin (using Javascript/PHP, etc)?