r.status === 401 ? r.json().then(d => window.location = d.login) : r.json().then(d => { if (d.ok) { active = d.active; $dispatch('ui-toast', { message: d.message }); } })) .finally(() => busy = false)"> Boys' Summer Set Age: 1–4 years $11.50 ≈ SYP 1,695 In stock r.json().then(d => { if (d.ok) { done = true; $dispatch('cart-added'); window.Livewire && window.Livewire.dispatch('cart-updated'); setTimeout(() => done = false, 2500); } else { error = d.message; } })) .catch(() => error = 'That did not go through - refresh the page and try again.') .finally(() => busy = false)"> Add to cart Added to your cart.
r.status === 401 ? r.json().then(d => window.location = d.login) : r.json().then(d => { if (d.ok) { active = d.active; $dispatch('ui-toast', { message: d.message }); } })) .finally(() => busy = false)"> Floral Set With Shorts Age: 2–5 years $18.38 ≈ SYP 2,705 Only 1 left r.json().then(d => { if (d.ok) { done = true; $dispatch('cart-added'); window.Livewire && window.Livewire.dispatch('cart-updated'); setTimeout(() => done = false, 2500); } else { error = d.message; } })) .catch(() => error = 'That did not go through - refresh the page and try again.') .finally(() => busy = false)"> Add to cart Added to your cart.