t_prefix":"Shipping: ","delivery_exact_time":null,"delivery_after_n_intervals":null,"delivery_at":"2025-07-26T09:20:18.169Z","delivery_type":"asap","quantity_limit_text":"{{ quantity }} units available for preorder","preorder_button_description_show_shipping":true,"preorder_button_description_icons_enabled":true,"preorder_shipping_text":"Shipping: {{ date }}","shipping_applies_to_all_products":true,"shipping_text":"Estimated to ship within 2 months","payment_type":"full","billing_checkout_charge_type":"percentage","billing_checkout_charge_amount":null,"billing_checkout_charge_percentage":"100.0","pricing_type":"no_discount","pricing_amount":null,"pricing_percentage":null,"discount_text":"Save {{ discount }}","billing_title":"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,"paSearch
text":"I acknowledge and agree to the preorder terms and conditions for this product.","disable_button_until_acknowledged":false,"preorder_min_quantity":null,"preorder_max_quantity":null,"countdown_timer_enabled":false,"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_dates":true,"countdown_timer_custom_start_date":null,"countdown_timer_custom_end_date":null,"countdown_timer_starts_text":null,"countdown_timer_ends_text":null,"schedule_offer":false,"schedule_start_date":null,"schedule_end_date":null,"updated_at":"2025-08-19T10:05:43.042Z","allow_mixed_cart":true,"mixed_cart_error_message":"Preorders must be purchased separately from regular items. Please complete your current order first, or clear your cart to continue.","b2b_enabled":true,"preorder_progress_bar_enabled":false,"preorder_progress_bar_text":"{{ sold }} of {{ total }} claimed","preorder_p
return max;
}, '')
: null;
// Use cached if old array is empty/has no timestamps, or cached is newer
// Parse dates for comparison to handle format differences (+00:00 vs .000Z)
const cachedDate = new Date(cachedData.cached_at);
const maxDate = maxUpdatedAt ? new Date(maxUpdatedAt) : null;
const useCached = !maxUpdatedAt || (cachedDate && !isNaN(cachedDate) && (!maxDate || cachedDate > maxDate));
if (useCached) {
if (Array.isArray(cachedData.plans)) {
window._RestockRocketConfig.sellingPlans = cachedData.plans;
// Only use disabled_plan_ids when using cached plans
window._RestockRocketConfig.disabledSellingPlanIds = cachedData.disabled_plan_ids || [];
console.debug('[RR] Using selling plans from cachedSellingPlans (cached_at: ' + cachedData.cached_at + ')');
}
} else {
// When using old format (stale cache), don't trust disabled_plan_ids
win
\n\u003cp\u003eStraggler is tuned for cross-over exploration on a wide variety of terrain conditions. It’s a day-tripper and a weekender. It’s a ‘rough road’ road bike, a cyclocross bike with no pretense about racing, a utilitarian townie, a light-duty touring bike and an all-weather commuter. It’s a steel gravel bicycle that thrives on the road. Think of it as a “mountain biker’s road bike.” If you only have room for one bike in your life, Straggler can (and should) be your one and only.\u003c\/p\u003e\n\u003cp\u003eStraggler’s capabilities go well beyond asphalt. It also lends itself well to light touring setups. We're talking frame bags, seat bags, and \"credit card touring” rather than full-blown touring. Straggler also handles our 8- and 24-Pack Racks well, so you have some heavier-duty loading options.\u003c\/p\u003e\n\u003cp\u003e\u003csub\u003e\u003cstrong\u003ePLEASE NOTE:\u003c\/strong\u003e\u003cem\u003e\u003cspan\u003e \u003c\/span\u003eThe Surly Straggler 1x Bike is UK specc'
":"\/\/projektride.co.uk\/cdn\/shop\/files\/5su-21-strag-1x.jpg?v=1761300572"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/5su-21-strag-1x.jpg?v=1761300572","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cdiv class=\"col-md-8\"\u003e\n\u003ch2\u003eBorn on Gravel. Raised on Pavement\u003c\/h2\u003e\n\u003cp\u003eStraggler is tuned for cross-over exploration on a wide variety of terrain conditions. It’s a day-tripper and a weekender. It’s a ‘rough road’ road bike, a cyclocross bike with no pretense about racing, a utilitarian townie, a light-duty touring bike and an all-weather commuter. It’s a steel gravel bicycle that thrives on the road. Think of it as a “mountain biker’s road bike.” If you only have room for one bike in your life, Straggler can (and should) be your one and only.\u003c\/p\u003e\n\u003cp\u003eStraggler’s capabilities go well beyond asphalt. It also lends itself well to light tou
03e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eHeadset\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eDia Compe\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eHandlebar\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eGenetic Flare Road Bar\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eStem\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eGenetic SLR\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eBar Tape\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eGenetic Classic Cork Tape\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eSaddle\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eGenetic STV\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"uiClose
n class=\"ui-list-title\"\u003eCassette\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eSRAM 11 Speed\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eBottom Bracket\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eSRAM GXP\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eBrakes\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eTRP Spyre\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eWheels\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eHalo Vapour\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eTyres\u003c\/span\u003e\u003cspan class=\"ui-list-info\"\u003eSurly Knard 700x41c\u003c\/span\u003e\n\u003c\/li\u003e\n\u003cli class=\"ui-list_item\"\u003e\n\u003cspan class=\"ui-list-title\"\u003eColour\u003c\/span\u003e
35;
window._RestockRocketConfig.selected_variant_available = window._RestockRocketConfig.product.variants.find(function(variant) { return variant.id == window._RestockRocketConfig.selected_variant_id }).available;window._RestockRocketConfig.scriptUrlProduct = 'https://cdn.shopify.com/extensions/019cb0b4-f8c1-740a-9811-1284dd89b0c8/restock-rocket-shopify-464/assets/restockrocket-product.js'
window._RestockRocketConfig.scriptUrlCollection = 'https://cdn.shopify.com/extensions/019cb0b4-f8c1-740a-9811-1284dd89b0c8/restock-rocket-shopify-464/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
const LIQUID_CACHE_MAX_AGE = 2 * 60 * 60; // 2 hours in seconds
// Calculate Liquid cache freshness once at initializ
translation data in metafield
// Metafield hasn't been backfilled yet - force refresh
console.debug('STOQ - multi-language enabled but no translation data in cache, fetching fresh');
return null;
}
// Translations object exists in metafield - cache is valid
// If current locale isn't translated, applyTranslations will gracefully use default locale from base fields
if (window._RestockRocketConfig.normalizedLocale &&
!Object.prototype.hasOwnProperty.call(settings.translations, window._RestockRocketConfig.normalizedLocale)) {
console.debug('STOQ - locale not explicitly translated, will use default language from cache');
}
// 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 to qualify for free shipping