Cenovni razpon: od 14,20 € do 18,30 €
Ta izdelek ima več različic. Možnosti lahko izberete na strani izdelka
jQuery(function($){ var hash = window.location.hash; if(hash && hash.includes('tab-title-')){ var tab = $(hash.replace('tab-title','tab')); if(tab.length){ tab.trigger('click'); $('html, body').animate({ scrollTop: $('.product-tabs').offset().top - 100 }, 300); } } });(function () { function toggle() { // zgornja Flatsome cena (range) const basePrices = document.querySelectorAll('p.price.product-page-price');// kjer Woo prikazuje variacijsko ceno (včasih je .woocommerce-variation-price, včasih samo .single_variation .price) const varWrap = document.querySelector('.single_variation_wrap'); const varPriceEl = document.querySelector('.single_variation_wrap .woocommerce-variation-price') || document.querySelector('.single_variation_wrap .single_variation .price') || document.querySelector('.single_variation_wrap .single_variation');const varText = varPriceEl ? (varPriceEl.textContent || '').trim() : ''; const hasVarPrice = !!varWrap && varWrap.offsetParent !== null && varText.length > 0;basePrices.forEach(el => { el.style.display = hasVarPrice ? 'none' : ''; }); }// 1) takoj ob loadu document.addEventListener('DOMContentLoaded', toggle);// 2) WooCommerce jQuery eventi (če so na voljo) if (window.jQuery) { jQuery(document).on( 'found_variation show_variation reset_data hide_variation woocommerce_variation_has_changed', '.variations_form', function () { setTimeout(toggle, 0); } ); }// 3) Backup: opazuj spremembe v single_variation_wrap (če tema/optimizacije “požrejo” evente) const target = document.querySelector('.single_variation_wrap'); if (target && window.MutationObserver) { const obs = new MutationObserver(() => toggle()); obs.observe(target, { childList: true, subtree: true, characterData: true }); } })();