Cyber Monday & Friday 40% Deals Return Coupon code: Friday2025

Resetting swatch to default color/value using code

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)?