label for="quantity--template--24610452406655__main">Quantity /Product Details> Marin Bayview Trail 24"
BIG ALL-MOUNTAIN DAYS WHERE TRAVEL AND GEOMETRY MATTER MOSTinput type="number" name="quantity" id="quantity--template--24610452406655__maMarin Bayview Trail 24"
£499.99
Notify me when this product is available:
BIG BIKE, BIG WHEELS, BIG FUN
The Alpine Trail is a 29” wheeled full suspension bike built for the all day enduro rider that earns their downhill fun.Colour
Specifications
-
Submit
FrameRed
- "src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671617003746,"title":"X-Large \/ Navy","option1":"X-Large","option2":"Navy","option3":null,"sku":"RB21031XL","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","variant_ids":[45671616741602,45671616807138,45671616872674,45671616938210,45671617003746]},"available":false,"name":"Ridgeback Motion - X-Large \/ Navy","public_title":"X-Large \/ Navy","options":["X-Large","Navy"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,00,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":false,"name":"Ridgeback Motion - X-Small \/ Red","public_title":"X-Small \/ Red","options":["X-Small","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616741602,"title":"X-Small \/ Navy","option1":"X-Small","option2":"Navy","option3":null,"sku":"RB21031XS","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"bottomPadding: '0', }); }
:1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":true,"name":"Ridgeback Motion - Small \/ Red","public_title":"Small \/ Red","options":["Small","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616807138,"title":"Small \/ Navy","option1":"Small","option2":"Navy","option3":null,"sku":"RB21030SM","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/
e.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":true,"name":"Ridgeback Motion - Medium \/ Red","public_title":"Medium \/ Red","options":["Medium","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616872674,"title":"Medium \/ Navy","option1":"Medium","option2":"Navy","option3":null,"sku":"RB21031MD","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cfiles\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":true,"name":"Ridgeback Motion - Large \/ Red","public_title":"Large \/ Red","options":["Large","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616938210,"title":"Large \/ Navy","option1":"Large","option2":"Navy","option3":null,"sku":"RB21031LG","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_
.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":true,"name":"Ridgeback Motion - X-Large \/ Red","public_title":"X-Large \/ Red","options":["X-Large","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671617003746,"title":"X-Large \/ Navy","option1":"X-Large","option2":"Navy","option3":null,"sku":"RB21031XL","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg? -
Whether you're riding at speed on the flat, or negotiating a steep climb, the smooth-shifting Shimano gears provide you with the perfect option for every terrain, without hurting your legs.
Product Details
The Ridgeback Motion is the perfect bike for town or country and is ready to take on any incline thanks to its wide range of 21-gears. The Motion's aluminium frame is built to last and enjoys our limited lifetime warranty. - You'll also ride in comfort because we have selected wide tyres a comfort saddle with pressure relief channel and ergonomically-shaped dual density grips.Practicality is another area where the Motion really shines, with mounts for mudguards and racks, making this a truly adaptable bike.
- eview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616872674,"title":"Medium \/ Navy","option1":"Medium","option2":"Navy","option3":null,"sku":"RB21031MD","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","variant_ids":[45671616741602,45671616807138,45671616872674,45671616938210,45671617003746]},"available":false,"name":"Ridgeback Motion - Medium \/ Navy","public_title":"Medium \/ Navy","options":["Medium","Navy"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526768866,"position":14,"previewatio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616938210,"title":"Large \/ Navy","option1":"Large","option2":"Navy","option3":null,"sku":"RB21031LG","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","variant_ids":[45671616741602,45671616807138,45671616872674,45671616938210,45671617003746]},"available":false,"name":"Ridgeback Motion - Large \/ Navy","public_title":"Large \/ Navy","options":["Large","Navy"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,ur legs.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eThe Motion's aluminium frame is built to last and enjoys our limited lifetime warranty.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eYou'll also ride in comfort because we
:1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671617003746,"title":"X-Large \/ Navy","option1":"X-Large","option2":"Navy","option3":null,"sku":"RB21031XL","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","variant_ids":[45671616741602,45671616807138,45671616872674,45671616938210,45671617003746]},"available":false,"name":"Ridgeback Motion - X-Large \/ Navy","public_title":"X-Large \/ Navy","options":["X-Large","Navy"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,"height"
720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","options":["Size","Color"],"media":[{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526375650,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_02.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030es\/rb21030_detail_05.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526506722,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_06.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_06.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526539490,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_07.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_07.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526572258,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_08.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn
de.co.uk\/cdn\/shop\/files\/rb21030_detail_11.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526703330,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526736098,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src": pan\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eWeight - 14.7kg\u003c\/span\u003e"} -
[]
{ "@context": "http://schema.org/", "@type": "Product", "name": "Ridgeback Motion", "url": "https:\/\/projektride.co.uk\/products\/ridgeback-motion","image": [ "https:\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01_1800x.jpg?v=1720257090" ],"description": "The Ridgeback Motion is the perfect bike for town or country and is ready to take on any incline thanks to its wide range of 21-gears.Whether you're riding at speed on the flat, or negotiating a steep climb, the smooth-shifting Shimano gears provide you with the perfect option for every terrain, without hurting your legs.The Motion's aluminium frame is built to last and enjoys our limited lifetime warranty.You'll also ride in comfort because we have selected wide tyres a comfort saddle with pressure relief channel and ergonomically-shaped dual density grips.Practicality is another area where the Motion really shines, with mounts for mudguards and racks, making this a truly adaptable bike.Weight - 14.7kg","sku": "RB21031SM","brand": { "@type": "Thing", "name": "Ridgeback" },"gtin8": "","offers": [{ "@type" : "Offer","sku": "RB21030XS","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616708834" }, { "@type" : "Offer","sku": "RB21031XS","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616741602" }, { "@type" : "Offer","sku": "RB21031SM","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616774370" }, { "@type" : "Offer","sku": "RB21030SM","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616807138" }, { "@type" : "Offer","sku": "RB21030MD","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616839906" }, { "@type" : "Offer","sku": "RB21031MD","availability" : "http://schema.org/InStock", "price" : 549.99, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/ridgeback-motion?variant=45671616872674" }, { "@type" : "Offer","sku": "RB21030LG","availability" : "http://schema.org/InStock", "price" : 549.99,
- <
":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Marin Bayview Trail 24\" - Red","public_title":"Red","options":["Red"],"price":49999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":56189671440767,"title":"Grey","option1":"Grey","option2":null,"option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Marin Bayview Trail 24\" - Grey","public_title":"Grey","options":["Grey"],"price":49999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}], templateName: 'product', dataKey: 'top-strip-promotion-badge', storefrontCurrency: 'GBP', storefrontCountry: 'GB', storefrontLanguage: 'en', shopLocale: 'en', shopDomain: 'projektride.co.uk', variantPrice: '49999'
uires_selling_plan":false,"selling_plan_allocations":[]}], templateName: 'product', shopLocale: 'en', dataKey: 'top-strip-promotion-badge', storefrontCurrency: 'GBP', storefrontCountry: 'GB', storefrontLanguage: 'en', shopDomain: 'projektride.co.uk', variantPrice: '49999', cartPrice: '0', selector: 'shopify-osm-ASUorQUNvQS9uckFQO__klarna_on_site_messaging_app_block_8gNReH', topPadding: '0', bottomPadding: '0', }); }
FUN!
The Bayview Trail 24” and Hidden Canyon 20” bikes are built to get kids hooked on riding with quality components and fun graphics that will last for years of neighborhood and bike park service.
Frame
Series 1 6061 Aluminum, 24” Wheels, IS Seatstay Disc Mount, 135mm Dropouts
Front Suspension
SR/Suntour XCT Jr 24", Pre-Load Adjust Coil Spring, 50mm Travel
Rims
TRP Slate EVO, 4-Piston Hydraulic Disc, 180mm RotorWorking Hours
Vee Tire Co. Crown Gem, 24”x2.25”, Wire BeadBrake Levers
Derailleur, RearShimano BL-M4100, I-Spec EV CompatibleTel
Shimano Altus, 7-SpeedHandlebarLocation
Derailleur, FrontMarin Trail, 35mm Clamp, 7000 Alloy Bar, 800mm Length, 20mm Rise, 5 Degree Up, 8 Degree Back82 Newington Road
Edinburgh-[email protected]
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_background_color":"#202223","storefront_form_terms":"Promise we won't spam. You'll only receive notifications for this product.","storefront_form_error":"Please enter a valid email address","storefront_form_success":"Thank you! We will notify you when the product is available.","enable_powered_by":true,"show_button_on_preorder":true,"sms_enabled":false,"email_enabled":true,"storefront_button_disable_tag":"rocket-hide","theme_config":{},"storefront_form_email_placeholder":"Email address","storefront_form_phone_placeholder":"SMS","storefront_form_phone_label":"Phone number","storefront_form_email_label":"Email","storefront_form_phone_error":"Please enter a valid phone number","storefront_form_customer_name_placeholder":"Name"X-Fusion Manic, 1x Composite Remote, Size S 125mm Travel, Size M and L 150mm Travel, Size XL 175mm Travel, 30.9mmChain,"storefront_form_customer_name_error":"Please enter your name","storefront_form_did_you_mean_error":"Did you mean %{suggested_email}? Or use %{current_email}","form_customer_name_enabled":false,"form_customer_name_required":false,"css_config":"","js_config":null,"collect_promotion_consent":false,"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":"afte
rend","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_error_heading":"Error","default_locale":"en","collection_page_button_text_color":"#FFFFFF","collection_page_button_background_color":"#202223","show_button_if_any_out_of_stock":false,"show_button_if_any_variant_out_of_stock_collection":false,"show_button_on_index":false,"insert_button_after_selector_collection":null,"insert_button_after_selector_index":null,"push_enabled":false,"push_allowed":false,"storefront_form_push_label":"Push","storefront_form_push_description":"Click 'Allow' to be notified via push notification","storefront_form_push_error":"Permission rejected! Please review notification settings and try again","storefront_font_family":"OpenSans","insert_button_after_selector_collection_type":"afterend","show_cha nnel_selector":false,"storefront_form_empty_error":"Please fill in one or more of the options above","storefront_form_push_input":"Send notification to your browser","insert_button_after_selector_page":null,"show_button_on_page":false,"insert_button_after_selector_search":null,"show_button_on_search":false,"app_proxy_path_prefix":"/apps/restockrocket-production","collection_link_selector":"","index_link_selector":"","page_link_selector":"","search_link_selector":"","collection_check_link_visibility":true,"collection_buttons_container":null,"index_buttons_container":null,"page_buttons_container":null,"search_buttons_container":null,"extension_enable_url_variant_detection":true,"extension_enable_value_variant_detection":true,"extension_value_variant_selector":"[name='id']","resubscribe_text":"This product is out of stock. Get notified when it's restocked again by entering your details below!","preorder_enabled":true,"preorder_buy_button_selector":null,"preorder_add_to_cart_button_selector":"","preorder_badge_sege_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","pricing_amount":null,"pricing_percentage":null,"billing_title":"Full payment","billing_description":null,"discount_text":"Save {{ discount }}","shopify_selling_plan_id":713071886719,"is_default":true,"type":"full","translations":{}}],"require_preorder_acknowledgement":false,"preorder_acknowledgement_text":"I acknowledge and agree to the preorder terms and conditions for this product.","preorder_min_quantity":null,"preorder_max_quantity":null,"countdown_timer_enabled":false,"countdown_timer_insert_selector":null,"countdown_timer_insert_selector_type":"afterend","countdown_timer_style":"text","countdown_timer_text_color":"#000000","countdown_timer_background_color":"#f5f5f5","countdown_timer_border_radius":8,"countdown_timer_format":"DHMS","countdown_timer_use_schedule_datesSaddle ":true,"countdown_timer_custom_start_date":null,"countdown_timer_custom_end_date":null,"countdown_timer_starts_text":null,"countdown_timer_ends_text":null,"updated_at":"2025-08-19T10:05:43.042Z","allow_mixed_cart":true}];window._RestockRocketConfig.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":8632811421922,"title":"Ridgeback Motion","handle":"ridgeback-motion","description":"\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e
The Ridgeback Motion is the perfect bike for town or country and is ready to take on any incline thanks to its wide range of 21-gears.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eWhether you're riding at speed on the flat, or negotiating a steep climb, the smooth-shifting Shimano gears provide you with the perfect option for every terrain, without hurting your legs.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style =\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eThe Motion's aluminium frame is built to last and enjoys our limited lifetime warranty.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eYou'll also ride in comfort because we have selected wide tyres a comfort saddle with pressure relief channel and ergonomically-shaped dual density grips.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003ePracticality is another area where the Motion really shines, with mounts for mudguards and racks, making this a truly adaptable bike.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eWeight - 14.7kg\u003c\/span\u003e","published_at":"2024-12-08T20:03:24+00:00","created_at":"2024-07-06T10:11:30+01:00","vendor":"Ridgeback","type":"BiMarin Speed ConceptCassettecycles","tags":["motion","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":54999,"price_min":54999,"price_max":54999,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":45671616708834,"title":"X-Small \/ Red","option1":"X-Small","option2":"Red","option3":null,"sku":"RB21030XS","requires_shipping":true,"taxable":true,"featured_image":{"id":41546770809058,"product_id":8632811421922,"position":1,"created_at":"2024-07-06T10:11:30+01:00","updated_at":"2024-07-06T10:11:30+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":false,"name":"Ridgeback Motion - X-Small \/ Red","public_title":"X-Small \/ Red","options":["X-Small","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management
":"shopify","barcode":"","featured_media":{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616741602,"title":"X-Small \/ Navy","option1":"X-Small","option2":"Navy","option3":null,"sku":"RB21031XS","requires_shipping":true,"taxable":true,"featured_image":{"id":41546771267810,"product_id":8632811421922,"position":14,"created_at":"2024-07-06T10:11:31+01:00","updated_at":"2024-07-06T10:11:31+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","variant_ids":[45671616741602,45671616807138,45671616872674,45671616938210,45671617003746]},"available":false,"name":"Ridgeback Motion - X-Small \/ Navy","public_title":"X-Small \/ Navy","options":["X-Small","Navy"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management" :"shopify","barcode":"","featured_media":{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":45671616774370,"title":"Small \/ Red","option1":"Small","option2":"Red","option3":null,"sku":"RB21031SM","requires_shipping":true,"taxable":true,"featured_image":{"id":41546770809058,"product_id":8632811421922,"position":1,"created_at":"2024-07-06T10:11:30+01:00","updated_at":"2024-07-06T10:11:30+01:00","alt":null,"width":1800,"height":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","variant_ids":[45671616708834,45671616774370,45671616839906,45671616905442,45671616970978]},"available":true,"name":"Ridgeback Motion - Small \/ Red","public_title":"Small \/ Red","options":["Small","Red"],"price":54999,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barco.uk\/cdn\/shop\/files\/rb21030_detail_11.jpg?v=1720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091","\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","options":["Size","Color"],"media":[{"alt":null,"id":34199526342882,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_01.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526375650,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_02.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"Pedals \/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_02.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526408418,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_03.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_03.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526441186,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_04.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_04.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526473954,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_05.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"ima
ge","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_05.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526506722,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_06.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_06.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526539490,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_07.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_07.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526572258,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_08.jpg?v=1720257090"},"aspect_ratio":1.0,"height":1800,"media _type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_08.jpg?v=1720257090","width":1800},{"alt":null,"id":34199526605026,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_09.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_09.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526637794,"position":10,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_10.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_10.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526670562,"position":11,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_11.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_11.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526703330,"position":12,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21030_detail_12.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526736098,"position":13,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091"},"aspect_ratio":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_01.jpg?v=1720257091","width":1800},{"alt":null,"id":34199526768866,"position":14,"preview_image":{"aspect_ratio":1.0,"height":1800,"width":1800,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091"},"aspect_rati-Brake, Fronto":1.0,"height":1800,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/rb21031_detail_02.jpg?v=1720257091","width":1800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eThe Ridgeback Motion is the perfect bike for town or country and is ready to take on any incline thanks to its wide range of 21-gears.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eWhether you're riding at speed on the flat, or negotiating a steep climb, the smooth-shifting Shimano gears provide you with the perf
ect option for every terrain, without hurting your legs.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003eThe Motion's aluminium frame is built to last and enjoys our limited lifetime warranty.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400 ;\"\u003eYou'll also ride in comfort because we have selected wide tyres a comfort saddle with pressure relief channel and ergonomically-shaped dual density grips.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003ePracticality is another area where the Motion really shines, with mounts for mudguards and racks, making this a truly adaptable bike.\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003e\u003cbr data-mce-fragment=\"1\"\u003e\u003c\/span\u003e\u003cspan style=\"font-weight: 400;\" data-mce-fragment=\"1\" data-mce-style=\"font-weight: 400;\"\u003!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[keyExtras ]; 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 (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?.them
e?.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('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' && (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' && (settings.show_button_on_search || settings.preorder_search_enabled)) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfig.pageType === 'page' && (settings.show_button_on_page || settings.preorder_page_enabled)) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfig.pageType === 'product') { createRestockRocketScript(window._RestockRocketConfig.scriptUrlProduct); } else if(hijackIntegration) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else { console.debug(`STOQ - no scriptBolt-On Thru-AxleBrake, Rears 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) { 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); }); } else if (attempt <ction{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:15px 20px;}.restock-rocket-payment-option:not(:last-child){border-bottom:1px solid #ebebeb;}.restock-rocket-payment-input-container{flex:1 Extras 1 auto;min-width:0}.restock-rocket-preorder-discount-badge{background:#ebebeb;height:25px;line-height:25px;padding:0 15px;border-radius:25px;font-size:0.8rem;flex:0 0 auto}.restock-rocket-payment-input{margin-right:10px;margin-top:-3px;vertical-align:middle;margin-left:0;accent-color:#202223}.restock-rocket-payment-description{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: #0d0d
0d;}.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-countdown-timer{padding:14px}.restock-rocket-preorder-countdown-timer .countdown-box{min-width:55px;padding:14px 10px;font-size:26px}.re stock-rocket-preorder-countdown-timer .countdown-label{font-size:11px}}@media (max-width:480px){.restock-rocket-preorder-countdown-timer{padding:12px}.restock-rocket-preorder-countdown-timer .countdown-units{width:100%;gap:10px}.restock-rocket-preorder-countdown-timer .countdown-box{width:100%;min-width:50px;padding:12px 8px;font-size:24px}.restock-rocket-preorder-countdown-timer .countdown-label{font-size:10px}}.restock-rocket-toast{position:fixed;cursor:pointer;background:#fff;border:0;min-width:40px;min-height:40px;box-shadow:0 0 15px rgba(0,0,0,.1)!important;z-index:622004;padding:20px 30px;font-family:inherit;font-size:inherit;color:#000;display:flex;justify-content:center;align-items:center}.restock-rocket-toast a{text-decoration:none;font-weight:700;color:#000}.restock-rocket-toast .dismiss{margin-left:15px;z-index:1;font-size:20px;}.restock-rocket-toast-top{top:60px}.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%{transform:translateX(100%)}}@-webkit-keyframes slide-out-right{0%{-webkit-transform:translateX(0)}100%{-webkit-transform:translateX(100Downtube ProtectorBrake Levers%)}}


