Servicing
Header Image Book a Service
Workshop Prices
Delivery & Returns

SPO-filter-in-stock-821277b37d3d6ac1b891520564c66300Information

Mon - Fri: 09:00 - 18:30
Sat: 9:00 - 16:00
Sun: Closed
0131 374 5324
Newington Road
Edinburgh
[email protected]
GBP£
  • Åland Islands (EUR€)
  • Albania (ALLL)
  • Algeria (DZDد.ج)
  • Andorra (EUR€)
  • Angola (GBP£)
  • Armenia (AMDդր.)
  • Ascension Island (SHP£)
  • Austria (EUR€)
  • Belarus (GBP£)
733 productsBelgium (EUR€)
Benin (XOFFr)
  • Burkina Faso (XOFFr)
  • Burundi (BIFFr)
  • Congo - Kinshasa (CDFFr)
Côte d’Ivoire (XOFFr)
Cyprus (EUR€)
  • Czechia (CZKKč)
     
    Denmark (DKKkr.)
     
    Djibouti (DJFFdj)
     
    Egypt (EGPج.م)
    Equatorial Guinea (XAFCFA) £
    £Estonia (EUR€) Eswatini (GBP£)
Ethiopia (ETBBr)
Finland (EUR€)
  • North Macedonia (MKDден)
    • Close
    • ountdown_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_progress_bar_fill_color":"#000000","preorder_progress_bar_background_color":"#e5e5e5","preorder_progress_bar_text_color":"#FFFFFF","preorder_progress_bar_border_radius":4,"preorder_progress_bar_show_percentage":false}],"di sabled_plan_ids":[713813721471,713176482175,714631872895],"cached_at":"2026-04-09T09:16:46Z"}; if (cachedData && typeof cachedData === 'object' && cachedData.cached_at) { const oldPlans = window._RestockRocketConfig.sellingPlans; const maxUpdatedAt = Array.isArray(oldPlans) && oldPlans.length > 0 ? oldPlans.reduce(function(max, plan) { if (plan.updated_at) { const planDate = new Date(plan.updated_at); const maxDate = max ? new Date(max) : null; return (!maxDate || (planDate && !isNaN(planDate) && planDate > maxDate)) ? plan.updated_at : max; } return max; }, '') : null; 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(ca
    • eIntegrated cable routing\u003c\/li\u003e\n\u003cli\u003eStorage Optimization System\u003c\/li\u003e\n\u003cli\u003eWide gravel tyre clearance\u003c\/li\u003e\n\u003cli\u003eBuilt for gravel racing and rough adventure riding\u003c\/li\u003e\n\u003cli\u003eAvailable sizes: XXS 44-46, XS 47-50, S 51-53, M 54-56, L 57-59 and XL 60-62\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eKey specification\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eFrame\u003c\/th\u003e\n\u003ctd\u003eDark Matter\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eFork\u003c\/th\u003e\n\u003ctd\u003eDark Matter\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eGroupset\u003c\/th\u003e\n\u003ctd\u003eShimano GRX RX610\/822\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eWheelset\u003c\/th\u003e\n\u003ctd\u003eGravel wheelset as specified by Argon 18\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eTyres \/ Clearance\u003c\/th\u003e\n\u003ctd \u003eGravel tyres as specified by Argon 18\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eColours\u003c\/th\u003e\n\u003ctd\u003eAnthracite, Cactus Green\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\u003c\/table\u003e\u003cp\u003e\u003cem\u003eImages are supplied by Argon 18 and may be illustrative. Final specification can vary by region and assembly option.\u003c\/em\u003e\u003c\/p\u003e","published_at":"2026-07-08T16:37:52+01:00","created_at":"2025-04-28T22:04:22+01:00","vendor":"Argon 18","type":"Gravel bike","tags":["Argon 18","Dark Matter","Gravel bike","Shimano GRX RX610\/822"],"price":350000,"price_min":350000,"price_max":350000,"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":55391355109759,"title":"Anthracite \/ XXS 44-46","option1":"Anthracite","option2":"XXS 44-46","option3":null,"sku":"DM.XXS.373A.3.1","requires_shipping":true,"taxable":true,"featured_image"
    • se,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":55391355371903,"title":"Anthracite \/ L 57-59","option1":"Anthracite","option2":"L 57-59","option3":null,"sku":"DM.L.373A.3.1","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Anthracite \/ L 57-59","public_title":"Anthracite \/ L 57-59","options":["Anthracite","L 57-59"],"price":350000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":55391355437439,"title":"Anthracite \/ XL 60-62","option1":"Anthracite","option2":"XL 60-62","option3":null,"sku":"DM.XL.373A.3.1","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Anthracite \/ XL 60-62","public_title":"Anthracite \/ XL 60-62","options":["Anthracite","XL 60-62"],"price":350000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":55391355076991,"title":"Cactus Green \/ XXS 44-46","option1":"Cactus Green","option2":"XXS 44-46","option3":null,"sku":"DM.XXS.373C.3.1","requires_shipping":true,"taxable":true,"featured_image":{"id":86349317996927,"product_id":15050913874303,"position":2,"created_at":"2026-07-08T16:37:52+01:00","updated_at":"2026-07-08T16:37:56+01:00","alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","width":320,"height":212,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076","variant_ids":[55391355076991,55391355142527,55391355208063,55391355273599,55391355339135,55391355404671]},"available":false,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green \/ XXS 44-46","public_title":"Cactus Green \/ XXS 44
    • .373C.3.1","requires_shipping":true,"taxable":true,"featured_image":{"id":86349317996927,"product_id":15050913874303,"position":2,"created_at":"2026-07-08T16:37:52+01:00","updated_at":"2026-07-08T16:37:56+01:00","alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","width":320,"height":212,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076","variant_ids":[55391355076991,55391355142527,55391355208063,55391355273599,55391355339135,55391355404671]},"available":true,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green \/ S 51-53","public_title":"Cactus Green \/ S 51-53","options":["Cactus Green","S 51-53"],"price":350000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","id":71714641478015,"position":2,"preview_image":{"aspect_ratio":1.509,"height":212,"width":320,"src":"\/\/projektride.co.uk\/cdn\ /shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":55391355273599,"title":"Cactus Green \/ M 54-56","option1":"Cactus Green","option2":"M 54-56","option3":null,"sku":"DM.M.373C.3.1","requires_shipping":true,"taxable":true,"featured_image":{"id":86349317996927,"product_id":15050913874303,"position":2,"created_at":"2026-07-08T16:37:52+01:00","updated_at":"2026-07-08T16:37:56+01:00","alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","width":320,"height":212,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076","variant_ids":[55391355076991,55391355142527,55391355208063,55391355273599,55391355339135,55391355404671]},"available":true,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green \/ M 54-56","public_title":"Cactus Green \/ M 54-56","options":["Cactus Green",
    • "taxable":true,"featured_image":{"id":86349317996927,"product_id":15050913874303,"position":2,"created_at":"2026-07-08T16:37:52+01:00","updated_at":"2026-07-08T16:37:56+01:00","alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","width":320,"height":212,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076","variant_ids":[55391355076991,55391355142527,55391355208063,55391355273599,55391355339135,55391355404671]},"available":false,"name":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green \/ XL 60-62","public_title":"Cactus Green \/ XL 60-62","options":["Cactus Green","XL 60-62"],"price":350000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"Argon 18 Dark Matter Shimano GRX RX610\/822 - Cactus Green","id":71714641478015,"position":2,"preview_image":{"aspect_ratio":1.509,"height":212,"width":320,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side _da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373A.3.1_side_9c0f8926-9a6e-4fb0-ae19-88c0566b2ea6.png?v=1783525077","\/\/projektride.co.uk\/cdn\/shop\/files\/DM.M.373C.3.1_side_da752e05-177f-4df1-acfc-d0e9ec71a6d8.png?v=1783525076","\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Closeup-Guard_5e135b92-30ae-4660-9c37-26c9d0393d42.jpg?v=1783525076","\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Closeup-Cockpit_f0be1993-9b33-455c-ba08-fc1f74e07946.jpg?v=1783525077","\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Front_952bfb1a-d7b6-46ac-af77-6e38029d74b1.jpg?v=1783525076","\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Closeup-Tire-Clearance_085f4346-353c-4bc6-8ff4-604ecbab2c66.jpg?v=1783525076"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/
    • th":2048,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Front_952bfb1a-d7b6-46ac-af77-6e38029d74b1.jpg?v=1783525076"},"aspect_ratio":1.401,"height":1462,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Front_952bfb1a-d7b6-46ac-af77-6e38029d74b1.jpg?v=1783525076","width":2048},{"alt":null,"id":71714641609087,"position":6,"preview_image":{"aspect_ratio":0.549,"height":2048,"width":1124,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Closeup-Tire-Clearance_085f4346-353c-4bc6-8ff4-604ecbab2c66.jpg?v=1783525076"},"aspect_ratio":0.549,"height":2048,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Dark-Matter-DM.M.373C.3.1-Closeup-Tire-Clearance_085f4346-353c-4bc6-8ff4-604ecbab2c66.jpg?v=1783525076","width":1124}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003ch2\u003eArgon 18 Dark Matter Shimano GRX RX610\/822\u003c\/h2\u003e\u003cp\u003eThe Dark Matter is a performance gra vel platform designed for rugged racing and rough adventure, with modern tyre clearance, stable geometry and practical details for longer mixed-terrain rides.\u003c\/p\u003e\u003cp\u003eThis version is supplied in the Shimano GRX RX610\/822 configuration and is available in Anthracite, Cactus Green.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003ePerformance gravel carbon platform\u003c\/li\u003e\n\u003cli\u003eIntegrated cable routing\u003c\/li\u003e\n\u003cli\u003eStorage Optimization System\u003c\/li\u003e\n\u003cli\u003eWide gravel tyre clearance\u003c\/li\u003e\n\u003cli\u003eBuilt for gravel racing and rough adventure riding\u003c\/li\u003e\n\u003cli\u003eAvailable sizes: XXS 44-46, XS 47-50, S 51-53, M 54-56, L 57-59 and XL 60-62\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eKey specification\u003c\/h3\u003e\u003ctable\u003e\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eFrame\u003c\/th\u003e\n\u003ctd\u003eDark Matter\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth\u003eFork\u003c\/th\u003e\
    • estockRocketConfig.variantsPreorderCountForMarket = {55391355109759 : null,55391355175295 : null,55391355240831 : null,55391355306367 : null,55391355371903 : null,55391355437439 : null,55391355076991 : null,55391355142527 : null,55391355208063 : null,55391355273599 : null,55391355339135 : null,55391355404671 : null,}; window._RestockRocketConfig.variantsPreorderMaxCount = {55391355109759 : parseInt(""),55391355175295 : parseInt(""),55391355240831 : parseInt(""),55391355306367 : parseInt(""),55391355371903 : parseInt(""),55391355437439 : parseInt(""),55391355076991 : parseInt(""),55391355142527 : parseInt(""),55391355208063 : parseInt(""),55391355273599 : parseInt(""),55391355339135 : parseInt(""),55391355404671 : parseInt(""),}; window._RestockRocketConfig.variantsPreorderMaxCountForMarket = {55391355109759 : null,55391355175295 : null,55391355240831 : null,55391355306367 : null,55391355371903 : null,55391355437439 : null,55391355076991 : null,55391355142527 : null,55391355208063 : null,55391355273599 : null,55391355339135 : null,55391355404671 : null,}; window._RestockRocketConfig.variantsShippingText = {55391355109759 : "",55391355175295 : "",55391355240831 : "",55391355306367 : "",55391355371903 : "",55391355437439 : "",55391355076991 : "",55391355142527 : "",55391355208063 : "",55391355273599 : "",55391355339135 : "",55391355404671 : "",}; window._RestockRocketConfig.variantsShippingTextForMarket = {55391355109759 : null,55391355175295 : null,55391355240831 : null,55391355306367 : null,55391355371903 : null,55391355437439 : null,55391355076991 : null,55391355142527 : null,55391355208063 : null,55391355273599 : null,55391355339135 : null,55391355404671 : null,}; window._RestockRocketConfig.selected_variant_id = 55391355240831; window._RestockRocketConfig.selected_variant_available = window._RestockRocketConfig.product.variants.find(function(variant) { return variant.id == window._RestockRocketConfig.selected_variant_id }).available; try { var _sqCfg = window._RestockRocketConfig;
    • .com/extensions/01a02e07-dbb4-7095-b583-75a731d28dc5/restockrocket-1-566/assets/restockrocket-collection-bis.js' window._RestockRocketConfig.scriptHost = window._RestockRocketConfig.scriptUrlProduct.substring(0, window._RestockRocketConfig.scriptUrlProduct.lastIndexOf('/') + 1) window._RestockRocketConfig.host = (window._RestockRocketConfig.cachedSettings && window._RestockRocketConfig.cachedSettings.api_host) || 'https://app.restockrocket.io' try { const _stoqVersionMatch = window._RestockRocketConfig.scriptHost.match(/(\d+)\/?(?:assets\/?)?$/); window._RestockRocketConfig.appVersion = (_stoqVersionMatch && _stoqVersionMatch[1]) || ''; } catch (e) { window._RestockRocketConfig.appVersion = ''; } const SETTINGS_CACHE_DURATION = 15 * 60 * 1000; const LIQUID_CACHE_MAX_AGE = 15 * 60; const liquidRenderedAt = window._RestockRocketConfig.liquidRenderedAt; if (!liquidRenderedAt || typeof liquidRenderedAt !== 'number' || isNaN(liquidRenderedAt)) { console.debug('STOQ - Invalid or mi ssing liquidRenderedAt timestamp, assuming fresh'); window._RestockRocketConfig.isLiquidCacheFresh = true; window._RestockRocketConfig.liquidCacheAge = null; } else { const now = Math.floor(Date.now() / 1000); const liquidCacheAge = now - liquidRenderedAt; window._RestockRocketConfig.liquidCacheAge = Math.max(0, liquidCacheAge); if (liquidCacheAge
    • < = LIQUID_CACHE_MAX_AGE) { console.debug(`STOQ - Liquid cache is fresh (${Math.round(liquidCacheAge / 60)} minutes old)`); window._RestockRocketConfig.isLiquidCacheFresh = true; } else { console.debug(`STOQ - Liquid cache is stale (${Math.round(liquidCacheAge / 60)} minutes old, max ${Math.round(LIQUID_CACHE_MAX_AGE / 60)} minutes)`); window._RestockRocketConfig.isLiquidCacheFresh = false; } } 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; } if (settings.multi_language_enabled) { if (!settings.translations) { console.debug('STOQ - multi-language enabled but no translation data in cache, fetching fresh'); return null; } if (window._RestockRocketConfig.normalizedLocale &
    • SETTINGS_CACHE_DURATION) { console.debug('STOQ - settings changed recently, skipping cache'); return null; } return settings; } catch (error) { console.debug('STOQ - Error checking settings cache:', error); return null; } } function createRestockRocketContainer() { const restockRocketContainer = document.createElement('div'); restockRocketContainer.id = 'restock-rocket'; document.body.appendChild(restockRocketContainer); } function createRestockRocketScript(scriptUrl) { const restockRocketScriptElement = document.createElement('script'); restockRocketScriptElement.setAttribute('defer', 'defer'); restockRocketScriptElement.src = scriptUrl; document.body.appendChild(restockRocketScriptElement); } createRestockRocketContainer() console.debug('STOQ - extension activated') try { const _stoqInitConfig = window._RestockRocketConfig; const _stoqDetectedVariantIds = (_stoqInitConfig.product && Array.isArray(_stoqI nitConfig.product.variants)) ? _stoqInitConfig.product.variants.map(function(v) { return v.id }) : []; const _stoqSelectedVariantId = _stoqInitConfig.selected_variant_id; var _stoqPageSeq = 0; try { _stoqPageSeq = (parseInt(window.sessionStorage.getItem('_stoq_pls') || '0', 10) || 0) + 1; window.sessionStorage.setItem('_stoq_pls', String(_stoqPageSeq)); } catch (e) { } Shopify?.analytics?.publish?.('stoq_initialized', { cart_token: _stoqInitConfig.cartToken || '', page_url: window.location.href, page_type: _stoqInitConfig.pageType || '', shop_domain: _stoqInitConfig.shop || '', market_id: _stoqInitConfig.marketId || '', country_code: _stoqInitConfig.countryIsoCode || '', detected_variant_ids: _stoqDetectedVariantIds, selected_variant_id: _stoqSelectedVariantId || '', page_load_seq: _stoqPageSeq, liquid_rendered_at: _stoqInitConfig.liquidRenderedAt || 0, app_version: _stoqInitConfig.appVersion || '',
    • ck.product.id) || '', channel: channel, market_id: _sqTrack.marketId || '', country_code: _sqTrack.countryIsoCode || '', page_type: _sqTrack.pageType || '', cart_token: _sqTrack.cartToken || '', page_url: (window.location && window.location.href) || '', properties: { is_preorder_variant: (function () { var vid = Number(variantId); var has = function (a) { return Array.isArray(a) && a.indexOf(vid) !== -1; }; return has(_sqTrack.preorderVariantIds) || has(_sqTrack.cachedPreorderVariantIds && _sqTrack.cachedPreorderVariantIds.preorder_variant_ids); })(), in_enabled_plan: !!_sqPlan, is_instock_variant: (function () { var has = function (a) { return Array.isArray(a) && a.indexOf(_sqVidNum) !== -1; }; return has(_sqTrack.inStockVariantIds) || h as(_sqTrack.cachedInStockVariantIds && _sqTrack.cachedInStockVariantIds.in_stock_variant_ids); })(), enrolled_plan_id: (_sqPlan && (_sqPlan.shopify_selling_plan_id || _sqPlan.shopify_selling_plan_group_id)) || '', enrolled_plan_provider: (_sqPlan && _sqPlan.inventory_provider) || '', block_enabled: !!(_sqTrack.cachedSettings && _sqTrack.cachedSettings.block_accelerated_checkout), gate_armed: !!_sqTrack.acceleratedGateArmed, gate_active_at_click: !!(document.documentElement && document.documentElement.classList.contains('stoq-buy-now-pending')), blocked: (function () { try { var rr = window._RestockRocket; return !!(rr && typeof rr.willBlockAcceleratedClick === 'function' && rr.willBlockAcceleratedClick(e)); } catch (err) { return false; } })(), }, });
    • - no cart selling plan updates needed'); } }) .catch(error => { console.error('STOQ - error updating cart selling plans:', error); }); } }); } (function loadStorefrontSettings() { const cfg = window._RestockRocketConfig; if (!cfg.storefrontAccessToken || cfg.disableStorefrontApi === true) return; function run() { const query = 'query StoqSettings($namespace: String!) { shop { metafield(namespace: $namespace, key: "settings") { value } } }'; fetch( `https://${cfg.shop}/api/2025-07/graphql.json`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Shopify-Storefront-Access-Token': cfg.storefrontAccessToken, }, body: JSON.stringify({ query: query, variables: { namespace: cfg.metafieldNamespace } }), } ) .then(function(response) { if (!response.ok) { throw new Error('Storefront API HTTP ' + response.s tatus); } return response.json(); }) .then(function(body) { if (body && body.errors && body.errors.length) { throw new Error('Storefront API errors: ' + body.errors.map(function(e) { return e && e.message; }).join(', ')); } const value = body && body.data && body.data.shop && body.data.shop.metafield && body.data.shop.metafield.value; if (!value) { throw new Error('Storefront API returned no settings metafield value'); } cfg.storefrontSettings = JSON.parse(value); console.debug('STOQ - stored live settings from Storefront API on config.storefrontSettings'); }) .catch(function(e) { console.debug('STOQ - Storefront settings fetch failed (non-fatal):', e && e.message); }); } if (typeof window.requestIdleCallback === 'function') { window.requestIdleCallback(run, { timeout: 5000 }); } else { setTimeout(run, 0); } })(); const cachedSettings = window._RestockRocketConfig.cachedSett
    • console.error('STOQ - apply failed for ' + endpoint + ':', applyError); throw applyError; } }) .catch(function(error) { console.debug(`STOQ - using cached ${endpoint}:`, error.message); }); } function initializeScripts(settings) { settings = applyTranslations(settings); window._RestockRocketConfig.settings = settings; console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}`); if (!window._RestockRocketConfig.isLiquidCacheFresh && !settings.disable_refresh_on_stale_liquid) { console.debug('STOQ - Liquid cache stale, refreshing selling_plans + integrations'); Promise.race([ Promise.all([ fetchEmbedConfig('selling_plans', function(data) { if (data && Array.isArray(data.plans)) { window._RestockRocketConfig.sellingPlans = data.plans; window._RestockRocketConfig.disabledSellingPlanIds = data.disabled_plan_ids || []; } }), fetchEmbed Config('integrations', function(data) { if (Array.isArray(data)) { window._RestockRocketConfig.integrations = data; } }) ]), new Promise(function(resolve) { setTimeout(resolve, 1000); }) ]).then(function() { loadScripts(settings); }); return; } loadScripts(settings); } function loadScripts(settings) { 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); }) const hasEnabledOffer = Array.isArray(window._RestockRocketConfig.sellingPlans) && window._RestockRocketConfig.sellingPlans.some(function(plan) { return plan && plan.enabled; }); const hasDisabledPlanIds = Array.isArray(window._RestockRocketConfig.disabledSellingPlanIds) && w
    • html.stoq-buy-now-pending .shopify-payment-button{pointer-events:none!important}