Js when change variable on single product

PHOTO EMBED

Thu May 09 2024 07:49:23 GMT+0000 (Coordinated Universal Time)

Saved by @ngoctran #javascript

var $= jQuery; $(document).on('found_variation', 'form.cart', function(event, variation) {
	//update price in custom box
    if (variation.price_html) {
      $('.custom-price-box .elementor-widget-container').html(variation.price_html);
    }
});
content_copyCOPY