syncCartCounter())" x-data="{ modal: false, mc_open: false, syncCartCounter() { const updateFromDom = () => { let total = 0; document.querySelectorAll('.mini-cart .woocommerce-mini-cart-item input[type=\'number\']').forEach(inp => { total += parseInt(inp.value, 10) || 0; }); if (!total) { total = document.querySelectorAll('.mini-cart .woocommerce-mini-cart-item').length; } document.querySelectorAll('span.cart-counter').forEach(el => { el.textContent = total; if (total > 0) { el.classList.remove('hidden'); } else { el.classList.add('hidden'); } }); }; updateFromDom(); setTimeout(updateFromDom, 250); setTimeout(updateFromDom, 700); } }" x-init=" if (window.jQuery) { window.jQuery(document.body).on('added_to_cart removed_from_cart wc_fragments_refreshed updated_wc_div', () => syncCartCounter()); } const mc = document.querySelector('div.mini-cart'); if (mc) { const obs = new MutationObserver(() => syncCartCounter()); obs.observe(mc, { childList: true, subtree: true }); } " @keydown.escape="modal = false" :style="'--nav-height:'+$store.site.headerHeight">
← All manuals
Seat Post Adapter Installation Video
Your basket
No products in the basket.
PRE-ORDERS NOW OPEN!
No need to join the waitlist - order now.