D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
raptqcnr
/
www
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
wc
/
Filename :
variationsPrice.min.js
back
Copy
!function(n){woodmartThemeModule.$document.on("wdQuickViewOpen",function(){woodmartThemeModule.variationsPrice()}),n.each(["frontend/element_ready/wd_single_product_add_to_cart.default"],function(e,o){woodmartThemeModule.wdElementorAddAction(o,function(){woodmartThemeModule.variationsPrice()})}),woodmartThemeModule.variationsPrice=function(){"no"!==woodmart_settings.single_product_variations_price&&n(".variations_form").each(function(){var e=n(this),i=e.parent().find("> .price, > div > .price, > .price > .price"),o=e.parents(".product-quick-view").length,t=(i=n(".wd-content-layout").hasClass("wd-builder-on")&&!o?e.parents(".single-product-page").find(".wd-single-price .price"):i).html();e.on("show_variation",function(e,o){1<o.price_html.length&&i.html(o.price_html)}),e.on("click",".reset_variations",function(){i.html(t)})})},n(document).ready(function(){woodmartThemeModule.variationsPrice()})}(jQuery);