Header Image#relatedProducts--template--26482384994687__related { --PT: 60px; --PB: 60px; } #relatedProducts--template--26482384994687__related .tabs__nav { --text-size: calc(var(--adjust-heading) * 1.35); } @media screen and (max-width: 767px) { #relatedProducts--template--26482384994687__related .grid--mobile, #relatedProducts--template--26482384994687__related .carousel--mobile { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

Sun: Closed

0131 374 5324
Newington RoadEdinburgh
EH9 1QN
[email protected]
CountryGBP£
Albania (ALLL)
Algeria (DZDد.ج)
Chad (XAFCFA)
Comoros (KMFFr)
Bike and frame weights are based on pre-production painted frames at time of publication. Weights may vary in final production.

Congo - Brazzaville (XAFCFA) []

Mozambique (GBP£)
Congo - Kinshasa (CDFFr) {"@context":"http:\/\/schema.org\/","@id":"\/products\/trek-district-6#product","@type":"ProductGroup","brand":{"@type":"Brand","name":"Trek"},"category":"Bicycles","description":"The District+ 4 is a sleek and capable city e-bike with rugged durability and top-end comfort. Its frame integrates the batteries inside the downtube and comes with four battery capacity options, ranging from 400 Wh to 800 Wh, so you can choose what's right for your commute. The District+ 4 features a belt drive for low maintenance durability. Bosch's new smart system allows your bike to pair with your smartphone for tracking activities, mapping rides and more.\n\n*Please note – spec applies to all sizes unless listed separately\n\n\nFrameset\n\n\n\n\n\n\n\nFrame\nHigh-performance hydroformed alloy, Removable Integrated Battery, internal cable routing, Motor Armour, post-mount disc\n\n\nFork\nSR Suntour NVX30, coil spring, preload adjuster, 100 mm QR, 60 mm travel\n\n\nMax compatible fork travel\n63mm\n\n\n\n\n\n\n\n\nWheels\n\n\n\n\n\n\n\nHub front\nAlloy, CenterLock disc, 100 mm thru axle\n\n\nHub rear\nShimano Nexus C7000, 5-speed\n\n\nRim\nBontrager Connection, double-wall, 32-hole, 20 mm width, Presta valve\n\n\nSpokes\n14 g stainless steel, black\n\n\nTyre\nBontrager E6 Hard-Case Lite, reflective strip, 27.5x2.40\"\n\n\nMax tyre size\n27.5x2.40\"\n\n\n\n\n\n\n\n\nE-system\n\n\n\n\n\n\n\nCharger\nBosch standard 4A, 230V, smart system\n\n\nController\nBosch Intuvia 100, smart system\n\n\nComputer\nBosch LED remote, smart system\n\n\nMotor\nBosch Performance Line, 250 W, 75 Nm, 20 mph (25 km\/h in Europe)\n\n\n\n\n\n\n\n\nDrivetrain\n\n\n\n\n\n\n\nShifter\nShimano Nexus C7000, 5-speed\n\n\nCrank\nProWheel alloy, 175 mm length\n\n\nChainring\nGates CDX, 46T\n\n\nCassette\nGates CDX, 32T\n\n\nPedal\nBontrager City pedals\n\n\nMax. chainring size\n50T (Gates belt sprocket)\n\n\n\n\n\n\n\n\nComponents\n\n\n\n\n\n\n\nSaddle\nBontrager Boulevard\n\n\nSeatpost\nAlloy, suspension, 31.6 mm, 300 mm length\n\n\nHandlebar\nAlloy, 31.8 mm clamp, 25 mm rise, 630 mm width\n\n\nGrips\nBontrager Satellite Elite, alloy lock-on\n\n\nStem\nBontrager alloy, 31.8 mm clamp, adjustable rise, Blendr-compatible, 105 mm length\n\n\nBrake\nTektro HD-M275 hydraulic disc\n\n\n*Brake rotor\n\nSize: L, XL, XXLShimano EM300, CenterLock, 160 mm\n\n\n\nSize: L, XL, XXLShimano RT10, CenterLock, 160 mm\n\n\nBrake Set\nTektro HD-M275 hydraulic disc\n\n\nRotor size\nMax brake rotor sizes: 180 mm front and rear\n\n\n\n\n\n\n\n\nAccessories\n\n\n\n\n\n\n\n*Light\n\nSize: L, XL, XXLSpanninga SOLO for e-bike\n\n\n\n\nSize: L, XL, XXLHerrmans MR4, 120-lumen LED\n\n\nKickstand\nPletscher Comp Flex 18\n\n\nCargo rack\nAlloy rear rack, 25 kg max weight\n\n\n*Mudguard\n\nSize: L, XL, XXLSKS plastic, rear\n\n\n\n\nSize: L, XL, XXLSKS plastic, front\n\n\n\n\n\n\n\n\n\nWeight\n\n\n\n\n\n\n\nWeight\nL - 26.20 kg \/ 57.77 lbs (excluding battery)\n\n\nWeight limit\nThis bike has a maximum total weight limit (combined weight of bicycle, rider and cargo) of 136 kg (300 lb).\n\n\n\n\n\n\n\n\nWe reserve the right to make changes to the product information contained on this site at any time without notice, including with respect to equipment, specifications, models, colours, materials and pricing. Due to supply chain issues, compatible parts may be substituted at any time without notice. The prices shown are the manufacturer's suggested retail prices.\n\n\nBike and frame weights are based on pre-production painted frames at time of publication. Weights may vary in final production.\n\n","hasVariant":[{"@id":"\/products\/trek-district-6?variant=45828873814242#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Large \/ 400WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873814242#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3111.25","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873814242"},"sku":"5295002"},{"@id":"\/products\/trek-district-6?variant=45828873847010#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Large \/ 545WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873847010#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3111.25","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873847010"},"sku":"5295003"},{"@id":"\/products\/trek-district-6?variant=45828873879778#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Large \/ 725WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873879778#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3610.00","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873879778"},"sku":"5295004"},{"@id":"\/products\/trek-district-6?variant=45828873912546#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Large \/ 800WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873912546#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3966.25","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873912546"},"sku":"5295005"},{"@id":"\/products\/trek-district-6?variant=45828873945314#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Extra Large \/ 400WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873945314#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3847.50","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873945314"},"sku":"5295006"},{"@id":"\/products\/trek-district-6?variant=45828873978082#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Extra Large \/ 545WH","offers":{"@id":"\/products\/trek-district-6?variant=45828873978082#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3325.00","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828873978082"},"sku":"5295007"},{"@id":"\/products\/trek-district-6?variant=45828874010850#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Extra Large \/ 725WH","offers":{"@id":"\/products\/trek-district-6?variant=45828874010850#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3681.25","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828874010850"},"sku":"5295008"},{"@id":"\/products\/trek-district-6?variant=45828874043618#variant","@type":"Product","image":"https:\/\/projektride.co.uk\/cdn\/shop\/files\/District_Plus_4_Men_23_36971_A_Primary_30a0ae3a-fa57-4ed9-9930-d79411b9e3a4.webp?v=1724144824\u0026width=1920","name":"Trek District+ 4 - Extra Extra Large \/ 800WH","offers":{"@id":"\/products\/trek-district-6?variant=45828874043618#offer","@type":"Offer","availability":"http:\/\/schema.org\/InStock","price":"3847.50","priceCurrency":"GBP","url":"https:\/\/projektride.co.uk\/products\/trek-district-6?variant=45828874043618"},"sku":"5295009"}],"name":"Trek District+ 4","productGroupID":"8680145092834","url":"https:\/\/projektride.co.uk\/products\/trek-district-6"}
#Accordions--template--26482384994687__section_accordions_with_images_kprcYa { --PT: 60px; --PB: 60px; --border-opacity: 0; --border-width: 1px; --MB: 10px; --padding-left: 0; --bg-padded-line: var(--bg); } #Accordions--template--26482384994687__section_accordions_with_images_kprcYa .section__heading { --heading-size: calc(var(--adjust-heading) * 1.2); } #Accordions--template--26482384994687__section_accordions_with_images_kprcYa .accordion__item { --bg-item: #fafafa; }
Namibia (GBP£) Côte d’Ivoire (XOFFr)
Frequently Asked Questions Netherlands (EUR€) Croatia (EUR€) Cyprus (EUR€) I'm looking to find out more information about a product, where can I find this? Please get in touch with a member of the team either by phone (Nigeria (NGN₦) Czechia (CZKKč) 01313745324 [email protected] Denmark (DKKkr.) ProjektRide Bike Shop Edinburgh Djibouti (DJFFdj) I'm looking to buy this product, when will it arrive and how much does postage cost? If the item is showing in stock, we aim to post the product within 24 hours. Please allow 5 working days to receive the item. Poland (PLNzł) Egypt (EGPج.م) Postage is free on orders over £50. Orders under £50, our postage charge is £3.99.
Niger (XOFFr)
) or email ( ) where on of the team will be more than happy to help.North Macedonia (MKDден)
Norway (GBP£)
We also have a physical store, if you are local please pop in -
ProjektRide Bike Shop Edinburgh
82 Newington Road, EH91QN, Edinburgh.Portugal (EUR€)
Equatorial Guinea (XAFCFA)
Réunion (EUR€)
Eritrea (GBP£)
Romania (RONLei)
Rwanda (RWFFRw) San Marino (EUR€) São Tomé & Príncipe (STDDb) French Southern Territories (EUR€) Senegal (XOFFr) Serbia (RSDРСД) Seychelles (GBP£) Georgia (GBP£) Sierra Leone (SLLLe) Slovakia (EUR€)
Finland (EUR€)
France (EUR€)
Gabon (XOFFr)
Gambia (GMDD)
Germany (EUR€)
Ghana (GBP£)
Slovenia (EUR€)
Gibraltar (GBP£)
Somalia (GBP£)
South Africa (GBP£)
South Sudan (GBP£) Sudan (GBP£) See MoreIceland (ISKkr) Cleaners, Degreasers and Lubrication Switzerland (CHFCHF) Ireland (EUR€) Isle of Man (GBP£)
Spain (EUR€)
St. Helena (SHP£)
Svalbard & Jan Mayen (GBP£)
Sweden (SEKkr)
Accessories Tanzania (TZSSh)
Togo (XOFFr)
Italy (EUR€)
Tristan da Cunha (GBP£)
Jersey (GBP£) Tunisia (GBP£)
Kenya (KESKSh) Türkiye (GBP£) Uganda (UGXUSh) Latvia (EUR€) Ukraine (UAH₴) Libya (GBP£) Lithuania (EUR€) Malawi (MWKMK) Mauritania (GBP£)
Kosovo (EUR€)
Lesotho (GBP£)
Liberia (GBP£)
Liechtenstein (CHFCHF)
Luxembourg (EUR€)
Madagascar (GBP£)
Mali (XOFFr)
Malta (EUR€)
Mauritius (MUR₨)
Mayotte (EUR€)
Moldova (MDLL)
Monaco (EUR€) Montenegro (EUR€) Morocco (MADد.م.) Mozambique (GBP£) Namibia (GBP£) British Indian Ocean Territory (USD$) Netherlands (EUR€) Bulgaria (EUR€) Niger (XOFFr) Burkina Faso (XOFFr)
Nigeria (NGN₦) Burundi (BIFFr)
North Macedonia (MKDден) Cameroon (XAFCFA)
Norway (GBP£) Cape Verde (CVE$)
Poland (PLNzł) Central African Republic (XAFCFA)
Djibouti (DJFFdj) Eritrea (GBP£) Eswatini (GBP£) Ethiopia (ETBBr) Faroe Islands (DKKkr.) Finland (EUR€) = !maxUpdatedAt || (cachedDate && !isNaN(cachedDate) && (!maxDate || cachedDate > maxDate)); if (useCached) { if (Array.isArray(cachedData.plans)) { window._RestockRocketConfig.sellingPlans = cachedData.plans; // Only use disabled_plan_ids when using cached plans window._RestockRocketConfig.disabledSellingPlanIds = cachedData.disabled_plan_ids || []; console.debug('[RR] Using selling plans from cachedSellingPlans (cached_at: ' + cachedData.cached_at + ')'); } } else { // When using old format (stale cache), don't trust disabled_plan_ids window._RestockRocketConfig.disabledSellingPlanIds = []; console.debug('[RR] Using selling plans from old format (max updated_at: ' + maxUpdatedAt + ')'); } } })();window._RestockRocketConfig.enabledNotifyMeVariantIds = [];window._RestockRocketConfig.disabledNotifyMeVariantIds = [];window._RestockRocketConfig.backInStockTemplates = [];window._ReFrance (EUR€) 0) { console.debug(`STOQ - Client clock appears ahead of server by ${Math.abs(Math.round(liquidCacheAge / 60))} minutes, assuming cache fresh`); window._RestockRocketConfig.isLiquidCacheFresh = true; } else if (liquidCacheAge = LIQUID_CACHE_MAX_AGE) { console.debug(`STOQ - Liquid cache is fresh (${Math.round(liquidCacheAge / 60)} minutes old)`); window._RestockRocketConfig.isLiquidCacheFresh = true; } else { console.debug(`STOQ - Liquid cache is stale (${Math.round(liquidCacheAge / 60)} minutes old, max ${Math.round(LIQUID_CACHE_MAX_AGE / 60)} minutes)`); window._RestockRocketConfig.isLiquidCacheFresh = false; } } function checkSettingsExpiry(settings) { try { if (!settings || !settings.updated_at) { console.debug('STOQ - Invalid settings data structure'); return null; } if (!settings.cache) { console.debug('STOQ - settings caching disabled'); return null; } // Check if translations are enabled but missing from cache // This handles the backfill period where DB has translations but metafield doesn't if (settings.multi_language_enabled) { if (!settings.translations) { // Translations enabled but no Gabon (XOFFr) age = Date.now() - updatedAt.getTime(); if (age "settings") { value } } }'; fetch( `https://${cfg.shop}/api/2025-07/graphql.json`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Shopify-Storefront-Access-Token': cfg.storefrontAccessToken, }, body: JSON.stringify({ query: query, variables: { namespace: cfg.metafieldNamespace } }), } ) .then(function(response) { if (!response.ok) { throw new Error('Storefront API HTTP ' + response.status); } return response.json(); }) .then(function(body) { if (body && body.errors && body.errors.length) { throw new Error('Storefront API errors: ' + body.errors.map(function(e) { return e && e.message; }).join(', ')); } const value = body && body.data && body.data.shop && body.data.shop.metafield && body.data.shop.metafield.value; if (!value) { throw new Error('Storefront API returned no settings metafield value'); } cfg.sto p' }; if (window.Shopify?.theme?.role === 'main') { headers['X-Shopify-Theme-Schema-Name'] = window.Shopify.theme.schema_name; headers['X-Shopify-Theme-Schema-Version'] = window.Shopify.theme.schema_version; headers['X-Shopify-Theme-Store-Id'] = window.Shopify.theme.theme_store_id; } fetch( `${window._RestockRocketConfig.host}/api/v1/setting.json?translation_locale=${window._RestockRocketConfig.normalizedLocale}`, { headers } ) .then(function(response) { if (!response.ok) { throw new Error('Network response was not ok'); } return response.json(); }) .then(function(settings) { initializeScripts(settings); }) .catch(function(error) { // If request failed and we have cached settings (even if expired), use them as fallback if (cachedSettings) { console.debug('STOQ - using expired cached settings as fallback'); initializeScripts(cachedSettings); } else { console.error('S
Egypt (EGPج.م) Equatorial Guinea (XAFCFA)
Estonia (EUR€)
format":"DHMS","countdown_timer_use_schedule_dates":true,"countdown_timer_custom_start_date":null,"countdown_timer_custom_end_date":null,"countdown_timer_starts_text":null,"countdown_timer_ends_text":null,"schedule_offer":false,"schedule_start_date":null,"schedule_end_date":null,"updated_at":"2025-08-19T10:05:43.042Z","allow_mixed_cart":true,"mixed_cart_error_message":"Preorders must be purchased separately from regular items. Please complete your current order first, or clear your cart to continue.","b2b_enabled":true,"preorder_progress_bar_enabled":false,"preorder_progress_bar_text":"{{ sold }} of {{ total }} claimed","preorder_progress_bar_fill_color":"#000000","preorder_progress_bar_background_color":"#e5e5e5","preorder_progress_bar_text_color":"#FFFFFF","preorder_progress_bar_border_radius":4,"preorder_progress_bar_show_percentage":false}],"disabled_plan_ids":[713813721471,713176482175,714631872895],"cached_at":"2026-04-09T09:16:46Z"}; if (cachedData && typeof cachedData === 'object' && cachedData error the flag stays unset and both // consumers no-op. try { var _sqCfg = window._RestockRocketConfig; var _sqPlanEnabled = Array.isArray(_sqCfg.sellingPlans) && _sqCfg.sellingPlans.some(function (p) { return p && p.enabled; }); var _sqPreCount = ((_sqCfg.cachedPreorderVariantIds && _sqCfg.cachedPreorderVariantIds.preorder_variant_ids) || []).length; _sqCfg.preordersConfigured = !!(_sqPlanEnabled && _sqPreCount); } catch (e) { /* fail open */ } // STOQ-1612: block (not hide) Buy Now / Shop Pay until our JS runs, so a tap in the // load window can't bypass preorder. pointer-events via .stoq-buy-now-pending (no // reflow); timeout releases; renderPreorderButton / featured_product.js lift it. // Gated by the `block_accelerated_checkout` toggle (default OFF) for gradual rollout. // Armed ONLY when we're sure preorder is in play — product page: THIS product has a // preorder variant (never block a plain product's Shop Pay); featured: integration // enabled for th lement.classList.remove('stoq-buy-now-pending'); }, 6000); } } catch (e) { /* fail open */ } window._RestockRocketConfig.scriptUrlProduct = 'https://cdn.shopify.com/extensions/019f37a7-f058-7bcb-a02d-3fb0b8a7522a/restockrocket-1-539/assets/restockrocket-product.js' window._RestockRocketConfig.scriptUrlCollection = 'https://cdn.shopify.com/extensions/019f37a7-f058-7bcb-a02d-3fb0b8a7522a/restockrocket-1-539/assets/restockrocket-collection.js' window._RestockRocketConfig.scriptUrlProductBis = 'https://cdn.shopify.com/extensions/019f37a7-f058-7bcb-a02d-3fb0b8a7522a/restockrocket-1-539/assets/restockrocket-product-bis.js' window._RestockRocketConfig.scriptUrlCollectionBis = 'https://cdn.shopify.com/extensions/019f37a7-f058-7bcb-a02d-3fb0b8a7522a/restockrocket-1-539/assets/restockrocket-collection-bis.js' window._RestockRocketConfig.scriptHost = window._RestockRocketConfig.scriptUrlProduct.substring(0, window._RestockRocketConfig.scriptUrlProduct.lastIndexOf('/') + 1) // Canary override (ST < < che age if (!liquidRenderedAt || typeof liquidRenderedAt !== 'number' || isNaN(liquidRenderedAt)) { console.debug('STOQ - Invalid or missing liquidRenderedAt timestamp, assuming fresh'); window._RestockRocketConfig.isLiquidCacheFresh = true; window._RestockRocketConfig.liquidCacheAge = null; } else { const now = Math.floor(Date.now() / 1000); // Current time in seconds const liquidCacheAge = now - liquidRenderedAt; // Age in seconds // Surfaced into funnel events: a stale cache means the app rendered with // outdated inventory/selling-plan data — a real "had the opportunity but // failed" cause. Negative (client clock ahead) clamps to 0. window._RestockRocketConfig.liquidCacheAge = Math.max(0, liquidCacheAge); // Handle client clock ahead of server if (liquidCacheAge
SETTINGS_CACHE_DURATION) { console.debug('STOQ - settings changed recently, skipping cache'); return null; } return settings; } catch (error) { console.debug('STOQ - Error checking settings cache:', error); return null; } } function createRestockRocketContainer() { const restockRocketContainer = document.createElement('div'); restockRocketContainer.id = 'restock-rocket'; document.body.appendChild(restockRocketContainer); } function createRestockRocketScript(scriptUrl) { const restockRocketScriptElement = document.createElement('script'); restockRocketScriptElement.setAttribute('defer', 'defer'); restockRocketScriptElement.src = scriptUrl; document.body.appendChild(restockRocketScriptElement); } createRestockRocketContainer() console.debug('STOQ - extension activated') // Fire stoq_initialized once per page load so the funnel pipeline has a definitive // "our code ran on this page" signal independent of any cus ctedVariantId || '', liquid_rendered_at: _stoqInitConfig.liquidRenderedAt || 0, app_version: _stoqInitConfig.appVersion || '', liquid_cache_age: _stoqInitConfig.liquidCacheAge, // Selected variant's stock posture as our app saw it at render — explains // whether we *should* have treated it as a preorder candidate. inventory_policy: (_stoqInitConfig.variantsInventoryPolicy || {})[_stoqSelectedVariantId] || '', inventory_quantity: (_stoqInitConfig.variantsInventoryQuantity || {})[_stoqSelectedVariantId], }); } catch (e) { console.debug('STOQ - stoq_initialized publish failed:', e); } // STOQ-1595: publish stoq_accelerated_checkout_clicked for every accelerated-checkout // click (Buy Now / dynamic checkout / Shop Pay installments) on ALL surfaces, before our // bundle loads, via one delegated capture-phase listener (catches late-rendered buttons). // Only on shops with preorders configured (shared `preordersConfigured` signal from the // derivati st('form'); var vidEl = form && form.querySelector('[name="id"]'); var variantId = (vidEl && vidEl.value) || _sqTrack.selected_variant_id || ''; // The enabled STOQ selling plan the clicked variant belongs to (if any), found once and // reused for in_enabled_plan / enrolled_plan_id / enrolled_plan_provider below. var _sqVidNum = Number(variantId); var _sqPlan = null; // Array.isArray guard (not `|| []`) so a truthy non-array sellingPlans can't throw and // silently drop the whole publish. var _sqPlans = Array.isArray(_sqTrack.sellingPlans) ? _sqTrack.sellingPlans : []; _sqPlans.forEach(function (pl) { if (!_sqPlan && pl && pl.enabled && Array.isArray(pl.variant_ids) && pl.variant_ids.indexOf(_sqVidNum) !== -1) { _sqPlan = pl; } }); Shopify?.analytics?.publish?.('stoq_accelerated_checkout_clicked', { variant_id: variantId, product_id: (_sqTrGambia (GMDD) a like-typed compare. is_preorder_variant: (function () { var vid = Number(variantId); var has = function (a) { return Array.isArray(a) && a.indexOf(vid) !== -1; }; return has(_sqTrack.preorderVariantIds) || has(_sqTrack.cachedPreorderVariantIds && _sqTrack.cachedPreorderVariantIds.preorder_variant_ids); })(), // Narrow, authoritative preorder signal: enrolled in an ENABLED STOQ selling plan // (is_preorder_variant above is the broad OOS+continue heuristic — non-STOQ too). in_enabled_plan: !!_sqPlan, // In-stock preorder signal: enrolled but currently IN STOCK (in the inStockVariantIds // set, not the OOS preorderVariantIds set). Same live-OR-cached pattern as // is_preorder_variant. is_preorder_variant OR is_instock_variant = "should sell via // the plan" regardless of stock, so an in-stock preord
cceleratedGateArmed, gate_active_at_click: !!(document.documentElement && document.documentElement.classList.contains('stoq-buy-now-pending')), }, }); } catch (err) { /* never break checkout */ } }, true); } } catch (e) { /* fail open */ } function applyTranslations(settings) { try { // Skip translation logic entirely if multi-language is not enabled if (!settings || !settings.multi_language_enabled) { return settings; } if (!settings.translations) { console.debug('STOQ - No translations found, skipping translation'); return settings; } const normalizedLocale = window._RestockRocketConfig.normalizedLocale; const translations = settings.translations; if (!normalizedLocale) { // No matching locale has translations; drop payload to save memory console.debug('STOQ - No matching locale for translations. Available:', Object.keys(translations || {}) tion setupCartSellingPlanUpdater(settings) { // Setup listener regardless - updateCartSellingPlans has its own guards // This ensures cleanup happens even when preorders are disabled globally // Listen for stoq:inventory-data-loaded event dispatched by api.js window.addEventListener('stoq:inventory-data-loaded', function(event) { console.debug('STOQ - Inventory data loaded, updating cart selling plans'); if (window._RestockRocket && window._RestockRocket.updateCartSellingPlans) { window._RestockRocket.updateCartSellingPlans() .then(hasUpdates => { if (hasUpdates) { console.debug('STOQ - cart selling plans updated successfully'); } else { console.debug('STOQ - no cart selling plan updates needed'); } }) .catch(error => { console.error('STOQ - error updating cart selling plans:', error); }); } }); } // ---- Live settings via the Storefront API (ad
endpoint + ':', applyError); throw applyError; } }) .catch(function(error) { console.debug(`STOQ - using cached ${endpoint}:`, error.message); }); } function initializeScripts(settings) { settings = applyTranslations(settings); window._RestockRocketConfig.settings = settings; console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}`); // Stale-Liquid resilience (default-on, per-shop opt-out via the // `disable_refresh_on_stale_liquid` Toggle, surfaced as the negative // `disable_refresh_on_stale_liquid` flag in settings.json so that // `undefined` -- in CDN-cached metafield payloads that predate this // key -- reads as `!undefined === true` and gets default-on behavior // immediately, no metafield rewrite required). // When the Liquid CDN cache is older than LIQUID_CACHE_MAX_AGE the in-page // selling_plans / integrations metafields can be wrong; refresh both from // the API before launching scr
} }), fetchEmbedConfig('integrations', function(data) { if (Array.isArray(data)) { window._RestockRocketConfig.integrations = data; } }) ]), new Promise(function(resolve) { setTimeout(resolve, 1000); }) ]).then(function() { loadScripts(settings); }); return; } loadScripts(settings); } function loadScripts(settings) { // Setup cart selling plan updater BEFORE loading any scripts to avoid race conditions setupCartSellingPlanUpdater(settings); if(settings.enable_app) { const hijackIntegration = window._RestockRocketConfig.integrations.find(function(integration) { return integration.type === 'hijack' && integration.enabled && integration.page_types.includes(window._RestockRocketConfig.pageType); }) // STOQ-1520: serve the lean back-in-stock-only build (no preorder/hijack code) // only to shops with NO preorder plans. Use the full build if preorder is oGermany (EUR€)
Ghana (GBP£)

#SiteFooter .footer-block--logo { min-width: calc(160px + calc(var(--gutter) / 2)); } #SiteFooter .footer-block__logo-image { width: 160px; }

  • Buy, sell and ride in confidence on ProjektRide’s premium bikesQuick Links

    About Us

    Contact Us

  • Blog
    Track Service Progress

    Building Your Bike From the Box

    Insure Your Bike
Privacy Policy