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)"> Girls' Top Age: 5–8 years $7.50 ≈ SYP 1,105 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)"> Girls' Top Age: 8–12 years $7.50 ≈ SYP 1,105 Only 2 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.