Fechar menu
Colchões
Espuma
Molas
Ortopédicos
Travesseiros
Box
Box Simples
Box Baú
Bibox
Acessórios
Infantil
Colchões Infantis
Travesseiros Infantis
Acessórios Infantis
Pets
Minha conta
Colchões
Espuma
Molas
Ortopédicos
Travesseiros
Box
Box Simples
Box Baú
Bibox
Acessórios
Infantil
Colchões Infantis
Travesseiros Infantis
Acessórios Infantis
Pets
$refs.inputFocus.focus())" class="flex items-center p-1 transition-transform hover:scale-110 hover:translate-x-0" >
0
{ if(response.status !== 200) { throw new Error(response.statusText) } else { return response.text() } }) .then(cartData => { const html = new DOMParser().parseFromString(cartData, 'text/html').body.children[0] const productCards = Array.from(html.children).filter((item, index)=>{ const lowerBounder = 18 * productPage + 3 const upperBounder = 18 + lowerBounder return index > lowerBounder && index <= upperBounder }) const productCardsWrapper = document.getElementById('template--23788352274751__3fdaf0b6-cda1-48a7-a629-75347e1e2865-product-cards').parentElement productCards.forEach((element)=>{ const productCard = `
${element.outerHTML}
` productCardsWrapper.insertAdjacentHTML('beforeend', productCard) }) setTimeout(()=>Array.from(document.querySelectorAll('.product-card-invisible')).forEach((element)=>element.classList.remove('product-card-invisible')), 100) productPage = productPage + 1; }) .catch((error) => { console.error(error); }); " > Ver mais