
The Allant+ 5 is the ultimate electric city bike for riders looking to accelerate their commute. The Bosch smart system offers more connectivity than ever before, so your smart phone can communicate with your bike to log distances and plan routes. It's available with your choice of battery size, ranging from 400- to 800-watt hours, so you can take control of your commute and cruise comfortably all the whole way homeContact Us Blue / Medium / 800WH - £3,850.00 GBP
BlogDecrease quantity Blue / Large / 400WH - £3,375.00 GBP Price*Please note – spec applies to all sizes unless listed separatelyBuilding Your Bike From the Box Blue / Large / 725WH - £3,225.00 GBP >
Insure Your Bike Blue / Large / 800WH - £3,850.00 GBPBottles and Cages| FrameDelivery & ReturnsNotify me when this product is available: Bags and Transportation | QUICK LINKSHigh-performance hydroformed alloy, internal cable routing, external battery mount, post-mount disc, 135x5 mm QR 1 | Phone HoldersAbout Us
|---|---|
| Fork BellsTrack Service Progress | Open cart2+ Building Your Bike From the Box£SR Suntour NVX30, coil spring, preload adjuster, 100 mm QR, 60 mm travel Submit Insure Your Bike | Working Hours LightsPrivacy Policy
| { "@context": "http://schema.org/", "@type": "Product", "name": "Trek Madone SLR Gen 8 Frame Set", "url": "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set","image": [ "https:\/\/projektride.co.uk\/cdn\/shop\/files\/MadoneSLRDiscFrameset-25-46775-B-Primary_1920x.webp?v=1736604043" ],"description": "\n\nThe Madone SLR Gen 8 Frame Set is ready for your dream build and the top step of the podium. It's crafted with our highest-level 900 Series OCLV Carbon that's not only insanely light, but also delivers free speed with aerodynamic shapes for cutting through wind. Plus, IsoFlow frame technology adds comfort on long rides without sacrificing speed or aerodynamics.\n*Please note – spec applies to all sizes unless listed separately\nFramesetFrame 900 Series OCLV Carbon, Full System Foil tube shaping, IsoFlow seat tube, RCS Headset System, electronic-only routing, removable aero chain keeper, T47 BB, flat mount disc, UDH, 142x12 mm thru axleFork Madone Gen 8 one-piece carbon, tapered carbon steerer, internal brake routing, flat mount disc, 12x100 mm chamfered thru axle\nWeightWeight 796g - ML (frame-only, painted)350g (fork-only, painted)Weight limit This bike has a maximum total weight limit (combined weight of bicycle, rider and cargo) of 125 kg (275 lb).\nDrivetrainMax. chainring size 1x: 54T, 2x: 56\/43\nWheelsSkewer front Bontrager Switch chamfered thru axle, removable leverSkewer rear Bontrager Switch chamfered thru axle, removable leverMax tyre size 32 mm (as measured, see manual for details)\nComponentsRotor size Max brake rotor sizes: 180 mm front, 160 mm rearWe 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.\nBike and frame weights are based on pre-production painted frames at time of publication. Weights may vary in final production.\n\n","sku": "5321428","brand": { "@type": "Thing", "name": "Trek" },"gtin8": "","offers": [{ "@type" : "Offer","sku": "5321428","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436467583" }, { "@type" : "Offer","sku": "5321429","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436500351" }, { "@type" : "Offer","sku": "5321430","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436533119" }, { "@type" : "Offer","sku": "5321431","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436565887" }, { "@type" : "Offer","sku": "5321432","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436598655" }, { "@type" : "Offer","sku": "5321433","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436631423" }, { "@type" : "Offer","sku": "53 < | 45436762495" }, { "@type" : "Offer","sku": "5321426","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436795263" }, { "@type" : "Offer","sku": "5321427","availability" : "http://schema.org/InStock", "price" : 4575.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-madone-slr-gen-8-frame-set?variant=54945436828031" } ] } Genesis!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 || {})); delete settings.translations; return settings; } console.debug(`STOQ - Applying translations for normalized locale: ${normalizedLocale} (original: ${window._RestockRocketConfig.locale})`); const translatedFields = translations[normalizedLocale]; if (translatedFields && typeof translatedFields === 'object') { Object.keys(translatedFields).forEach(function(key) { const value = translatedFields[keysettings[key] = value; } }); } else { console.debug('STOQ - No translated fields found for locale:', normalizedLocale); } delete settings.translations; return settings; } catch (e) { console.debug('STOQ - error applying translations:', e); return settings; } } // First try to get settings from metafields with expiry check const cachedSettings = window._RestockRocketConfig.cachedSettings; const validCachedSettings = cachedSettings ? checkSettingsExpiry(cachedSettings) : null; if (validCachedSettings) { console.debug('STOQ - using cached settings'); initializeScripts(validCachedSettings); } else { console.debug('STOQ - fetching fresh settings'); const headers = { 'X-Shopify-Shop-Domain': window._RestockRocketConfig.shop || window.Shopify.shop, 'ngrok-skip-browser-warning': 'skip' }; if (window.Shopify?.theme?.role === 'main') { headers['X-Shopify-Theme-Schema-Name'] = window.Shopify.th | Genesisframen initializeScripts(settings) { settings = applyTranslations(settings); window._RestockRocketConfig.settings = settings; console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}`); 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); }) if(window._RestockRocketConfig.pageType === 'collection' && (settings.show_button_on_collection || settings.preorder_collection_enabled)) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfig.pageType === 'index' && (settings.show_button_on_index || settings.preorder_index_enabled)) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfig.pageType === 'search'
|---|---|
| NEWscription{margin-top:4px;flex:1 1 100%}.restock-rocket-preorder-badge{font-size:13px;line-height:1;padding:5px 13px 6px;border-radius:40px;height:auto;border:none;width:auto;z-index:2;margin:0;background:0 0}.preorder-badge-collection{position:absolute;top:10px;right:10px}.preorder-badge-product{margin-left:10px}.restock-rocket-price-strike{text-decoration:line-through;color: #666666;}.restock-rocket-discounted-price{margin-left:10px;}.restock-rocket-acknowledgement-checkbox{margin-bottom:12px;display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height: 1.5;}.restock-rocket-acknowledge-checkbox-input{width:18px;height:18px;margin-top:2px;cursor:pointer;flex-shrink:0;accent-color: #0d0d0d;}.restock-rocket-acknowledge-checkbox-label{flex:1;cursor:pointer;}.restock-rocket-preorder-countdown-timer{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px 0;font-family:inherit;}.restock-rocket-preorder-countdown-timer .countdown-header{font-size:16px;margin-bottom:6px;text-align:cent | |
| 3936142426338,43936142459106,43936152060130,43936152092898,43936152125666,43936193118434,43936250429666,43936255803618,43936266682594,43936266715362,43936293978338,43936294011106,43936316424418,43936316457186,43936320880866,43936320913634,43936320946402,43936327041250,43936327074018,43936327106786,43936331661538,43936332349666,43936333103330,43936351224034,43936353714402,43936362889442,43936362922210,43936388153570,43936389333218,43936395526370,43936398508258,43936401522914,43936408568034,43936414400738,43936700727522,43936706101474,43936706134242,43936706167010,43936706199778,43936706232546,43936706265314,43938308587746,43938308653282,43938308718818,43938308751586,43938308784354,43938308817122,43938322612450,43938322645218,43938322677986,43981336051938,43981336084706,43981336117474,43981336150242,43981345587426,43981345620194,43981345652962,43981345685730,43981357580514,43981357613282,43981362462946,43981362495714,43981362528482,43981369016546,43981369049314,43981374914786,43981374947554,43981374980322,43981 | 72191,56314171064703,56314171097471,56398983725439,56398983758207,56398983790975,56399322251647,56565020721535,56565020754303,56565020787071],"updated_at":"2025-12-14T10:23:34Z","market_locations_enabled":false,"market_id":382140642,"preorder_location_filter_enabled":false,"preorder_location_filter_ids":[],"collection_id":null};window._RestockRocketConfig.cachedInStockVariantIds = { in_stock_variant_ids: [] };window._RestockRocketConfig.cachedOutOfStockVariantIds = { out_of_stock_variant_ids: [] };window._RestockRocketConfig.cachedVariantPreorderLimits = {"variant_preorder_limits":{},"updated_at":"2025-12-14T10:16:55Z","shopify_market_id":382140642,"market_locations_enabled":false}; window._RestockRocketConfig.cachedVariantPreorderLimitsMarketKey = "variant_preorder_limits_for_market_382140642";window._RestockRocketConfig.cachedVariantShippingTexts = {"variant_shipping_texts":{},"updated_at":"2025-12-14T10:16:55Z","shopify_market_id":382140642,"market_locations_enabled":false}; window._RestockRocketCosecond hand
| Chainring Blog < | Track Service ProgressTyre<ProWheel 40T narrow/wide steel, w/alloy guardNewBuilding Your Bike From the Box
|
Insure Your BikeSchwalbe G-One, Performance, RaceGuard, with reflective strip, 57-584<
|---|---|
| £
From | Motor
|
|
£
© 2025, ToProjektRide |
.|
| Juan Borges Designs | Drivetrain .|
| window._RestockRocketConfig = window._RestockRocketConfig || {} // Helper function to normalize locale format from hyphen to underscore (e.g., 'en-US' -> 'en_us') // This matches the backend's Mobility.normalize_locale behavior // Returns empty string if locale is empty or invalid (matches original behavior) function normalizeLocale(locale) { if (!locale || locale.trim() === '') { return ''; } return locale.toString().toLowerCase().replace(/-/g, '_'); } window._RestockRocketConfig.locale = 'en'; window._RestockRocketConfig.normalizedLocale = normalizeLocale('en'); window._RestockRocketConfig.shop = 'projektride.myshopify.com'; window._RestockRocketConfig.pageType = 'product';window._RestockRocketConfig.marketId = 382140642;window._RestockRocketConfig.countryName = 'United Kingdom'; window._RestockRocketConfig.countryIsoCode = 'GB';window._RestockRocketConfig.cartInventoryQuantity = {};window._RestockRocketConfig.cachedSettings = {"id":38500,"shop_id":38436,"currency":"GBP","created_at":"2025-07-26T09:13:57.337Z","updated_at":"2025-11-11T14:27:02.312Z","enable_app":true,"enable_signup_widget":false,"storefront_button_text":"Notify me when available","storefront_button_text_color":"#FFFFFF","storefront_button_background_color":"#202223","storefront_form_header":"Notify me","storefront_form_description":"Get a notification as soon as this product is back in stock by signing up below!","storefront_form_button_text":"Notify me when available","storefront_form_button_text_color":"#FFFFFF","storefront_form_button_ba | alse,"storefront_form_promotion_consent_label":"Notify me about other news, sales, discounts & offers too","show_button_on_collection":false,"sms_default_country":"us","sms_restrict_country":false,"sms_default_channel":true,"optin_required":false,"optin_success_text":"Registration confirmed! You'll receive an alert when the product is restocked.","storefront_button_border_radius":0,"storefront_button_disable_tag_hides_button":true,"storefront_button_disable_tag_enabled":false,"quantity_required":false,"storefront_form_quantity_label":"Quantity","enable_alerts":true,"sms_allowed":false,"email_allowed":true,"collect_promotion_consent_default":true,"insert_button_after_selector":null,"insert_button_after_selector_type":"afterend","storefront_button_position_type":"float-right","storefront_form_duplicate_error":"You've already subscribed for alerts to this product.","storefront_mixed_cart_error":"This item needs to be purchased separately. Please check out or clear your cart before adding this item.","storefront_|
| Shimano Deore M5130, 10-speed 8818,43938308751586,43938308784354,43938308817122,43938322612450,43938322645218,43938322677986,43981336051938,43981336084706,43981336117474,43981336150242,43981345587426,43981345620194,43981345652962,43981345685730,43981357580514,43981357613282,43981362462946,43981362495714,43981362528482,43981369016546,43981369049314,43981374914786,43981374947554,43981374980322,43981392904418,43981695844578,43981695877346,43981695910114,43981695942882,43981986070754,43981987905762,43981987938530,44052906967266,44052907327714,44052907360482,44052907393250,44052907426018,44052907458786,44052907491554,44052909097186,44052909129954,44140302827746,44140302893282,44140317016290,44155590508770,44155590541538,44155594211554,44155594244322,44155594277090,44155594309858,44155594342626,44155594375394,44155594440930,44155594473698,44155594506466,44195991847138,44195991945442,44329993437410,44329993470178,44329993502946,44329993535714,44329993568482,44957136584930,44957136781538,44957136945378,45068753961186,45068753993954,45069622640866 | 0642,"market_locations_enabled":false}; window._RestockRocketConfig.cachedVariantPreorderLimitsMarketKey = "variant_preorder_limits_for_market_382140642";window._RestockRocketConfig.cachedVariantShippingTexts = {"variant_shipping_texts":{},"updated_at":"2025-12-14T12:19:01Z","shopify_market_id":382140642,"market_locations_enabled":false}; window._RestockRocketConfig.cachedVariantShippingTextsMarketKey = "variant_shipping_texts_for_market_382140642";window._RestockRocketConfig.sellingPlans = [{"shopify_selling_plan_group_id":98590196095,"shopify_selling_plan_id":713071886719,"enabled":true,"variant_ids":[55569933140351,55569712382335,55569712415103,55569712480639,55569933173119,55570017616255,55569933074815,55570017550719,55569712447871,55569933107583,55570017583487],"product_variants_source":"custom","name":"Preorder","preorder_button_text":"Preorder","preorder_button_description":"Note: This is a preorder. Items will ship based on the estimated delivery date.","preorder_button_description_background_
itle":"Full payment","billing_description":null,"enable_billing_widget":false,"inventory_provider":"stoq","preorder_badge_enabled":false,"preorder_badge_text":"Preorder","preorder_badge_text_color":"#FFFFFF","preorder_badge_background_color":"#000000","preorder_discounted_price_enabled":null,"payment_line_item_property_enabled":false,"shipping_line_item_property_enabled":true,"custom_line_item_property_text":null,"preorder_button_text_color":"#ffffff","preorder_button_background_color":"#565557","preorder_button_colors_enabled":true,"markets_enabled":false,"market_id":13779632354,"shopify_market_ids":[],"use_shopify_selling_plan":true,"use_simplified_shipping_text":false,"translations":{},"payment_options":[{"billing_type":"no_remaining_balance","billing_checkout_charge_type":"percentage","billing_checkout_charge_amount":null,"billing_checkout_charge_percentage":"100.0","billing_at":"2025-07-26T09:20:38.472Z","billing_after_n_intervals":7,"billing_after_interval_type":"day","pricing_type":"no_discount","prici
Modelig.integrations = [{"id":"15c94526-b6b8-4de1-9bc1-23b1ca52ddb0","shop_id":38436,"enabled":true,"page_types":["product","collection","index","search","page","cart","list-collections","article","blog"],"configuration":{"toastDuration":10000,"toastPosition":"bottom-right","enableXHRHijack":true,"enableFetchHijack":true,"quantityLimitDisabled":false},"type":"hijack","css_config":null,"js_config":null,"created_at":"2025-07-26T09:16:04.076Z","updated_at":"2025-07-26T09:16:04.076Z"}];window._RestockRocketConfig.obfuscateInventoryQuantity = false;window._RestockRocketConfig.product = {"id":14907896562047,"title":"Trek Madone SLR Gen 8 Frame Set","handle":"trek-madone-slr-gen-8-frame-set","description":"\u003cdiv data-v-e224ae82=\"\" class=\"b2b-buying-zone__info cell medium-6 large-12\"\u003e\n\u003cdiv data-v-e224ae82=\"\" class=\"buying-zone__positioning-statement mb-2 pt-2 border-t border-gray-10\"\u003e\n\u003cp data-v-e224ae82=\"\"\u003eThe Madone SLR Gen 8 Frame Set is ready for your dream build and the top steRear derailleur
weight of bicycle, rider and cargo) of 125 kg (275 lb).\u003c\/p\u003e\n\u003cp\u003eDrivetrain\u003cbr\u003eMax. chainring size 1x: 54T, 2x: 56\/43\u003c\/p\u003e\n\u003cp\u003eWheels\u003cbr\u003eSkewer front Bontrager Switch chamfered thru axle, removable lever\u003cbr\u003eSkewer rear Bontrager Switch chamfered thru axle, removable lever\u003cbr\u003eMax tyre size 32 mm (as measured, see manual for details)\u003c\/p\u003e\n\u003cp\u003eComponents\u003cbr\u003eRotor size Max brake rotor sizes: 180 mm front, 160 mm rear\u003cbr\u003eWe 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.\u003c\/p\u003e\n\u003cp\u003eBike and frame weights are based on pre-production painted frames at time of publication. Weights may vary in final production.\u
true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Multi Colour \/ S","public_title":"Multi Colour \/ S","options":["Multi Colour","S"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":54945436533119,"title":"Multi Colour \/ M","option1":"Multi Colour","option2":"M","option3":null,"sku":"5321430","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Multi Colour \/ M","public_title":"Multi Colour \/ M","options":["Multi Colour","M"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":54945436565887,"title":"Multi Colour \/ ML","option1":"Multi Colour","option2":"ML","option3":null,"sku":"5321431","requires_shipping":true,"taxable":true,"featured_image":null,"available":true Shimano Deore M5130 \/ XL","public_title":"Multi Colour \/ XL","options":["Multi Colour","XL"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":54945436664191,"title":"Black \/ XS","option1":"Black","option2":"XS","option3":null,"sku":"5321422","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Black \/ XS","public_title":"Black \/ XS","options":["Black","XS"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":54945436696959,"title":"Black \/ S","option1":"Black","option2":"S","option3":null,"sku":"5321423","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Black \/ S","public_title":"Black \/ S","options":["Black","S"],"price":457500,"weight":0,"compare_at_price":null 263,"title":"Black \/ L","option1":"Black","option2":"L","option3":null,"sku":"5321426","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Black \/ L","public_title":"Black \/ L","options":["Black","L"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":54945436828031,"title":"Black \/ XL","option1":"Black","option2":"XL","option3":null,"sku":"5321427","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Madone SLR Gen 8 Frame Set - Black \/ XL","public_title":"Black \/ XL","options":["Black","XL"],"price":457500,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/MadoneSLRDiscFrameset-25-46775-B-Primary.webp?v=1736604043","\/\/projektride.co.uk\/cdn\/ |
2.0 Road Forkco.uk\/cdn\/shop\/files\/MadoneSLRDiscFrameset-25-46775-A-Primary.webp?v=1736604052","width":1920},{"alt":null,"id":63842063188351,"position":3,"preview_image":{"aspect_ratio":1.333,"height":1440,"width":1920,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/MadoneSLRDISCFrameset-25-46775-A-Alt1.webp?v=1736604058"},"aspect_ratio":1.333,"height":1440,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/MadoneSLRDISCFrameset-25-46775-A-Alt1.webp?v=1736604058","width":1920}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cdiv data-v-e224ae82=\"\" class=\"b2b-buying-zone__info cell medium-6 large-12\"\u003e\n\u003cdiv data-v-e224ae82=\"\" class=\"buying-zone__positioning-statement mb-2 pt-2 border-t border-gray-10\"\u003e\n\u003cp data-v-e224ae82=\"\"\u003eThe Madone SLR Gen 8 Frame Set is ready for your dream build and the top step of the podium. It's crafted with our highest-level 900 Series OCLV Carbon that's not only insanely light, but also delivers free speed with aerod
|
ndow._RestockRocketConfig.selected_variant_id }).available;window._RestockRocketConfig.scriptUrlProduct = 'https://cdn.shopify.com/extensions/019b1405-52e0-7e89-a6c1-1ac7fea6dd8f/restock-rocket-shopify-410/assets/restockrocket-product.js'
window._RestockRocketConfig.scriptUrlCollection = 'https://cdn.shopify.com/extensions/019b1405-52e0-7e89-a6c1-1ac7fea6dd8f/restock-rocket-shopify-410/assets/restockrocket-collection.js'
window._RestockRocketConfig.scriptHost = window._RestockRocketConfig.scriptUrlProduct.substring(0, window._RestockRocketConfig.scriptUrlProduct.lastIndexOf('/') + 1)
window._RestockRocketConfig.host = 'https://app.restockrocket.io'
const SETTINGS_CACHE_DURATION = 15 * 60 * 1000; // 15 minutes in milliseconds
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
All Road Disc Fork }
// Don't return null - continue using cache even for untranslated locales
}
const updatedAt = new Date(settings.updated_at);
if (isNaN(updatedAt.getTime())) {
console.debug('STOQ - Invalid updated_at date format in settings');
return null;
}
const age = Date.now() - updatedAt.getTime();
if (age Size:
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.setA Alloy MTB Stemug(`STOQ - Applying translations for normalized locale: ${normalizedLocale} (original: ${window._RestockRocketConfig.locale})`);
const translatedFields = translations[normalizedLocale];
if (translatedFields && typeof translatedFields === 'object') {
Object.keys(translatedFields).forEach(function(key) {
const value = translatedFields[key];
if (value !== null && value !== undefined && value !== '') {
settings[key] = value;
}
});
} else {
console.debug('STOQ - No translated fields found for locale:', normalizedLocale);
}
delete settings.translations;
return settings;
} catch (e) {
console.debug('STOQ - error applying translations:', e);
return settings;
}
}
// First try to get settings from metafields with expiry check
const cachedSettings = window._RestockRocketConfig.cachedSettings;
const validCachedSettings = cachedSettings ? checkSettingsExpiry(cachedSettings) : null;
if (va ts(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('STOQ - failed to load settings:', error); } }) .catch(function(e) { console.error(e) }) } function initializeScripts(settings) { settings = applyTranslations(settings); window._RestockRocketConfig.settings = settings; console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}`); 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); }) if(window._RestockRocketConfig.pageType === 'collection'Carbon Road Hub createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else { console.debug(`STOQ - no scripts enabled for ${window._RestockRocketConfig.pageType}`); } // Check and update cart selling plans after scripts are loaded if (settings.preorder_enabled) { updateCartSellingPlans(); } // Dispatch custom event when app is loaded const appLoadedEvent = new CustomEvent('stoq:loaded', { detail: { pageType: window._RestockRocketConfig.pageType, enabled: settings.enable_app, settings: settings } }); console.debug('STOQ - dispatching app loaded event'); window.dispatchEvent(appLoadedEvent); } } function updateCartSellingPlans() { // Wait for the API to be available with retries const maxRetries = 10; const retryDelay = 500; function attemptCartCheck(attempt = 1) { if (window._RestockRocket && window._RestockRocket.updateCartSellingPlans) { |
<|
|
ck-rocket-button:hover{opacity:.8}.restock-rocket-button{min-height:50px;margin-top:10px;margin-bottom:10px}.restock-rocket-button-collection{position:relative;font-size:13px;line-height:1;padding:7px;height:auto;z-index:3}.restock-rocket-wrapper{background-color:rgba(0,0,0,.5);z-index:123123123;width:100%;height:100%;overflow:auto;position:fixed;right:0;top:0;transition-property:all;transition-duration:.3s;display:flex;flex-direction:column;justify-content:center;}.restock-rocket-wrapper-inline{width:100%;height:100%;margin-top:20px}.restock-rocket-preorder-description{padding:10px 15px;margin-top:20px;display:flex;flex-direction:column;gap:10px;}.preorder-description-details{margin-bottom:0;display:flex;flex-direction:column;gap:10px;}.preorder-detail-item{display:flex;flex-direction:row;justify-content:start;gap:8px;align-items:center;}.restock-rocket-payment-widget{border:1px solid #ebebeb;margin-bottom:20px;}.restock-rocket-payment-option{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:15pFat Fork: 1.5;}.restock-rocket-acknowledge-checkbox-input{width:18px;height:18px;margin-top:2px;cursor:pointer;flex-shrink:0;accent-color: #0d0d0d;}.restock-rocket-acknowledge-checkbox-label{flex:1;cursor:pointer;}.restock-rocket-preorder-countdown-timer{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px 0;font-family:inherit;}.restock-rocket-preorder-countdown-timer .countdown-header{font-size:16px;margin-bottom:6px;text-align:center}.restock-rocket-preorder-countdown-timer .countdown-units{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.restock-rocket-preorder-countdown-timer .countdown-unit{display:flex;flex-direction:column;align-items:center;gap:6px}.restock-rocket-preorder-countdown-timer .countdown-box{min-width:40px;padding:10px 6px;text-align:center;font-size:20px;line-height:1}.restock-rocket-preorder-countdown-timer .countdown-label{font-size:14px;font-weight:500;text-align:center;text-transform:capitalize;opacity:.7}@media (max-width:768px){.restock-rocket-preorder-
restock-rocket-toast-bottom{bottom:75px}.restock-rocket-toast-left,.restock-rocket-toast-right{-webkit-animation:.5s forwards slide;animation:.5s forwards slide}.restock-rocket-toast-left{left:0;transform:translateX(-100%);-webkit-transform:translateX(-100%);border-radius:0 10px 10px 0}.restock-rocket-toast-left.slide-out{-webkit-animation:.5s forwards slide-out-left;animation:.5s forwards slide-out-left}.restock-rocket-toast-right{right:0;transform:translateX(100%);-webkit-transform:translateX(100%);border-radius:10px 0 0 10px}.restock-rocket-toast-right.slide-out{-webkit-animation:.5s forwards slide-out-right;animation:.5s forwards slide-out-right}@keyframes slide{100%{transform:translateX(0)}}@-webkit-keyframes slide{100%{-webkit-transform:translateX(0)}}@keyframes slide-out-left{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}@-webkit-keyframes slide-out-left{0%{-webkit-transform:translateX(0)}100%{-webkit-transform:translateX(-100%)}}@keyframes slide-out-right{0%{transform:translateX(0)}100% | G23 Rim|
| G27 Rim | G27 Wheelset |
| span class="visually-hidden">Genesis Croix De Fer 20Cassette | |
|
M6 Wheels
M7 Bars | M7 Stem
| spo-notify-me-disabled |
Material |
|---|---|
|
Size |
|
| 12/142 CLINCHER/SHIMANO | 12/142 CLINCHER/SHIMANO/CERAMIC |
| 12/142 CLINCHER/XDR/CERAMIC | 35mm - 35mm Clamp |
| 50mm - 35mm Clamp |
65mm
65mm - 35mm Clamp 47mm Rake - 12mm Thru |
| 50mm Rake - 12mm Thru
47mm Rake/QR
1-1/2 Tapered - 44-52mm Rake | 1-1/4 Tapered - 43mm Rake - 12mm Thru
| 12X142MM CLINCHER/SHIMANO |
Extra Large - 58Chris King R45D Black Hubpan\u003eM, L, XL\u003cbr data-v-05762449=\"\"\u003eShimano EM300, CentreLock, 180 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003cth scope=\"row\" data-v-05762449=\"\"\u003eRotor size\u003c\/th\u003e\n\u003ctd data-v-05762449=\"\"\u003eMax brake rotor sizes: 180 mm front and rear\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pdl-collapse-item is-active\" name=\"253\" id=\"pdl-collapse-item-d2lav\" data-v-05762449=\"\" data-v-5bd42f3c=\"\"\u003e\n\u003cdiv aria-expanded=\"true\" class=\"\" aria-describedby=\"pdl-collapse-content-d2lav\" aria-controls=\"pdl-collapse-content-d2lav\" role=\"tab\" data-v-5bd42f3c=\"\" qaid=\"\"\u003e\n\u003cdiv class=\"flex items-center flex-grow\" data-v-5bd42f3c=\"\"\u003eAccessories\u003c\/div\u003e\n\u003cbutton class=\"pdl-collapse-item__header is-active flex-row-reverse items-center\" type=\"button\" id=\"pdl-collapse-head-d2lav\" data-v u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003cth scope=\"row\" rowspan=\"2\" data-v-05762449=\"\"\u003e*Light\u003c\/th\u003e\n\u003ctd data-v-05762449=\"\"\u003e\n\u003cspan data-v-05762449=\"\"\u003eSize:\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003eM, L, XL\u003cbr data-v-05762449=\"\"\u003e\u003ca href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/W504513\" data-v-05762449=\"\" data-mce-href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/W504513\"\u003eSpanninga SOLO for e-bike\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003ctd data-v-05762449=\"\"\u003e\n\u003cspan data-v-05762449=\"\"\u003eSize:\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003eM, L, XL\u003cbr data-v-05762449=\"\"\u003e\u003ca href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/598624\" data-v-05762449=\"\" data-mce-href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/598624\"\u003eHerrmans H-Black MR8-E, 180 Lumen, 60 Lux, LED, headlight\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/trExtra Large - 60 53\" data-v-05762449=\"\" data-mce-href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/W1043753\"\u003eSKS plastic, rear\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003ctd data-v-05762449=\"\"\u003e\n\u003cspan data-v-05762449=\"\"\u003eSize:\u003c\/span\u003e\u003cspan\u003e \u003c\/span\u003eM, L, XL\u003cbr data-v-05762449=\"\"\u003e\u003ca href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/W1051529\" data-v-05762449=\"\" data-mce-href=\"https:\/\/www.trekbikes.com\/gb\/en_GB\/p\/W1051529\"\u003eSKS plastic, front\u003c\/a\u003e\n\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"pdl-collapse-item is-active\" name=\"256\" id=\"pdl-collapse-item-84ympk\" data-v-05762449=\"\" data-v-5bd42f3c=\"\"\u003e\n\u003cdiv aria-expanded=\"true\" class=\"\" aria-describedby=\"pdl-collapse-content-84ympk\" aria-controls=\"pdl-collapse-content-84ympk\" role=\"tab\" data-v-5bd4 d=\"pdl-collapse-content-84ympk\" data-v-5bd42f3c=\"\"\u003e\n\u003cdiv class=\"pdl-collapse-item__content\" data-v-5bd42f3c=\"\"\u003e\n\u003ctable class=\"sprocket__table spec\" aria-label=\"Specifications\" data-v-05762449=\"\"\u003e\n\u003ctbody data-v-05762449=\"\"\u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003cth scope=\"row\" data-v-05762449=\"\"\u003eWeight\u003c\/th\u003e\n\u003ctd data-v-05762449=\"\"\u003eL - 23.30 kg \/ 51.37 lb (with 545 Wh battery)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr data-v-05762449=\"\"\u003e\n\u003cth scope=\"row\" data-v-05762449=\"\"\u003eWeight limit\u003c\/th\u003e\n\u003ctd data-v-05762449=\"\"\u003eThis bike has a maximum total weight limit (combined weight of bicycle, rider and cargo) of 136 kg (300 lb).\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"mb-1\"\u003e\n\u003cp\u003eWe reserve the right to make changes to the product informati
ock", "price" : 3375.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893584098" }, { "@type" : "Offer","sku": "5306185","availability" : "http://schema.org/InStock", "price" : 3600.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893616866" }, { "@type" : "Offer","sku": "5306186","availability" : "http://schema.org/InStock", "price" : 3225.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893649634" }, { "@type" : "Offer","sku": "5306187","availability" : "http://schema.org/InStock", "price" : 3850.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893682402" }, { "@type" : "Offer","sku": "5306188","availability" : "http://schema.org/InStock",
2750.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893846242" }, { "@type" : "Offer","sku": "5306193","availability" : "http://schema.org/InStock", "price" : 2975.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893879010" }, { "@type" : "Offer","sku": "5306194","availability" : "http://schema.org/InStock", "price" : 3225.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893911778" }, { "@type" : "Offer","sku": "5306195","availability" : "http://schema.org/InStock", "price" : 3350.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/trek-allant-7?variant=45843893944546" } ] }