We’d love to hear from you! Whether you have questions or just want to
share your feedback, we’re here to assist you. Feel free to reach out us.
Items have been added to cart.
One or more items could not be added to cart due to certain restrictions.
- Can't add this product to the cart now. Please try again later.
- An error occurred. Please try again later.
- An error occurred. Please try again later.
(function() { function setNativeValue(el, value) { const nativeInputValueSetter = Object.getOwnPropertyDescriptor( window.HTMLInputElement.prototype, 'value' ).set; nativeInputValueSetter.call(el, value); el.dispatchEvent(new Event('input', { bubbles: true })); el.dispatchEvent(new Event('change', { bubbles: true })); } function initPriceSliderSync() { const sliderMin = document.querySelector('.theme-price-slider-min'); const sliderMax = document.querySelector('.theme-price-slider-max'); const textMin = document.querySelector('.theme-input-min'); const textMax = document.querySelector('.theme-input-max'); if (!sliderMin || !sliderMax || !textMin || !textMax) return false; // Check if already patched to avoid double-binding if (sliderMin.dataset.priceSyncPatched) return true; sliderMin.dataset.priceSyncPatched = true; sliderMin.addEventListener('input', function() { setNativeValue(textMin, this.value); }); sliderMax.addEventListener('input', function() { setNativeValue(textMax, this.value); }); return true; } // Wait for page + framework to fully settle window.addEventListener('load', function() { setTimeout(function() { if (!initPriceSliderSync()) { // If still not found, keep watching const observer = new MutationObserver(function(_, obs) { if (initPriceSliderSync()) obs.disconnect(); }); observer.observe(document.body, { childList: true, subtree: true }); } }, 2000); }); })(); window.addEventListener('load', function() { setTimeout(function() { console.log('AADAI PRICE SYNC: script running'); console.log('sliderMin:', document.querySelector('.theme-price-slider-min')); console.log('textMin:', document.querySelector('.theme-input-min')); }, 2000); });