Header Image
window.appBlockPlacements ||= []; if (window.klarnaAppBlocksManager) { window.klarnaAppBlocksManager.push({ productVariants: [{"id":42354542608610,"title":"54cm \/ Chlorine Dream Blue","option1":"54cm","option2":"Chlorine Dream Blue","option3":null,"sku":"FMSUG54L","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 54cm \/ Chlorine Dream Blue","public_title":"54cm \/ Chlorine Dream Blue","options":["54cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542674146,"title":"56cm \/ Chlorine Dream Blue","option1":"56cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 56cm \/ Chlorine Dream Blue","public_title":"56cm \/ Chlorine Dream Blue","options":["56cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542739682,"title":"58cm \/ Chlorine Dream Blue","option1":"58cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 58cm \/ Chlorine Dream Blue","public_title":"58cm \/ Chlorine Dream Blue","options":["58cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542805218,"title":"60cm \/ Chlorine Dream Blue","option1":"60cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 60cm \/ Chlorine Dream Blue","public_title":"60cm \/ Chlorine Dream Blue","options":["60cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542870754,"title":"62cm \/ Chlorine Dream Blue","option1":"62cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 62cm \/ Chlorine Dream Blue","public_title":"62cm \/ Chlorine Dream Blue","options":["62cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}], templateName: 'product', dataKey: 'credit-promotion-badge', storefrontCurrency: 'GBP', storefrontCountry: 'GB', storefrontLanguage: 'en', shopLocale: 'en', shopDomain: 'projektride.co.uk', variantPrice: '80000', cartPrice: '0', selector: 'shopify-osm-AUGJPaUhZWENuZUR6S__eba47704-3c39-4d06-b261-8d0444fc671f', topPadding: '0', bottomPadding: '0', }); } else { window.appBlockPlacements.push({ productVariants: [{"id":42354542608610,"title":"54cm \/ Chlorine Dream Blue","option1":"54cm","option2":"Chlorine Dream Blue","option3":null,"sku":"FMSUG54L","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 54cm \/ Chlorine Dream Blue","public_title":"54cm \/ Chlorine Dream Blue","options":["54cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542674146,"title":"56cm \/ Chlorine Dream Blue","option1":"56cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 56cm \/ Chlorine Dream Blue","public_title":"56cm \/ Chlorine Dream Blue","options":["56cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542739682,"title":"58cm \/ Chlorine Dream Blue","option1":"58cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 58cm \/ Chlorine Dream Blue","public_title":"58cm \/ Chlorine Dream Blue","options":["58cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542805218,"title":"60cm \/ Chlorine Dream Blue","option1":"60cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 60cm \/ Chlorine Dream Blue","public_title":"60cm \/ Chlorine Dream Blue","options":["60cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42354542870754,"title":"62cm \/ Chlorine Dream Blue","option1":"62cm","option2":"Chlorine Dream Blue","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611029795042,"product_id":7524170236130,"position":1,"created_at":"2022-01-27T20:58:12+00:00","updated_at":"2022-01-27T21:12:02+00:00","alt":null,"width":1258,"height":788,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","variant_ids":[42354542608610,42354542674146,42354542739682,42354542805218,42354542870754]},"available":false,"name":"Surly Straggler Frameset - Chlorine Dream 700c - 62cm \/ Chlorine Dream Blue","public_title":"62cm \/ Chlorine Dream Blue","options":["62cm","Chlorine Dream Blue"],"price":80000,"weight":12000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164574638306,"position":1,"preview_image":{"aspect_ratio":1.596,"height":788,"width":1258,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}], templateName: 'product', shopLocale: 'en', dataKey: 'credit-promotion-badge', storefrontCurrency: 'GBP', storefrontCountry: 'GB', storefrontLanguage: 'en', shopDomain: 'projektride.co.uk', variantPrice: '80000', cartPrice: '0', selector: 'shopify-osm-AUGJPaUhZWENuZUR6S__eba47704-3c39-4d06-b261-8d0444fc671f', topPadding: '0', bottomPadding: '0', }); }
Size

SPO-filter-out-stock-821277b37d3d6ac1b891520564c66300

54cm
58cm
  • [email protected]
  • Surly Straggler Frameset
  • Fork
  • 4130 CroMoly, disc only
  • Steerer 1 1/8" threadless
  • Headset Compatibility
Seatpost
27.2mm 30.0mm (we include our Surly stainless clamp with our framesets)
  • Front Derailleur
    28.6 mm band-on 
    BB Shell 68mm English
     Rear spacing 135mm
    Colour
    [data-section-id="template--26482385322367__section_banner_image_8nCgWK"] { --PT: 0px; --PB: 0px; --container-padding-top: 0;} [data-section-id="template--26482385322367__section_banner_image_8nCgWK"] .banner-image__text-wrapper { --content-width: 100%;}
  • QUESTIONS AND ANSWERS
    • Due to the increased demand, the best way to get your hand on a Surly bike is to call us to check the availability on the model and build kit you are looking for. Some models can be pre-ordered and reserved for when
    • ProjektRide
    • 01313745324
    • When you buy a Surly from ProjektRide, we give you free running in service.
    • Im looking for a full custom build?
    • https://projektride.co.uk/pages/custom-builds
    • https://surlybikes.com/
    • Bike shop Edinburgh, Scotland
    • [email protected]
    • I'm looking to find out more information about a product, where can I find this?
    • 01313745324
    • [email protected]
    • ProjektRide Bike Shop Edinburgh
    • I'm looking to buy this product, when will it arrive and how much does postage cost?
    • Postage is free on orders over £50. Orders under £50, our postage charge is £3.99.
    • ProjektRide Bike Shop Edinburgh
    • #relatedProducts--template--26482385322367__related { --PT: 60px; --PB: 60px; } #relatedProducts--template--26482385322367__related .tabs__nav { --text-size: calc(var(--adjust-accent) * 1.2); } @media screen and (max-width: 767px) { #relatedProducts--template--26482385322367__related .grid--mobile, #relatedProducts--template--26482385322367__related .carousel--mobile { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
    • #SiteFooter { --PT: 100px; --PB: 10px; --bg-lighten-darken-shimmer-bg: #0d0d0d; --bg-lighten-darken-shimmer-effect: #121212; --text: #ffffff; --text-alpha-15: rgba(255, 255, 255, 0.15); --text-alpha-50: rgba(255, 255, 255, 0.6); --text-alpha-85: rgba(255, 255, 255, 0.85);--border: #ffffff;} #SiteFooter .footer-bottom { --grid-columns: 3; }
    • Contact Us
  • Hungary (HUFFt)
  • Google Pay
  • Maestro
  • Visa
    • ies_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,"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","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.","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,"countdo
    • ze, build kit, and colour if the option you require is out of stock - 0131 374 5324 \/ edinburgh@projektride.co.uk\u003c\/span\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eSurly Straggler Frameset\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eSo what is this Straggler anyway? The easy answer is to say that we added disc brakes to a Cross-Check and this is close to accurate. People have asked us to make a disc version of our highly versatile Cross-Check for a long time now and almost everything about the two are very similar. Straggler is slightly different, though.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe most obvious difference of course is that the Straggler has disc caliper mounts instead of rim brake studs. It'll accept rotors up to 160mm. The rear dropouts are unique, too. They're a partially closed horizontal design that accommodates singlespeed or geared drivetrains. They feature stop screws that thread in from the rear to further secure the wheel and to position th e rear wheel for optimal shifting, plus a forward-mounted stop screw on the drive side to keep the wheel from slipping forward under the force of your gargantuan legs. The rear dropouts are spaced 135mm instead of 132.5mm like the Cross-Check simply because there are far more options for disc hubs in this spacing.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eStraggler shares all of the Cross-Check's braze-ons for fenders, racks and bottle cages. The Straggler's geometry is slightly different, with angles and tube lengths very close but not identical to the Cross-Check, but like the Cross-Check it's ready to take you just about anywhere. It's a day tripper and a weekender. It's a 'rough road' road bike. It's a cyclocross bike with no pretense about racing. It's a utilitarian townie. It's a light-duty touring bike. It's an all-weather commuter. And when you get tired of one set up, you can swap parts around and turn it into something else. We think that's pretty neat.\u003c\/p\u003e\n\u003ch4\u003eSpeci
    • 317922"},"aspect_ratio":1.596,"height":788,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at20.58.01.png?v=1643317922","width":1258},{"alt":null,"id":29317888803042,"position":2,"preview_image":{"aspect_ratio":1.921,"height":1170,"width":2248,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-02-22at21.21.42_33fa0aa9-e97b-4a6a-9f60-6be6f5560094.png?v=1645565131"},"aspect_ratio":1.921,"height":1170,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-02-22at21.21.42_33fa0aa9-e97b-4a6a-9f60-6be6f5560094.png?v=1645565131","width":2248}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan\u003ePlease get in touch with a member of the team to discuss the availability of size, build kit, and colour if the option you require is out of stock - 0131 374 5324 \/ edinburgh@projektride.co.uk\u003c\/ span\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eSurly Straggler Frameset\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eSo what is this Straggler anyway? The easy answer is to say that we added disc brakes to a Cross-Check and this is close to accurate. People have asked us to make a disc version of our highly versatile Cross-Check for a long time now and almost everything about the two are very similar. Straggler is slightly different, though.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe most obvious difference of course is that the Straggler has disc caliper mounts instead of rim brake studs. It'll accept rotors up to 160mm. The rear dropouts are unique, too. They're a partially closed horizontal design that accommodates singlespeed or geared drivetrains. They feature stop screws that thread in from the rear to further secure the wheel and to position the rear wheel for optimal shifting, plus a forward-mounted stop screw on the drive side to keep the wheel from slipping for
    • 0) { console.debug(`STOQ - Client clock appears ahead of server by ${Math.abs(Math.round(liquidCacheAge / 60))} minutes, assuming cache fresh`); window._RestockRocketConfig.isLiquidCacheFresh = true; } else if (liquidCacheAge <
    • hopify.shop, 'ngrok-skip-browser-warning': 'skip' }; if (window.Shopify?.theme?.role === 'main') { headers['X-Shopify-Theme-Schema-Name'] = window.Shopify.theme.schema_name; headers['X-Shopify-Theme-Schema-Version'] = window.Shopify.theme.schema_version; headers['X-Shopify-Theme-Store-Id'] = window.Shopify.theme.theme_store_id; } fetch( `${window._RestockRocketConfig.host}/api/v1/setting.json?translation_locale=${window._RestockRocketConfig.normalizedLocale}`, { headers } ) .then(function(response) { if (!response.ok) { throw new Error('Network response was not ok'); } return response.json(); }) .then(function(settings) { initializeScripts(settings); }) .catch(function(error) { // If request failed and we have cached settings (even if expired), use them as fallback if (cachedSettings) { console.debug('STOQ - using expired cached settings as fallback'); initializeScripts(cac hedSettings); } 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}`); // Setup cart selling plan updater BEFORE loading any scripts to avoid race conditions setupCartSellingPlanUpdater(settings); if(settings.enable_app) { const hijackIntegration = window._RestockRocketConfig.integrations.find(function(integration) { return integration.type === 'hijack' && integration.enabled && integration.page_types.includes(window._RestockRocketConfig.pageType); }) if(window._RestockRocketConfig.pageType === 'collection' && (settings.show_button_on_collection || settings.preorder_collection_enabled)) { createRestockRocketScript(window._RestockRocketCon