Header Image
Western Sahara (MADد.م.)

Zimbabwe (USD$)
© 2026, ProjektRide. Diners Club Klarna MaestroPayPal
Shop Pay
window._RestockRocketConfig = window._RestockRocketConfig || {} // Stoq is the current name of the app (RestockRocket is the legacy name). // Expose _Stoq / _StoqConfig as live aliases of the same objects so both names // work. Done here, before the JS bundles run, and the bundles only ever do // `window._RestockRocket = window._RestockRocket || {}` (never reassign), so // every method/config added later is visible on both names. window._RestockRocket = window._RestockRocket || {} window._Stoq = window._RestockRocket window._StoqConfig = 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.liquidRenderedAt = 1781818944;window._RestockRocketConfig.marketId = 382140642;window._RestockRocketConfig.countryName = 'United Kingdom'; window._RestockRocketConfig.countryIsoCode = 'GB';window._RestockRocketConfig.cartInventoryQuantity = {};// cart.token falls back to the `cart` cookie when the Liquid context didn't carry one // (some page types render with cart={} until first interaction). if (!window._RestockRocketConfig.cartToken) { try { const m = document.cookie.match(/(?:^|;\s*)cart=([^;]+)/); if (m && m[1]) window._RestockRocketConfig.cartToken = decodeURIComponent(m[1]); } catch (e) { /* cookie unavailable */ } }window._RestockRocketConfig.cachedSettings = {"id":38500,"shop_id":38436,"currency":"GBP","created_at":"2025-07-26T09:13:57.337Z","updated_at":"2025-12-28T14:44:23.508Z","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":{"disableDebugLoggingForNonPreorderItem":false},"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_allowed_countries":[],"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":"afterend","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_channel_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_selector":"","preorder_button_out_of_stock_text":"Out of stock","preorder_button_add_to_cart_text":"Add to cart","preorder_form_selector":"form[action*=\"/cart/add\"]","preorder_collection_enabled":false,"preorder_collection_form_selector":"form[action*=\"/cart/add\"]","preorder_collection_add_to_cart_button_selector":"form[action*=\"/cart/add\"] button","preorder_index_enabled":false,"preorder_index_form_selector":"form[action*=\"/cart/add\"]","preorder_index_add_to_cart_button_selector":"form[action*=\"/cart/add\"] button","preorder_page_enabled":false,"preorder_page_form_selector":"form[action*=\"/cart/add\"]","preorder_page_add_to_cart_button_selector":"form[action*=\"/cart/add\"] button","preorder_search_enabled":false,"preorder_search_form_selector":"form[action*=\"/cart/add\"]","preorder_search_add_to_cart_button_selector":"form[action*=\"/cart/add\"] button","preorder_collection_badge_selector":null,"preorder_index_badge_selector":null,"preorder_page_badge_selector":null,"preorder_search_badge_selector":null,"preorder_badge_selector_type":"afterend","preorder_collection_badge_selector_type":"afterend","preorder_button_child_selector":"span","preorder_button_disclaimer_insert_selector":"","preorder_button_disclaimer_insert_selector_type":"afterend","preorder_payment_insert_selector":"","preorder_payment_insert_selector_type":"afterend","preorder_price_container_selector":"","preorder_price_container_selector_insert_type":"afterend","preorder_terms_insert_selector":"","preorder_terms_insert_selector_type":"afterend","preorder_original_price_selector":"","preorder_price_format":"{{amount}} {{currency}}","show_badge_if_any_variant_is_preorder":false,"enable_console_debug":false,"inline_form_enabled":false,"inline_form_selector":null,"inline_form_selector_type":"afterend","storefront_form_prefill_customer":true,"storefront_form_show_image":false,"storefront_form_text_color":"#202223","storefront_form_background_color":"#FFFFFF","storefront_form_border_radius":0,"market_setup_type":"single_market","shopify_app_id":5940125,"preorder_progress_bar_insert_selector":null,"preorder_progress_bar_insert_selector_type":"beforebegin","countdown_timer_insert_selector":null,"countdown_timer_insert_selector_type":"afterend","cache":true,"cached_at":"2026-01-08T16:12:13.364Z","multi_language_enabled":false,"translation_locale":"en"};window._RestockRocketConfig.cachedPreorderVariantIds = {"preorder_variant_ids":[42140096102626,42167799447778,43916521013474,43934694998242,43934695031010,43934695620834,43935975440610,43935975473378,43935989399778,43935989432546,43935990284514,43935994118370,43935995625698,43935995855074,43936000835810,43936003195106,43936003227874,43936008012002,43936008044770,43936022757602,43936022790370,43936022823138,43936022855906,43936056115426,43936061030626,43936064930018,43936070631650,43936078037218,43936078069986,43936088195298,43936093470946,43936101138658,43936107266274,43936124076258,43936124109026,43936124141794,43936124174562,43936129941730,43936129974498,43936130007266,43936142393570,43936142426338,43936142459106,43936152060130,43936152092898,43936152125666,43936193118434,43936250429666,43936255803618,43936266682594,43936266715362,43936293978338,43936294011106,43936316424418,43936316457186,43936320880866,43936320913634,43936320946402,43936327041250,43936327074018,43936327106786,43936331661538,43936332349666,43936333103330,43936351224034,43936353714402,43936362889442,43936362922210,43936388153570,43936389333218,43936395526370,43936398508258,43936401522914,439364085685184738,42161483514082,42161483546850,42161703092450,42161703125218,42161769218274,42162395414754,42162395447522,42165834744034,42165834776802,42166810804450,42167775494370,42167775527138,42167775559906,42170449199330,42170867777762,42170877313250,42170946879714,42170955464930,42170967982306,42205154148578,42205154181346,42205161849058,42205166207202,42205172990178,42205173022946,42205173055714,42205173088482,42205173121250,42205174989026,42205175021794,42205175054562,42205176430818,42205176463586,42205176496354,42205176529122,42205177118946,42205177151714,42205177184482,42205177217250,42205201694946,42205201727714,42207124095202,42207132156130,42211700244706,42211700277474,42211700375778,42211813359842,42211813392610,42211813425378,42211813458146,42211813490914,42215353909474,42215353942242,42215353975010,42215354007778,42309115412706,42354619154658,42354619482338,42354619547874,42354669027554,42354669093090,42452285784290,42500482498786,42514860802274,42514860835042,42514860867810,42543702376674,42562562490
43933112926434,43933115220194,43933117382882,43933117415650,43933117448418,43934683922658,43934711349474,43934711382242,43936656326882,43936656392418,43936656425186,43936664879330,43936664912098,43936665010402,43936684310754,43936684343522,43936684409058,43936684441826,43936694763746,43936694796514,43936694829282,43936694862050,43936694894818,43936694927586,43936694960354,43936694993122,43981329137890,43981329170658,44049903780066,44049911185634,44049932779746,44049932878050,44049933041890,44140579160290,44199623688418,44199668023522,44199668056290,44199668089058,44199675560162,44199675592930,44199675625698,44199689257186,44199689289954,44202699653346,44202699686114,44215801413858,44330700374242,44393934487778,44441822789858,44441822822626,44441826590946,44455205372130,44455223132386,44455241941218,44459099455714,44462104314082,44566556410082,44566558343394,44566559719650,44566560735458,44566561521890,44891525611746,44891526463714,44891527872738,44891531313378,44891532951778,44891533869282,44891533902050,4489
164898,45662747197666,45662784782562,45662784815330,45662784848098,45662784880866,45662784913634,45662788518114,45662788550882,45662788583650,45662788616418,45662788649186,45662860017890,45662860050658,45662860083426,45662860116194,45662860148962,45662860181730,45662860214498,45662860247266,45662860280034,45662860312802,45662860345570,45662860378338,45662860411106,45662934728930,45662934761698,45662934794466,45662934827234,45662934860002,45662934892770,45662934925538,45662934958306,45662975295714,45662975328482,45662975361250,45662975394018,45662975426786,45662975459554,45662975492322,45662975525090,45662975557858,45662975590626,45662975623394,45662975656162,45663035818210,45663035850978,45663035883746,45663035916514,45663035949282,45663035982050,45663036047586,45663036080354,45663036113122,45663036145890,45663059575010,45664124010722,45664124043490,45664124109026,45664132563170,45664132595938,45664155533538,45664159236322,45664159301858,45671617593570,45671617691874,45671617724642,45671617790178,4567161880595817765986530,45817766117602,45817769459938,45817769525474,45817769591010,45817770279138,45817770311906,45817770344674,45817770377442,45817770410210,45817773261026,45817776144610,45817776177378,45817776210146,45817780601058,45817780633826,45817780666594,45817780732130,45820457779426,45820457812194,45820457844962,45820457877730,45820457910498,45820457943266,45820457976034,45820458008802,45820514762978,45820514795746,45820517220578,45820519121122,45820519153890,45820527444194,45820527476962,45820546908386,45820546941154,45820547006690,45820551495906,45820551528674,45820551561442,45820551594210,45820575875298,45820575908066,45820575940834,45820590981346,45820591014114,45820624994530,45820625027298,45820630040802,45820633120994,45820633153762,45820633186530,45820633219298,45823204065506,45823204098274,45823204131042,45823204163810,45823204196578,45823204229346,45823204262114,45823204294882,45823204327650,45823204360418,45823204393186,45823204425954,45823219564770,45823219597538,45823219630306,45823219663074,45823
17154,45823233949922,45823233982690,45823234015458,45823234048226,45823234080994,45823234113762,45823234146530,45823768559842,45823768592610,45823768625378,45823768658146,45823768690914,45823768723682,45823768756450,45823768789218,45823768821986,45823768854754,45823768887522,45823768920290,45823768953058,45823768985826,45823769018594,45823769051362,45823769084130,45823769116898,45823769149666,45823769182434,45823769215202,45823769247970,45823769280738,45823769313506,45823769379042,45823769411810,45823769444578,45823769477346,45823769510114,45823769542882,45823769575650,45823865815266,45823865848034,45823865880802,45823865913570,45823865946338,45823865979106,45823866011874,45823866044642,45823866077410,45823866110178,45823866142946,45823866175714,45823866208482,45823866241250,45823866274018,45823866306786,45823866339554,45823866372322,45823866405090,45823866437858,45824032440546,45824032473314,45824032506082,45824032538850,45824032571618,45824032604386,45824032637154,45824032669922,45824032702690,4582413215357
824374767842,45824374800610,45824374833378,45824374866146,45824374898914,45824374931682,45824374964450,45824374997218,45824375029986,45824375062754,45824375095522,45824375128290,45824375161058,45824375193826,45824375226594,45824375259362,45824375292130,45824375324898,45824384434402,45824384467170,45824384499938,45824384532706,45824384565474,45824384598242,45824384631010,45824384663778,45824384696546,45824385515746,45824385548514,45824385581282,45824385614050,45824385646818,45824385679586,45824385712354,45824385745122,45824385777890,45824388956386,45824389054690,45824389120226,45824389185762,45824389218530,45824389284066,45824389316834,45824389349602,45824389382370,45824389415138,45824389447906,45824389480674,45824389513442,45824389546210,45824389578978,45824394887394,45824394920162,45824423035106,45824423067874,45824423100642,45824423198946,45824477069538,45824477102306,45824477135074,45824477167842,45824477200610,45824492372194,45824492404962,45824492470498,45824504922338,45824504955106,45824505020642,458245
4402,45828849107170,45828849139938,45828849172706,45828849205474,45828849238242,45828849271010,45828849303778,45828849336546,45828849369314,45828849402082,45828849434850,45828849467618,45828849500386,45828849533154,45828849565922,45828849598690,45828849631458,45828849664226,45828849696994,45828849729762,45828849762530,45828849795298,45828849828066,45828849860834,45828849893602,45828849926370,45828849959138,45828849991906,45828850024674,45828850057442,45828850090210,45828850122978,45828850155746,45828850188514,45828850221282,45828850254050,45828850286818,45828873814242,45828873847010,45828873879778,45828873912546,45828873945314,45828873978082,45828874010850,45828874043618,45828886429922,45828886462690,45828886495458,45828886528226,45828894621922,45828894654690,45828894687458,45828941611234,45828941644002,45828941676770,45828941709538,45828941742306,45828974051554,45829018910946,45829033558242,45829033623778,45829052432610,45830783205602,45830783238370,45830795133154,45830795198690,45830795231458,45830795264226
43893780706,45843893813474,45843893846242,45843893879010,45843893911778,45843893944546,45843974062306,45844333854946,45844333887714,45844355809506,45844355842274,45844355907810,45844355940578,45844547043554,45844547076322,45844547109090,45844547141858,45856716652770,45856716685538,45856716718306,45856731791586,45856731824354,45856731889890,45856739131618,45856739164386,45856739197154,45856739229922,45856739262690,45856739295458,45856739328226,45856739360994,45856739393762,45856739426530,45856739459298,45856739492066,45856739524834,45856739557602,45856739590370,45856739623138,45856748732642,45856766951650,45856766984418,45856767017186,45856767049954,45856767082722,45856767115490,45857406288098,45857466777826,45857466810594,45857466843362,45857466876130,45857466908898,45857466941666,45857466974434,45857467007202,45857467039970,45857780138210,45857780203746,45857780236514,45863184957666,45863184990434,45952080281826,45952102858978,46007564533986,46007564566754,46007565222114,46007565254882,46007565680866,4600756

  • led_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 window._RestockRocketConfig.disabledSellingPlanIds = []; console.debug('[RR] Using selling plans from old format (max updated_at: ' + maxUpdatedAt + ')'); } } })();window._RestockRocketConfig.enabledNotifyMeVariantIds = [];window._RestockRocketConfig.disabledNotifyMeVariantIds = [];window._RestockRocketConfig.backInStockTemplates = [];window._RestockRocketConfig.restockNotes = {};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"],"configura
722607240"},"aspect_ratio":1.333,"height":1000,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/ftp_f_freewheel_imagessportlinefwbikesrb22730_detail04.webp?v=1722607240","width":1333},{"alt":null,"id":34382359658722,"position":6,"preview_image":{"aspect_ratio":1.618,"height":948,"width":1534,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/ftp_f_freewheel_imagessportlinefwbikesrb22730_detail03.webp?v=1722607240"},"aspect_ratio":1.618,"height":948,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/ftp_f_freewheel_imagessportlinefwbikesrb22730_detail03.webp?v=1722607240","width":1534},{"alt":null,"id":34382359691490,"position":7,"preview_image":{"aspect_ratio":1.534,"height":1000,"width":1534,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/ftp_f_freewheel_imagessportlinefwbikesrb22730_detail02.webp?v=1722607240"},"aspect_ratio":1.534,"height":1000,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/ftp_f_freewheel_imagessportlinefwbikesrb22730_detail02.webp?
stockRocketConfig.variantsPreorderMaxCountForMarket = {45764621664482 : null,45764621697250 : null,}; window._RestockRocketConfig.variantsShippingText = {45764621664482 : "",45764621697250 : "",}; window._RestockRocketConfig.variantsShippingTextForMarket = {45764621664482 : null,45764621697250 : null,}; window._RestockRocketConfig.selected_variant_id = 45764621664482; 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/019ecfe3-4ce2-7592-b7ce-9ed4a1b98146/restockrocket-1-530/assets/restockrocket-product.js' window._RestockRocketConfig.scriptUrlCollection = 'https://cdn.shopify.com/extensions/019ecfe3-4ce2-7592-b7ce-9ed4a1b98146/restockrocket-1-530/assets/restockrocket-collection.js' window._RestockRocketConfig.scriptUrlProductBis = 'https://cdn.shopify.cBook a Service
<
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
= 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; } // 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 Cycle to Work
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 age = Date.now() - updatedAt.getTime(); if (age
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') // Fire stoq_initialized once per page load so the funnel pipeline has a definitive // "our code ran on this page" signal independent of any cus

Frequently Asked Questions ctedVariantId || '', liquid_rendered_at: _stoqInitConfig.liquidRenderedAt || 0, app_version: _stoqInitConfig.appVersion || '', liquid_cache_age: _stoqInitConfig.liquidCacheAge, // Selected variant's stock posture as our app saw it at render — explains // whether we *should* have treated it as a preorder candidate. inventory_policy: (_stoqInitConfig.variantsInventoryPolicy || {})[_stoqSelectedVariantId] || '', inventory_quantity: (_stoqInitConfig.variantsInventoryQuantity || {})[_stoqSelectedVariantId], }); } catch (e) { console.debug('STOQ - stoq_initialized publish failed:', e); } function applyTranslations(settings) { try { // Skip translation logic entirely if multi-language is not enabled if (!settings || !settings.multi_language_enabled) { return settings; } if (!settings.translations) { console.debug('STOQ - No translations found, skipping translation'); return settings; } const nDelivery & Returns

ocale); } delete settings.translations; return settings; } catch (e) { console.debug('STOQ - error applying translations:', e); return settings; } } // Setup event listener for cart selling plan updates // This must be called before any scripts are loaded to avoid race conditions function setupCartSellingPlanUpdater(settings) { // Setup listener regardless - updateCartSellingPlans has its own guards // This ensures cleanup happens even when preorders are disabled globally // Listen for stoq:inventory-data-loaded event dispatched by api.js window.addEventListener('stoq:inventory-data-loaded', function(event) { console.debug('STOQ - Inventory data loaded, updating cart selling plans'); if (window._RestockRocket && window._RestockRocket.updateCartSellingPlans) { window._RestockRocket.updateCartSellingPlans() .then(hasUpdates => { if (hasUpdates) { console.debug('STOQ - cart selling plans update
ma-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 fetchEmbedConfig(endpoint, apply) { return fet ); } function initializeScripts(settings) { settings = applyTranslations(settings); window._RestockRocketConfig.settings = settings; console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}`); // Stale-Liquid resilience (default-on, per-shop opt-out via the // `disable_refresh_on_stale_liquid` Toggle, surfaced as the negative // `disable_refresh_on_stale_liquid` flag in settings.json so that // `undefined` -- in CDN-cached metafield payloads that predate this // key -- reads as `!undefined === true` and gets default-on behavior // immediately, no metafield rewrite required). // When the Liquid CDN cache is older than LIQUID_CACHE_MAX_AGE the in-page // selling_plans / integrations metafields can be wrong; refresh both from // the API before launching scripts. Race against a 1000ms timeout so a slow // API can't block init indefinitely. If the timeout wins, the in-flight // fetches still complete and update window._RestoInformation
  • = data; } }) ]), new Promise(function(resolve) { setTimeout(resolve, 1000); }) ]).then(function() { loadScripts(settings); }); return; } loadScripts(settings); } function loadScripts(settings) { // 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); }) // STOQ-1520: serve the lean back-in-stock-only build (no preorder/hijack code) // only to shops with NO preorder plans. Use the full build if preorder is on, // an enabled offer exists, or a disabled-but-kept plan id remains (cart sweep // must still strip those). Rationale in the PR. const hasEnabledOffer = ArraMon - Fri: 09:00 - 18:30Sun: Closed
    0131 374 5324

    Newington RoadEdinburghEH9 1QN[email protected][email protected]) where on of the team will be more than happy to help.

    ProjektRide Bike Shop Edinburgh

  • await import("//projektride.co.uk/cdn/shopifycloud/shop-js/modules/v2/loader.shop-follow-button.en.esm.js");

    If the item is showing in stock, we aim to post the product within 24 hours. Please allow 5 working days to receive the item.

    Postage is free on orders over £50. Orders under £50, our postage charge is £3.99.

    We also have a physical store, if you are local please pop in -

    ProjektRide Bike Shop EdinburghCountry

    82 Newington Road, EH91QN, Edinburgh.