Shop

Tags
Checkbox Filters Tags
Price Filter - slider
Price Filter - inputs
€
€
New Color Filter
Product Height Filter
Radio Category Filter

105 cm

 10,83

 9,38

Pages

Info@florarix.com

Search

document.addEventListener("DOMContentLoaded", function () { document.querySelectorAll(".custom-quantity-wrapper").forEach(function (container) { let input = container.querySelector(".qty"); let minusBtn = container.querySelector(".qty-minus"); let plusBtn = container.querySelector(".qty-plus"); minusBtn.addEventListener("click", function () { let currentValue = parseInt(input.value); let min = parseInt(input.min) || 1; let step = parseInt(input.step) || 1; if (currentValue > min) { input.value = currentValue - step; input.dispatchEvent(new Event("change")); } }); plusBtn.addEventListener("click", function () { let currentValue = parseInt(input.value); let max = parseInt(input.max) || 1000; let step = parseInt(input.step) || 1; if (currentValue + step <= max) { input.value = currentValue + step; input.dispatchEvent(new Event("change")); } }); }); });