!function(e){woodmartThemeModule.$document.on("wdQuickViewOpen",function(){woodmartThemeModule.variationsPrice()}),e.each(["frontend/element_ready/wd_single_product_add_to_cart.default"],function(e,n){woodmartThemeModule.wdElementorAddAction(n,function(){woodmartThemeModule.variationsPrice()})}),woodmartThemeModule.variationsPrice=function(){"no"!==woodmart_settings.single_product_variations_price&&e(".variations_form").each(function(){var n=e(this),t=n.parents(".product-quick-view").length,o=function(){return e(".wd-content-layout").hasClass("wd-builder-on")&&!t?n.parents(".single-product-page").find(".wd-single-price .price:not(.price-unit)").first():n.parent().find("> .price:not(.price-unit), > div > .price:not(.price-unit)").first()},i=o(),r=i.clone();n.on("found_variation",function(e,n){n.price_html.length>1&&(i.replaceWith(n.price_html),i=o())}),n.on("reset_data",function(){i.replaceWith(r.clone()),i=o()})})},e(document).ready(function(){woodmartThemeModule.variationsPrice()})}(jQuery);