Alcatifas para quartos de dormir

(2971 Tapetes)

document.querySelectorAll("article.product").forEach(function(t){let e=t.querySelectorAll(".variation-item"),a=t.querySelectorAll(".product-list-item");e.length>0&&e.forEach(function(t){t.addEventListener("click",function(){e.forEach(function(e){e.dataset.id===t.dataset.id?e.classList.add("active"):e.classList.remove("active")}),a.forEach(function(e){e.dataset.id===t.dataset.id?e.classList.add("active"):e.classList.remove("active")})})})});