img src="//projektride.co.uk/cdn/shop/products/Screenshot2021-12-17at13.24.03_2048x2048.png?v=1639747660" alt="ROCKSHOX REVERB AXS SEATPOST (30.9)" class="mfp-zoom-in-cur" id="28866010644706">
shopify.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 notificatio
","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":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_pa
dex_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_in img src="//projektride.co.uk/cdn/shop/products/Screenshot2021-12-17at13.20.20_98x.png?v=1639747661" alt="" class="product-single__thumbnail-img">
ainer_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,"market_setup_type":"single_market","shopify_app_id":5940125,"cache":true,"cached_at":"2025-11-11T14:27:02.333Z","multi_language_enabled":false,"translation_locale":"en"};window._RestockRocketConfig.cachedPreorderVariantIds = {"preorder_variant_ids":[42167799447778,43590980075746,43916521013474,43934694998242,43934695031010,43934695620834,43935975440610,43935975473378,43935989399778,43935989432546,43935990284514,43935994118370,43935995625698,43935995855074,43936000835810,43936003195106,43936003227874,43936008012002,43936008044770,43936022757602,43936022790370,43936022823138,43936022855906,439360
1938,43981336084706,43981336117474,43981336150242,43981345587426,43981345620194,43981345652962,43981345685730,43981357580514,43981357613282,43981362462946,43981362495714,43981362528482,43981369016546,43981369049314,43981374914786,43981374947554,43981374980322,43981392904418,43981695844578,43981695877346,43981695910114,43981695942882,43981986070754,43981987905762,43981987938530,44052906967266,44052907327714,44052907360482,44052907393250,44052907426018,44052907458786,44052907491554,44052909097186,44052909129954,44140302827746,44140302893282,44140317016290,44155590508770,44155590541538,44155594211554,44155594244322,44155594277090,44155594309858,44155594342626,44155594375394,44155594440930,44155594473698,44155594506466,44195991847138,44195991945442,44329993437410,44329993470178,44329993502946,44329993535714,44329993568482,44957136584930,44957136781538,44957136945378,45068753961186,45068753993954,45069622640866,45069622903010,45069622968546,45069750730978,45069750763746,45353010921698,45353010954466,45353010987234
140642";window._RestockRocketConfig.cachedVariantShippingTexts = {"variant_shipping_texts":{},"updated_at":"2025-12-07T18:19:18Z","shopify_market_id":382140642,"market_locations_enabled":false};
window._RestockRocketConfig.cachedVariantShippingTextsMarketKey = "variant_shipping_texts_for_market_382140642";window._RestockRocketConfig.sellingPlans = [{"shopify_selling_plan_group_id":98590196095,"shopify_selling_plan_id":713071886719,"enabled":true,"variant_ids":[55569933140351,55569712382335,55569712415103,55569712480639,55569933173119,55570017616255,55569933074815,55570017550719,55569712447871,55569933107583,55570017583487],"product_variants_source":"custom","name":"Preorder","preorder_button_text":"Preorder","preorder_button_description":"Note: This is a preorder. Items will ship based on the estimated delivery date.","preorder_button_description_background_color":"#ebebeb","preorder_button_description_text_color":"#000000","preorder_button_description_border_radius":10,"preorder_button_description_show_q
ge_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_sel
page","cart","list-collections","article","blog"],"configuration":{"toastDuration":10000,"toastPosition":"bottom-right","enableXHRHijack":true,"enableFetchHijack":true,"quantityLimitDisabled":false},"type":"hijack","css_config":null,"js_config":null,"created_at":"2025-07-26T09:16:04.076Z","updated_at":"2025-07-26T09:16:04.076Z"}];window._RestockRocketConfig.obfuscateInventoryQuantity = false;window._RestockRocketConfig.product = {"id":7524204347618,"title":"Surly Disc Trucker Frameset - Pea Lime Soup","handle":"surly-disc-trucker","description":"\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\"\u003eDisc Trucker enjoys the same reputation as Long Haul Trucker: It’s one of the best
ce-fragment=\"1\"\u003e12mm thru-axles for a stiffer feel and increased stability when fully loaded\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eShortened seat tube and slightly sloped top tube for improved stand-over clearance, plus increased stack height for a more upright and comfortable riding position on those long hauls\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eFlat-mount disc brake mounts\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eFrame sizes 42–56cm are available for 26” diameter wheels, while frame sizes 56–64cm are available for 700c diameter wheels\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eClearance for 26” x 2.1” tyres with or without mudguards, or 700c x 47mm with or without mudguards\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThanks for considering ProjektRide for your next purchase. All bikes are fully assembled and test rode before leaving our bike shop in Edinburgh. Please allow 5-7 days for bicycle delivimg src="//projektride.co.uk/cdn/shop/products/Screenshot2021-12-17at13.24.03_98x.png?v=1639747660" alt="" class="product-single__thumbnail-img">
":36611095134434,"product_id":7524204347618,"position":1,"created_at":"2022-01-27T21:15:42+00:00","updated_at":"2022-01-27T21:15:50+00:00","alt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42354619744482,42354619810018,42354619875554]},"available":true,"name":"Surly Disc Trucker Frameset - Pea Lime Soup - 42 \/ Pea Lime Soup","public_title":"42 \/ Pea Lime Soup","options":["42","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{
"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42354619285730,"title":"46 \/ Pea Lime Soup","option1":"46","option2":"Pea Lime Soup","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611095134434,"product_id":7524204347618,"position":1,"created_at":"2022-01-27T21:15:42+00:00","updated_at":"2022-01-27T21:15:50+00:00","alt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42354619744482,42354619810018,42354619875554]},"available":false,"name":"Surly Disc Trucker Frameset - Pea Lime Soup - 46 \/ Pea Lime Soup","public_title":"46 \/ Pea Lime Soup","options":["46","Pea Lime Soup"],"price":95000,"weight":15000,"compa
me":"Surly Disc Trucker Frameset - Pea Lime Soup - 48 \/ Pea Lime Soup","public_title":"48 \/ Pea Lime Soup","options":["48","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42354619416802,"title":"50 \/ Pea Lime Soup","option1":"50","option2":"Pea Lime Soup","option3":null,"sku":"","requires_shipping":true,"taxable":true,"featured_image":{"id":36611095134434,"product_id":7524204347618,"position":1,"created_at":"2022-01-27T21:15:42+00:00","updated_at":"2022-01-27T21:15:50+00:00","alt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220 Homealt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42354619744482,42354619810018,42354619875554]},"available":true,"name":"Surly Disc Trucker Frameset - Pea Lime Soup - 52 \/ Pea Lime Soup","public_title":"52 \/ Pea Lime Soup","options":["52","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42354619547874,"title":"54 \/ Pea Lime Soup","option1":"54","option2":"Pea Lime Soup","option3":null,"sku":"","requires_shipping":true, /lse,"selling_plan_allocations":[]},{"id":42354619613410,"title":"56 \/ Pea Lime Soup","option1":"56","option2":"Pea Lime Soup","option3":null,"sku":"FMSUDTF76G","requires_shipping":true,"taxable":true,"featured_image":{"id":36611095134434,"product_id":7524204347618,"position":1,"created_at":"2022-01-27T21:15:42+00:00","updated_at":"2022-01-27T21:15:50+00:00","alt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42354619744482,42354619810018,42354619875554]},"available":false,"name":"Surly Disc Trucker Frameset - Pea Lime Soup - 56 \/ Pea Lime Soup","public_title":"56 \/ Pea Lime Soup","options":["56","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"prev
Best selling products58","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42354619744482,"title":"60 \/ Pea Lime Soup","option1":"60","option2":"Pea Lime Soup","option3":null,"sku":"FMSUDTF80G","requires_shipping":true,"taxable":true,"featured_image":{"id":36611095134434,"product_id":7524204347618,"position":1,"created_at":"2022-01-27T21:15:42+00:00","updated_at":"2022-01-27T21:15:50+00:00","alt":null,"width":1228,"height":766,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42 /01-27at21.12.50.png?v=1643318150","variant_ids":[42354619154658,42354619220194,42354619285730,42354619351266,42354619416802,42354619482338,42354619547874,42354619613410,42354619678946,42354619744482,42354619810018,42354619875554]},"available":false,"name":"Surly Disc Trucker Frameset - Pea Lime Soup - 62 \/ Pea Lime Soup","public_title":"62 \/ Pea Lime Soup","options":["62","Pea Lime Soup"],"price":95000,"weight":15000,"compare_at_price":null,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":42354619875554,"title":"64 \/ Pea Lime Soup","option1":"64","option2":"Pea Lime Soup","option3":null,"sku":"FMSUDTF84G","requires_shipping":true,"taxable":true,"featured_image":{"id":36611095134434,"product_id":7524204347618,"position":ROCKSHOX REVERB AXS SEATPOST (30.9)/Screenshot2022-01-27at21.12.50.png?v=1643318150","\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-02-22at21.21.42_076b1dce-d885-4d51-9d67-ee3007b91003.png?v=1645565035"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","options":["Size","Colour"],"media":[{"alt":null,"id":29164641943778,"position":1,"preview_image":{"aspect_ratio":1.603,"height":766,"width":1228,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150"},"aspect_ratio":1.603,"height":766,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-01-27at21.12.50.png?v=1643318150","width":1228},{"alt":null,"id":29317883691234,"position":2,"preview_image":{"aspect_ratio":1.921,"height":1170,"width":2248,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2022-02-22at21.21.42_076b1dce-d885-4d51-9d67-ee3007b91003.png?v=1645565035"},"aspect_ratio":1.921,"height":1170,"media_type":"image","src":"\/\/ ROCKSHOX REVERB AXS SEATPOST (30.9)ng power and a horde of useful mounting points, shortened chainstays up the Disc Trucker’s stiffness and maneuverability around corners. Add in improved fit and handling under load, plus captured thru-axles for tool-free removal and installation, and the Disc Trucker is ready to help you meet — or dodge — your daily obligations.\u003c\/p\u003e\n\u003cdiv class=\"experiential\" data-mce-fragment=\"1\"\u003e\n\u003cul data-mce-fragment=\"1\"\u003e\n\u003cli data-mce-fragment=\"1\"\u003eDynamo routing on the fork, plus three-pack mounts on the blade and every braze-on you’ll ever need for racks,mudguards, water bottle cages, and more\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003e12mm thru-axles for a stiffer feel and increased stability when fully loaded\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eShortened seat tube and slightly sloped top tube for improved stand-over clearance, plus increased stack height for a more upright and comfortable riding position on those long hauls\u003c\/
heck.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eAll bike sales include a free running in service after 6-10 weeks.\u003c\/p\u003e\n\u003c\/div\u003e"};
window._RestockRocketConfig.variantsInventoryPolicy = {42354619154658 : "deny",42354619220194 : "deny",42354619285730 : "deny",42354619351266 : "deny",42354619416802 : "deny",42354619482338 : "deny",42354619547874 : "deny",42354619613410 : "deny",42354619678946 : "deny",42354619744482 : "deny",42354619810018 : "deny",42354619875554 : "deny",};
window._RestockRocketConfig.variantsInventoryQuantity = {42354619154658 : parseInt("1"),42354619220194 : parseInt("0"),42354619285730 : parseInt("0"),42354619351266 : parseInt("0"),42354619416802 : parseInt("0"),42354619482338 : parseInt("1"),42354619547874 : parseInt("1"),42354619613410 : parseInt("0"),42354619678946 : parseInt("0"),42354619744482 : parseInt("2"),42354619810018 : parseInt("0"),42354619875554 : parseInt("0"),};
window._RestockRocketConfig.variantsPreorderCount = {42354619154658 : p £750.00 parseInt(""),42354619810018 : parseInt(""),42354619875554 : parseInt(""),};
window._RestockRocketConfig.variantsPreorderMaxCountForMarket = {42354619154658 : null,42354619220194 : null,42354619285730 : null,42354619351266 : null,42354619416802 : null,42354619482338 : null,42354619547874 : null,42354619613410 : null,42354619678946 : null,42354619744482 : null,42354619810018 : null,42354619875554 : null,};
window._RestockRocketConfig.variantsShippingText = {42354619154658 : "",42354619220194 : "",42354619285730 : "",42354619351266 : "",42354619416802 : "",42354619482338 : "",42354619547874 : "",42354619613410 : "",42354619678946 : "",42354619744482 : "",42354619810018 : "",42354619875554 : "",};
window._RestockRocketConfig.variantsShippingTextForMarket = {42354619154658 : null,42354619220194 : null,42354619285730 : null,42354619351266 : null,42354619416802 : null,42354619482338 : null,42354619547874 : null,42354619613410 : null,42354619678946 : null,42354619744482 : null,42354619810018 : null,42354
y {
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
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 &
<
!settings.multi_language_enabled) {
return settings;
}
if (!settings.translations) {
console.debug('STOQ - No translations found, skipping translation');
return settings;
}
const normalizedLocale = window._RestockRocketConfig.normalizedLocale;
const translations = settings.translations;
if (!normalizedLocale) {
// No matching locale has translations; drop payload to save memory
console.debug('STOQ - No matching locale for translations. Available:', Object.keys(translations || {}));
delete settings.translations;
return settings;
}
console.debug(`STOQ - Applying translations for normalized locale: ${normalizedLocale} (original: ${window._RestockRocketConfig.locale})`);
const translatedFields = translations[normalizedLocale];
if (translatedFields && typeof translatedFields === 'object') {
Object.keys(translatedFields).forEach(function(key) {
const value = translatedFields[key
First try to get settings from metafields with expiry check
const cachedSettings = window._RestockRocketConfig.cachedSettings;
const validCachedSettings = cachedSettings ? checkSettingsExpiry(cachedSettings) : null;
if (validCachedSettings) {
console.debug('STOQ - using cached settings');
initializeScripts(validCachedSettings);
} else {
console.debug('STOQ - fetching fresh settings');
const headers = {
'X-Shopify-Shop-Domain': window._RestockRocketConfig.shop || window.Shopify.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}`,
SKU: RSP8064000
(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._RestockRocketConfig.scriptUrlCollection);
} else if(window._RestockRocketConfig.pageType === 'index' && (settings.show_button_on_index || settings.preorder_index_enabled)) {
createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection);
} else if(window._RestockRocketConfig.pageType === 'search' && (settings.show_button_on_search || settings.preorder_search_enabled)) {
createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection);
} else if(window._RestockRocketConfig.pageType === 'page' && (settings.show_button_on_page || settings.preorder_page_enabled)) {
createRestockRocketScript(window._Re
t for the API to be available with retries
const maxRetries = 10;
const retryDelay = 500;
function attemptCartCheck(attempt = 1) {
if (window._RestockRocket && window._RestockRocket.updateCartSellingPlans) {
window._RestockRocket.updateCartSellingPlans()
.then(hasUpdates => {
if (hasUpdates) {
console.debug('STOQ - cart selling plans updated successfully');
} else {
console.debug('STOQ - no cart selling plan updates needed');
}
})
.catch(error => {
console.error('STOQ - error updating cart selling plans:', error);
});
} else if (attempt maxRetries) {
console.debug(`STOQ - API not ready, retry ${attempt}/${maxRetries}`);
setTimeout(() => attemptCartCheck(attempt + 1), retryDelay);
} else {
console.debug('STOQ - API not loaded after max retries, skipping cart selling plan check');
}
}
attemptCartCheck();
}
Size
.restock-rocket-button,.restock-rocket-button-float{opacity:1!important;border:none!important;cursor:pointer!important;background-image:none!important;box-shadow:none!important;padding:15px 20px;font-size:16px;width:100%;font-family:inherit}@font-face{font-family:OpenSans;font-weight:200;src:url(https://d382hokyqag45a.cloudfront.net/assets/OpenSans-Light.woff)}@font-face{font-family:OpenSans;font-weight:300;src:url(https://d382hokyqag45a.cloudfront.net/assets/OpenSans-Regular.woff)}@font-face{font-family:OpenSans;font-weight:600;src:url(https://d382hokyqag45a.cloudfront.net/assets/OpenSans-SemiBold.woff)}.restock-rocket-button-container{position:relative;z-index:1;width:100%}.restock-rocket-button-container-float-right{position:fixed;z-index:123123;top:calc(50% - 200px);right:0;transform:rotate(270deg);transform-origin:bottom right}.restock-rocket-button-container-float-left{position:fixed;z-index:123123;top:calc(50% - 200px);left:40px;transform:rotate(90deg);transform-origin:top left}.restock-rocket-button-container-float-left:hover,.restock-rocket-button-container-float-right:hover,.restock-rocket-button-container:hover,.restock-rocket-button-float:hover,.restock-rocket-button:hover{opacity:.8}.restock-rocket-button{min-height:50px;margin-top:10px;margin-bottom:10px}.restock-rocket-button-collection{position:relative;font-size:13px;line-height:1;padding:7px;height:auto;z-index:3}.restock-rocket-wrapper{background-color:rgba(0,0,0,.5);z-index:123123123;width:100%;height:100%;overflow:auto;position:fixed;right:0;top:0;transition-property:all;transition-duration:.3s;display:flex;flex-direction:column;justify-content:center;}.restock-rocket-wrapper-inline{width:100%;height:100%;margin-top:20px}.restock-rocket-preorder-description{padding:10px 15px;margin-top:20px;display:flex;flex-direction:column;gap:10px;}.preorder-description-details{margin-bottom:0;display:flex;flex-direction:column;gap:10px;}.preorder-detail-item{display:flex;flex-direction:row;justify-content:start;gap:8px;align-items:center;}.restock-rocket-payment-widget{border:1px solid #ebebeb;margin-bottom:20px;}.restock-rocket-payment-option{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:15px 20px;}.restock-rocket-payment-option:not(:last-child){border-bottom:1px solid #ebebeb;}.restock-rocket-payment-input-container{flex:1 1 auto;min-width:0}.restock-rocket-preorder-discount-badge{background:#ebebeb;height:25px;line-height:25px;padding:0 15px;border-radius:25px;font-size:0.8rem;flex:0 0 auto}.restock-rocket-payment-input{margin-right:10px;margin-top:-3px;vertical-align:middle;margin-left:0;accent-color:#202223}.restock-rocket-payment-description{margin-top:4px;flex:1 1 100%}.restock-rocket-preorder-badge{font-size:13px;line-height:1;padding:5px 13px 6px;border-radius:40px;height:auto;border:none;width:auto;z-index:2;margin:0;background:0 0}.preorder-badge-collection{position:absolute;top:10px;right:10px}.preorder-badge-product{margin-left:10px}.restock-rocket-price-str
center;font-size:20px;line-height:1}.restock-rocket-preorder-countdown-timer .countdown-label{font-size:14px;font-weight:500;text-align:center;text-transform:capitalize;opacity:.7}@media (max-width:768px){.restock-rocket-preorder-countdown-timer{padding:14px}.restock-rocket-preorder-countdown-timer .countdown-box{min-width:55px;padding:14px 10px;font-size:26px}.restock-rocket-preorder-countdown-timer .countdown-label{font-size:11px}}@media (max-width:480px){.restock-rocket-preorder-countdown-timer{padding:12px}.restock-rocket-preorder-countdown-timer .countdown-units{width:100%;gap:10px}.restock-rocket-preorder-countdown-timer .countdown-box{width:100%;min-width:50px;padding:12px 8px;font-size:24px}.restock-rocket-preorder-countdown-timer .countdown-label{font-size:10px}}.restock-rocket-toast{position:fixed;cursor:pointer;background:#fff;border:0;min-width:40px;min-height:40px;box-shadow:0 0 15px rgba(0,0,0,.1)!important;z-index:622004;padding:20px 30px;font-family:inherit;font-size:inherit;color:#000;display
0%{transform:translateX(0)}100%{transform:translateX(-100%)}}@-webkit-keyframes slide-out-left{0%{-webkit-transform:translateX(0)}100%{-webkit-transform:translateX(-100%)}}@keyframes slide-out-right{0%{transform:translateX(0)}100%{transform:translateX(100%)}}@-webkit-keyframes slide-out-right{0%{-webkit-transform:translateX(0)}100%{-webkit-transform:translateX(100%)}}
100mm
125mm