VeloRepair | Gen 1.5 £1,595.00 (inc. VAT £1,914.00) r.json()) .then(data => { if (data.cart) { document.querySelectorAll('[data-cart-count]').forEach(el => { el.textContent = data.cart.totalQty; el.classList.remove('hidden'); }); window.dispatchEvent(new CustomEvent('cart-updated', { detail: { message: 'Added to cart', productName: productName } })); if (typeof dataLayer !== 'undefined') { dataLayer.push({ ecommerce: null }); dataLayer.push({ event: 'add_to_cart', ecommerce: { currency: 'GBP', value: 1595, items: [{ item_id: 'BRS\u002DG1.5', item_name: 'VeloRepair\u0020\u007C\u0020Gen\u00201.5', price: 1595, quantity: 1 }] } }); } } loading = false; }) .catch(() => { loading = false; }); ">
VeloRepair | Gen 1.0 £1,195.00 (inc. VAT £1,434.00) r.json()) .then(data => { if (data.cart) { document.querySelectorAll('[data-cart-count]').forEach(el => { el.textContent = data.cart.totalQty; el.classList.remove('hidden'); }); window.dispatchEvent(new CustomEvent('cart-updated', { detail: { message: 'Added to cart', productName: productName } })); if (typeof dataLayer !== 'undefined') { dataLayer.push({ ecommerce: null }); dataLayer.push({ event: 'add_to_cart', ecommerce: { currency: 'GBP', value: 1195, items: [{ item_id: 'BRS\u002DG1', item_name: 'VeloRepair\u0020\u007C\u0020Gen\u00201.0', price: 1195, quantity: 1 }] } }); } } loading = false; }) .catch(() => { loading = false; }); ">