<
window.appBlockPlacements ||= [];
if (window.klarnaAppBlocksManager) {
window.klarnaAppBlocksManager.push({
productVariants: [{"id":46025438560482,"title":"Extra Small","option1":"Extra Small","option2":null,"option3":null,"sku":"5323995","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Extra Small","public_title":"Extra Small","options":["Extra Small"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025438593250,"title":"Small","option1":"Small","option2":null,"option3":null,"sku":"5323996","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 6 - Small","public_title":"Small","options":["Small"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025438626018,"title":"Medium","option1":"Medium","option2":null,"option3":null,"sku":"5323997","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 6 - Medium","public_title":"Medium","options":["Medium"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025438658786,"title":"Large","option1":"Large","option2":null,"option3":null,"sku":"5323998","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Large","public_title":"Large","options":["Large"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025438691554,"title":"Extra Large","option1":"Extra Large","option2":null,"option3":null,"sku":"5323999","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Extra Large","public_title":"Extra Large","options":["Extra Large"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"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: '280000',
cartPrice: '0',
selector: 'shopify-osm-Ac2tTRTlRaTI0R3BZb__klarna_on_site_messaging_app_block_8gNReH',
topPadding: '0',
bottomPadding: '0',
});
} else {
window.appBlockPlacements.push({
productVariants: [{"id":46025438560482,"title":"Extra Small","option1":"Extra Small","option2":null,"option3":null,"sku":"5323995","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Extra Small","public_title":"Extra Small","op
6025438658786,"title":"Large","option1":"Large","option2":null,"option3":null,"sku":"5323998","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Large","public_title":"Large","options":["Large"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025438691554,"title":"Extra Large","option1":"Extra Large","option2":null,"option3":null,"sku":"5323999","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Trek FX Sport 6 - Extra Large","public_title":"Extra Large","options":["Extra Large"],"price":280000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],
templateName: 'product',
shopLocale: 'en',
dataKey: 'top-strip-promotion-badge',
storefrontCurrency: 'GBP',
storefrontCountry:
Clothing and Protection
ProjektRide Merchandise
Helmets
rue,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 5 - Medium","public_title":"Medium","options":["Medium"],"price":215000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025418604770,"title":"Large","option1":"Large","option2":null,"option3":null,"sku":"5324013","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 5 - Large","public_title":"Large","options":["Large"],"price":215000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":46025418637538,"title":"Extra Large","option1":"Extra Large","option2":null,"option3":null,"sku":"5324014","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 5 - Extra Large","public_title":"Extra Large","options":["Extra Large"],"price":215000,"weight":0,"
How to measure: Stand barefoot with your back straight and against a wall. Tuck a ruler or something that extends to the floor between your legs. Using both hands, and keeping it level, pull the ruler up into your crotch as if you were sitting on the saddle. Measure the distance from the top edge of the ruler to the ground to find your inside leg measurement. Your inside leg is very important to your final bike size so please measure carefully.
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","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":nul
4","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek FX Sport 5 - Extra Large","public_title":"Extra Large","options":["Extra Large"],"price":215000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/FXSport5Carbon-25-47263-A-Primary.webp?v=1728051044","\/\/projektride.co.uk\/cdn\/shop\/files\/FXSport5Carbon-25-47263-A-Alt3.webp?v=1728051052","\/\/projektride.co.uk\/cdn\/shop\/files\/FXSport5Carbon-25-47263-A-Alt4.webp?v=1728051061"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/FXSport5Carbon-25-47263-A-Primary.webp?v=1728051044","options":["Size"],"media":[{"alt":null,"id":34763085250786,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1080,"width":1440,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/FXSport5Carbon-25-47263-A-Primary.webp?v=1728051044"},"aspect_ratio":1.333,"height":1080,"media_type
ge-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=\"\" qaid=\"product-positioning-statement\"\u003eFX Sport 5 is a carbon fibre fitness bike for riders who want the speed of a lightweight road bike with the comfort and control of a flat handlebar. It has an upgraded high-quality drivetrain, hydraulic disc brakes and tubeless-ready rims making it perfect for everything from solo workouts to speedy group rides.\u003c\/p\u003e\n\u003cdiv class=\"kf-block--intro cell small-12 large-4 mb-4\" qaid=\"product-overview-1\"\u003e\n\u003ch3 class=\"header--md mb-1\"\u003eIt's right for you if...\u003c\/h3\u003e\n\u003cp\u003eYou're ready to log big miles, and you prefer the feel of a flat handlebar to the drop bars that come stock on most road bikes. You prioritise comfort and performance equally, and expect your bike to grow with you as you advance in speed and distance.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdivTubeless
structionsHeightInseam_Wrapper\"\u003e\n\u003cdiv data-v-05762449=\"\" class=\"vertical-spacer-for-editorial row expand\"\u003e\n\u003csection data-v-05762449=\"\" class=\"editorial-group twoup\"\u003e\n\u003cdiv data-v-05762449=\"\" class=\"yCmsComponent small-12 medium-6 vertical-spacer-1\"\u003e\n\u003carticle data-v-05762449=\"\" id=\"comp_sizingTabB2BInstructions_Height\" class=\"editorial-small text-left\" qaid=\"editorial-component\"\u003e\n\u003cdiv data-v-05762449=\"\" class=\"editorial-small__content\"\u003e\n\u003ch2 data-v-05762449=\"\" class=\"editorial-small__header header-small\" qaid=\"editorial-component-header\"\u003eHow tall are you?\u003c\/h2\u003e\n\u003cp data-v-05762449=\"\" class=\"editorial-small__text text-weak\" qaid=\"editorial-component-body\"\u003eTo measure your height, stand up straight, barefoot, with your back, heels, shoulders and head all touching a wall. While looking straight ahead, place a book or straight edge on your head and slowly push it against the wall. Your strai
ry_Lines_2050x1500_City_FXSport6\" data-sizes=\"auto\" srcset=\"\/\/media.trekbikes.com\/image\/upload\/w_480,h_360,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 480w,\/\/media.trekbikes.com\/image\/upload\/w_640,h_480,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 640w,\/\/media.trekbikes.com\/image\/upload\/w_768,h_576,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 768w,\/\/media.trekbikes.com\/image\/upload\/w_1024,h_768,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 1024w,\/\/media.trekbikes.com\/image\/upload\/w_1200,h_900,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 1200w,\/\/media.trekbikes.com\/image\/upload\/w_1440,h_1080,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSport6 1440w,\/\/media.trekbikes.com\/image\/upload\/w_1920,h_1440,c_pad,f_auto,fl_progressive:semi,q_auto\/Geometry_Lines_2050x1500_City_FXSpor
FAQcollection.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');
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 translation data in metafield
// Metafield hasn't been backfilled yet - force refresh
Helmets