You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
cosmopet.ae/wp-content/themes/woodmart/js/scripts/wc/variationsPrice.min.js

1 lines
751 B

!function(t){t.each(["frontend/element_ready/wd_single_product_add_to_cart.default"],function(e,i){woodmartThemeModule.wdElementorAddAction(i,function(){woodmartThemeModule.variationsPrice()})}),woodmartThemeModule.variationsPrice=function(){"no"!==woodmart_settings.single_product_variations_price&&t(".variations_form").each(function(){var e=t(this),n=e.parent().find("> .price, > div > .price, > .price > .price"),i=(n=t(".site-content").hasClass("wd-builder-on")?e.parents(".single-product-page").find(".wd-single-price .price"):n).html();e.on("show_variation",function(e,i){1<i.price_html.length&&n.html(i.price_html)}),e.on("hide_variation",function(){n.html(i)})})},t(document).ready(function(){woodmartThemeModule.variationsPrice()})}(jQuery);