t_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","configure_notify_me_enabled":false,"restock_note_insert_selector":null,"restock_note_insert_selector_type":"afterend","restock_note_background_color":"#f3f4f6","restock_note_text_color":"#202223","restock_note_border_radius":4,"preorder_modal_continue_button_text":"Continue","preorder_modal_cancel_button_text":"Cancel","meta_pixel_enabled":false,"meta_pixel_id":null,"cache":true,"cached_at":"2026-10-01T04:48:15.476Z","multi_language_enabled":false,"translation_locale":"en","disable_refresh_on_stale_liquid":false,"api_host":"https:\/\/ext.stoqapp.com"};
window._RestockRocketConfig.metafieldNamespace = 'restockrocket_production';
window._RestockRocketConfig.storefrontApiVersion = '2026-07'
;
window._RestockRocketConfig.moneyFormat = "£{{amount}}";
window._RestockRocketConfig.shopCurrency = "GBP";window._RestockRocketConfig.cachedPreorderVariantIds = {"preorder_variant_ids":[45068753961186,45068753993954,45069622640866,45069622903010,45069622968546,45069750730978,45069750763746],"updated_at":"2026-12-02T08:43:20Z","market_locations_enabled":false,"market_id":382140642,"preorder_location_filter_enabled":false,"preorder_location_filter_ids":[],"collection_id":null,"bulk_operation":true};window._RestockRocketConfig.cachedInStockVariantIds = { in_stock_variant_ids: [] };window._RestockRocketConfig.cachedVariantPreorderLimits = {"variant_preorder_limits":{},"updated_at":"2026-12-02T08:43:04Z","shopify_market_id":0,"market_locations_enabled":false};window._RestockRocketConfig.cachedVariantShippingTexts = {"variant_shipping_texts":{},"updated_at":"2026-12-02T08:43:03Z","shopify_market_id":0,"market_locations_enabled":false};window._RestockRocketConfig.sellingPlans = [];(function() {
const ca
chedData = {"plans":[{"shopify_selling_plan_group_id":98590196095,"shopify_selling_plan_id":713071886719,"enabled":true,"variant_ids":[],"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_enabled":true,"preorder_button_description_background_color":"#ebebeb","preorder_button_description_text_color":"#000000","preorder_button_description_border_radius":10,"preorder_button_description_show_quantity_limit":false,"preorder_button_description_quantity_limit_suffix":" units available for preorder","preorder_button_description_shipping_text_prefix":"Shipping: ","delivery_exact_time":null,"delivery_after_n_intervals":null,"delivery_at":"2025-07-26T09:20:18.169Z","delivery_type":"asap","quantity_limit_text":"{{ quantity }} units available for preorder","preorder_button_description_show_shipping":true,"preorder_button_description_icons_enabled":
true,"preorder_shipping_text":"Estimated to ship within 2 months","shipping_applies_to_all_products":true,"shipping_text":"Estimated to ship within 2 months","payment_type":"full","billing_checkout_charge_type":"percentage","billing_checkout_charge_amount":null,"billing_checkout_charge_percentage":"100.0","pricing_type":"no_discount","pricing_amount":null,"pricing_percentage":null,"discount_text":"Save {{ discount }}","billing_title":"Full payment","billing_description":null,"enable_billing_widget":false,"inventory_provider":"stoq","preorder_badge_enabled":false,"preorder_badge_text":"Preorder","preorder_badge_text_color":"#FFFFFF","preorder_badge_background_color":"#000000","preorder_discounted_price_enabled":null,"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,"shopify_market_ids":[],"use_
shopify_selling_plan":true,"use_simplified_shipping_text":true,"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,"acknowledgement_line_item_property_enabled":false,"acknowledgement_line_item_property_text":"Preorder Terms Accepted","preorder_min_quantity":null,"preorder_max_quantity":null,"countdown_timer_enabled":false,"£4,400.00Benin (XOFFr)
schedule_offer":false,"schedule_start_date":null,"schedule_end_date":null,"updated_at":"2026-08-31T15:28:37.678Z","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,"batches_enabled":false,"preorder_batches":[]}],"disabled_plan_ids":[714631872895,713813721471,713176482175],"has_in_stock_offer":false,"has_preorder_offer":true,"read_flags":{},"cached_at":"2026-10-10T11:02:02Z"};
if (cachedData && typeof cachedData === 'object' && cachedData.cached_at) {
window._RestockRocketConfig.readFlags = cachedData.read_flags || {};
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(cachedData.plans)) {
window._RestockRocketConfig.sellingPlans = cachedData.plans;
window._RestockRocketConfig.disabledSellingPlanIds = cachedData.disabled_plan_ids || [];
console.debug('[RR] Using selling plans from cachedSellingPlans (cached_at: ' + cachedData.cached_at + ')');
}
} else {
window._RestockRocketConfig.disabledSellingPlanIds = [];
console.debug('[RR] Using selling plans from old f
ormat (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"],"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.product = {
id: 15846727057791,
title: "Charter+ 4 Nexus 5 Belt 540 Wh Lowstep",
handle: "charter-4-nexus-5-belt-540-wh-lowstep-61304",
vendor: "Trek",
tags: ["2027","ACTIVE","Bike","EBIKE","ETR - E-Trekking","IW","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled","Trek"],
available: true,
options: ["Colour","Size"],
selling_plan_groups: [],
featured_image: "\/\/projektride.co.uk\/cdn\/shop\/files\/CharterPlus4N5B540Lowstep-26-61304-B-Primary_15291dd2-5aa9-4088-a033-a736e2132c3a.jpg?v=1787065108\u0026width=800",
variants: [{
id: 58205382279551,
title: "Covellite Blue \/ L",
available: true,
sku: "5341896",
price: 308000
},
{
id: 58205382312319,
title: "Covellite Blue \/ M",
available: true,
sku: "5341895",
price: 308000
},
{
id: 58205382345087,
title: "Covellite Blue \/ S",
available: true,
sku: "5341894",
price: 308000
},
{
id: 58205382377855,
title: "Covellite Blue £5,000.00
\/ XL",
available: true,
sku: "5341897",
price: 308000
},
{
id: 58205382410623,
title: "Darkweb \/ L",
available: true,
sku: "5341892",
price: 308000
},
{
id: 58205382443391,
title: "Darkweb \/ M",
available: true,
sku: "5341891",
price: 308000
},
{
id: 58205382476159,
title: "Darkweb \/ S",
available: true,
sku: "5341890",
price: 308000
},
{
id: 58205382508927,
title: "Darkweb \/ XL",
available: true,
sku: "5341893",
price: 308000
},
{
id: 58205382541695,
title: "Lichen Green \/ L",
available: true,
sku: "5341900",
price: 308000
},
{
id: 58205382574463,
title: "Lichen Green \/ M",
available: true,
sku: "5341899",
price: 308000
},
{
id: 58205382607231,
title: "Lichen Green \/ S",
available: true,
sku: "5341898",
price: 308000
},
{
id: 58205382639999,
title: "Lichen Green \/ XL",
available: true,
sku: "5341901",
price: 308000
}
]
};window._RestockRocketConfig.variantsInventoryPolicy = {58205382279551 : "deny",58205382312319 : "deny",58205382345087 : "deny",58205382377855 : "deny",58205382410623 : "deny",58205382443391 : "deny",58205382476159 : "deny",58205382508927 : "deny",58205382541695 : "deny",58205382574463 : "deny",58205382607231 : "deny",58205382639999 : "deny",};
window._RestockRocketConfig.variantsInventoryQuantity = {58205382279551 : 1,58205382312319 : 1,58205382345087 : 1,58205382377855 : 1,58205382410623 : 1,58205382443391 : 1,58205382476159 : 1,58205382508927 : 1,58205382541695 : 1,58205382574463 : 1,
58205382607231 : 1,58205382639999 : 1,};
window._RestockRocketConfig.variantsPreorderCount = {58205382279551 : parseInt(null),58205382312319 : parseInt(null),58205382345087 : parseInt(null),58205382377855 : parseInt(null),58205382410623 : parseInt(null),58205382443391 : parseInt(null),58205382476159 : parseInt(null),58205382508927 : parseInt(null),58205382541695 : parseInt(null),58205382574463 : parseInt(null),58205382607231 : parseInt(null),58205382639999 : parseInt(null),};
window._RestockRocketConfig.variantsPreorderCountForMarket = {58205382279551 : null,58205382312319 : null,58205382345087 : null,58205382377855 : null,58205382410623 : null,58205382443391 : null,58205382476159 : null,58205382508927 : null,58205382541695 : null,58205382574463 : null,58205382607231 : null,58205382639999 : null,};
window._RestockRocketConfig.variantsPreorderMaxCount = {58205382279551 : parseInt(null),58205382312319 : parseInt(null),58205382345087 : parseInt(null),58205382377855 : parseInt(null),58205382410623 : p
arseInt(null),58205382443391 : parseInt(null),58205382476159 : parseInt(null),58205382508927 : parseInt(null),58205382541695 : parseInt(null),58205382574463 : parseInt(null),58205382607231 : parseInt(null),58205382639999 : parseInt(null),};
window._RestockRocketConfig.variantsPreorderMaxCountForMarket = {58205382279551 : null,58205382312319 : null,58205382345087 : null,58205382377855 : null,58205382410623 : null,58205382443391 : null,58205382476159 : null,58205382508927 : null,58205382541695 : null,58205382574463 : null,58205382607231 : null,58205382639999 : null,};
window._RestockRocketConfig.variantsShippingText = {58205382279551 : "",58205382312319 : "",58205382345087 : "",58205382377855 : "",58205382410623 : "",58205382443391 : "",58205382476159 : "",58205382508927 : "",58205382541695 : "",58205382574463 : "",58205382607231 : "",58205382639999 : "",};
window._RestockRocketConfig.variantsShippingTextForMarket = {58205382279551 : null,58205382312319 : null,58205382345087 : null,58205382377855 :
Bosnia & Herzegovina (BAMКМ)
null,58205382410623 : null,58205382443391 : null,58205382476159 : null,58205382508927 : null,58205382541695 : null,58205382574463 : null,58205382607231 : null,58205382639999 : null,};window._RestockRocketConfig.selected_variant_id = 58205382279551;
window._RestockRocketConfig.selected_variant_available = (window._RestockRocketConfig.product.variants.find(function(variant) { return variant.id == window._RestockRocketConfig.selected_variant_id }) || {}).available;
(function (c) {
c.cartInventoryQuantity = {};
function s(k, id, v) { if (v !== null) (c[k] = c[k] || {})[id] = v; }
function sm(k, id, v) { if (v !== null) ((c[k] = c[k] || {})[id] = {})[c.marketId] = v; }
function p(k, id, v) { if (v !== null) (c[k] = c[k] || []).push(id); }
c.cartInventoryQuantity[58205538812287] = 1;
s('variantsInventoryPolicy', 58205538812287, "deny");
s('variantsInventoryQuantity', 58205538812287, 1);
s('variantsPreorderCount', 58205538812287, null);
s('variantsPreorde
rMaxCount', 58205538812287, null);
sm('variantsPreorderCountForMarket', 58205538812287, null);
sm('variantsPreorderMaxCountForMarket', 58205538812287, null);
s('variantsShippingText', 58205538812287, null);
sm('variantsShippingTextForMarket', 58205538812287, null);
p('pagePreorderCountIds', 58205538812287, null);
p('pageShippingTextIds', 58205538812287, null);
})(window._RestockRocketConfig);
try {
var _sqCfg = window._RestockRocketConfig;
var _sqPlanEnabled = Array.isArray(_sqCfg.sellingPlans) &&
_sqCfg.sellingPlans.some(function (p) { return p && p.enabled; });
var _sqPreCount = _sqCfg.inlinePreorderIdsDropped ? _sqCfg.cachedPreorderVariantIdsCount : ((_sqCfg.cachedPreorderVariantIds &&
_sqCfg.cachedPreorderVariantIds.preorder_variant_ids) || []).length;
_sqCfg.preordersConfigured = !!(_sqPlanEnabled && _sqPreCount);
} catch (e) { }
try {
var _sqc = window._RestockRocketConfig;
var _sqOn = !(_sqc.cachedSettings && _sqc.cachedS
ettings.block_accelerated_checkout === false);
var _sqPre = (_sqc.cachedPreorderVariantIds &&
_sqc.cachedPreorderVariantIds.preorder_variant_ids) || [];
var _sqAlways = [];
var _sqAlwaysPlanIds = [];
var _sqGateAlloc = (_sqc.readFlags && _sqc.readFlags.enable_storefront_plan_offers === true && _sqc.variantSellingPlanIds) || null;
(Array.isArray(_sqc.sellingPlans) ? _sqc.sellingPlans : []).forEach(function (p) {
if (!(p && p.enabled && p.inventory_provider === 'always')) return;
_sqAlways = _sqAlways.concat(p.variant_ids || []);
if (_sqGateAlloc && p.variant_ids_truncated) {
_sqAlwaysPlanIds.push(Number(p.shopify_selling_plan_id), Number(p.default_shopify_selling_plan_id));
(Array.isArray(p.payment_options) ? p.payment_options : []).forEach(function (o) { if (o) _sqAlwaysPlanIds.push(Number(o.shopify_selling_plan_id)); });
}
});
var _sqAllocAlways = function (id) {
var a = _sqGateAlloc && _sqGateAlloc[id];
return Array.isArra