Malta (EUR€)
Sudan (GBP£)
Svalbard & Jan Mayen (GBP£)
Switzerland (CHFCHF)
| Tanzania (TZSSh) | |
|---|---|
| Tristan da Cunha (GBP£) | |
| Tunisia (GBP£) |
Uganda (UGXUSh)
Ukraine (UAH₴)
United Kingdom (GBP£)
| United States (GBP£) | |
|---|---|
| Iceland (ISKkr) | Croatia (EUR€) |
|---|---|
| Cyprus (EUR€) | Isle of Man (GBP£) |
| Italy (EUR€) | Denmark (DKKkr.) |
| Djibouti (DJFFdj) | Kenya (KESKSh) |
| Kosovo (EUR€) | Equatorial Guinea (XAFCFA) |
|
Luxembourg (EUR€)
France (EUR€)
Madagascar (GBP£) | French Southern Territories (EUR€)
|
|
Malawi (MWKMK)
Gabon (XOFFr)
2 Mali (XOFFr) | Gambia (GMDD)
|
| Malta (EUR€) 3 | Georgia (GBP£)|
| Mauritius (MUR₨) | Ghana (GBP£)|
| Mayotte (EUR€) | Gibraltar (GBP£)
6 Moldova (MDLL)
Greece (EUR€)
|
7
|
Guadeloupe (EUR€)
8
| Guernsey (GBP£)
|
| Guinea (GNFFr) | |
| Norway (GBP£) | Italy (EUR€)
Monaco (EUR€)
Montenegro (EUR€)
Morocco (MADد.م.)
Niger (XOFFr)
| Mozambique (GBP£) | |
|---|---|
| Netherlands (EUR€) |
Nigeria (NGN₦)
North Macedonia (MKDден)
Norway (GBP£)
Poland (PLNzł)
Portugal (EUR€)
Réunion (EUR€)
Seychelles (GBP£)
| Romania (RONLei) |
Rwanda (RWFFRw)
|
|---|---|
|
São Tomé & Príncipe (STDDb)
|
|
| Serbia (RSDРСД) |
Sierra Leone (SLLLe)
Slovakia (EUR€)
About Us
Contact Us
Blog
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
window.appBlockPlacements ||= [];
if (window.klarnaAppBlocksManager) {
window.klarnaAppBlocksManager.push({
productVariants: [{"id":45824798687458,"title":"Black \/ Extra Small \/ 545WH","option1":"Black","option2":"Extra Small","option3":"545WH","sku":"5330757","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 545WH","public_title":"Black \/ Extra Small \/ 545WH","options":["Black","Extra Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798720226,"title":"Black \/ Extra Small \/ 725WH","option1":"Black","option2":"Extra Small","option3":"725WH","sku":"5330758","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 725WH","public_title":"Black \/ Extra Small \/ 725WH","options":["Black","Extra Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798752994,"title":"Black \/ Extra Small \/ 800WH","option1":"Black","option2":"Extra Small","option3":"800WH","sku":"5330759","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 800WH","public_title":"Black \/ Extra Small \/ 800WH","options":["Black","Extra Small","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798785762,"title":"Black \/ Small \/ 545WH","option1":"Black","option2":"Small","option3":"545WH","sku":"5330760","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Small \/ 545WH","public_title":"Black \/ Small \/ 545WH","options":["Black","Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798818530,"title":"Black \/ Small \/ 725WH","option1":"Black","option2":"Small","option3":"725WH","sku":"5330761","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Small \/ 725WH","public_title":"Black \/ Small \/ 725WH","options":["Black","Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798851298,"title":"Black \/ Small \/ 800WH","option1":"Black","option2":"Small","option3":"800WH","sku":"5330762","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Small \/ 800WH","public_title":"Black \/ Small \/ 800WH","options":["Black","Small","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798884066,"title":"Black \/ Medium \/ 545WH","option1":"Black","option2":"Medium","option3":"545WH","sku":"5330763","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Medium \/ 545WH","public_title":"Black \/ Medium \/ 545WH","options":["Black","Medium","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798916834,"title":"Black \/ Medium \/ 725WH","option1":"Black","option2":"Medium","option3":"725WH","sku":"5330764","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Medium \/ 725WH","public_title":"Black \/ Medium \/ 725WH","options":["Black","Medium","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798949602,"title":"Black \/ Medium \/ 800WH","option1":"Black","option2":"Medium","option3":"800WH","sku":"5330765","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Medium \/ 800WH","public_title":"Black \/ Medium \/ 800WH","options":["Black","Medium","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798982370,"title":"Black \/ Large \/ 545WH","option1":"Black","option2":"Large","option3":"545WH","sku":"5330766","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Large \/ 545WH","public_title":"Black \/ Large \/ 545WH","options":["Black","Large","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799015138,"title":"Black \/ Large \/ 725WH","option1":"Black","option2":"Large","option3":"725WH","sku":"5330767","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Large \/ 725WH","public_title":"Black \/ Large \/ 725WH","options":["Black","Large","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799047906,"title":"Black \/ Large \/ 800WH","option1":"Black","option2":"Large","option3":"800WH","sku":"5330768","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Large \/ 800WH","public_title":"Black \/ Large \/ 800WH","options":["Black","Large","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799080674,"title":"Black \/ Extra Large \/ 545WH","option1":"Black","option2":"Extra Large","option3":"545WH","sku":"5330769","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Large \/ 545WH","public_title":"Black \/ Extra Large \/ 545WH","options":["Black","Extra Large","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799113442,"title":"Black \/ Extra Large \/ 725WH","option1":"Black","option2":"Extra Large","option3":"725WH","sku":"5330770","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Large \/ 725WH","public_title":"Black \/ Extra Large \/ 725WH","options":["Black","Extra Large","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799146210,"title":"Black \/ Extra Large \/ 800WH","option1":"Black","option2":"Extra Large","option3":"800WH","sku":"5330771","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Large \/ 800WH","public_title":"Black \/ Extra Large \/ 800WH","options":["Black","Extra Large","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799178978,"title":"Orange \/ Extra Small \/ 545WH","option1":"Orange","option2":"Extra Small","option3":"545WH","sku":"5330772","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Small \/ 545WH","public_title":"Orange \/ Extra Small \/ 545WH","options":["Orange","Extra Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799211746,"title":"Orange \/ Extra Small \/ 725WH","option1":"Orange","option2":"Extra Small","option3":"725WH","sku":"5330773","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Small \/ 725WH","public_title":"Orange \/ Extra Small \/ 725WH","options":["Orange","Extra Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799244514,"title":"Orange \/ Extra Small \/ 800WH","option1":"Orange","option2":"Extra Small","option3":"800WH","sku":"5330774","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Small \/ 800WH","public_title":"Orange \/ Extra Small \/ 800WH","options":["Orange","Extra Small","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799277282,"title":"Orange \/ Small \/ 545WH","option1":"Orange","option2":"Small","option3":"545WH","sku":"5330775","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Small \/ 545WH","public_title":"Orange \/ Small \/ 545WH","options":["Orange","Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799310050,"title":"Orange \/ Small \/ 725WH","option1":"Orange","option2":"Small","option3":"725WH","sku":"5330776","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Small \/ 725WH","public_title":"Orange \/ Small \/ 725WH","options":["Orange","Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799342818,"title":"Orange \/ Small \/ 800WH","option1":"Orange","option2":"Small","option3":"800WH","sku":"5330777","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Small \/ 800WH","public_title":"Orange \/ Small \/ 800WH","options":["Orange","Small","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799375586,"title":"Orange \/ Medium \/ 545WH","option1":"Orange","option2":"Medium","option3":"545WH","sku":"5330778","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Medium \/ 545WH","public_title":"Orange \/ Medium \/ 545WH","options":["Orange","Medium","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799408354,"title":"Orange \/ Medium \/ 725WH","option1":"Orange","option2":"Medium","option3":"725WH","sku":"5330779","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Medium \/ 725WH","public_title":"Orange \/ Medium \/ 725WH","options":["Orange","Medium","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799441122,"title":"Orange \/ Medium \/ 800WH","option1":"Orange","option2":"Medium","option3":"800WH","sku":"5330780","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Medium \/ 800WH","public_title":"Orange \/ Medium \/ 800WH","options":["Orange","Medium","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799473890,"title":"Orange \/ Large \/ 545WH","option1":"Orange","option2":"Large","option3":"545WH","sku":"5330781","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Large \/ 545WH","public_title":"Orange \/ Large \/ 545WH","options":["Orange","Large","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799506658,"title":"Orange \/ Large \/ 725WH","option1":"Orange","option2":"Large","option3":"725WH","sku":"5330782","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Large \/ 725WH","public_title":"Orange \/ Large \/ 725WH","options":["Orange","Large","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799539426,"title":"Orange \/ Large \/ 800WH","option1":"Orange","option2":"Large","option3":"800WH","sku":"5330783","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Large \/ 800WH","public_title":"Orange \/ Large \/ 800WH","options":["Orange","Large","800WH"],"price":370025,"weight":0,"compare_at_price":389500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799572194,"title":"Orange \/ Extra Large \/ 545WH","option1":"Orange","option2":"Extra Large","option3":"545WH","sku":"5330784","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Large \/ 545WH","public_title":"Orange \/ Extra Large \/ 545WH","options":["Orange","Extra Large","545WH"],"price":334400,"weight":0,"compare_at_price":352000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799604962,"title":"Orange \/ Extra Large \/ 725WH","option1":"Orange","option2":"Extra Large","option3":"725WH","sku":"5330785","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Large \/ 725WH","public_title":"Orange \/ Extra Large \/ 725WH","options":["Orange","Extra Large","725WH"],"price":358150,"weight":0,"compare_at_price":377000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799637730,"title":"Orange \/ Extra Large \/ 800WH","option1":"Orange","option2":"Extra Large","option3":"800WH","sku":"5330786","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Large \/ 800WH","public_title":"Orange \/ Extra Large \/ 800WH","options":["Orange","Extra Large","800WH"],"price":370025,"weight":0,"compare_at_price":389500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],
templateName: 'product',
dataKey: 'top-strip-promotion-badge',
storefrontCurrency: 'GBP',
storefrontCountry: 'GB',
storefrontLanguage: 'en',
shopLocale: 'en',
shopDomain: 'projektride.co.uk',
variantPrice: '308750',
cartPrice: '0',
selector: 'shopify-osm-AZkxmY3VSTnFmNnNiW__klarna_on_site_messaging_app_block_k6rYHt',
topPadding: '0',
bottomPadding: '0',
});
} else {
window.appBlockPlacements.push({
productVariants: [{"id":45824798687458,"title":"Black \/ Extra Small \/ 545WH","option1":"Black","option2":"Extra Small","option3":"545WH","sku":"5330757","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 545WH","public_title":"Black \/ Extra Small \/ 545WH","options":["Black","Extra Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798720226,"title":"Black \/ Extra Small \/ 725WH","option1":"Black","option2":"Extra Small","option3":"725WH","sku":"5330758","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 725WH","public_title":"Black \/ Extra Small \/ 725WH","options":["Black","Extra Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798752994,"title":"Black \/ Extra Small \/ 800WH","option1":"Black","option2":"Extra Small","option3":"800WH","sku":"5330759","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Small \/ 800WH","public_title"
ch(
`${window._RestockRocketConfig.host}/api/v1/embed/${endpoint}.json`,
{
headers: {
'X-Shopify-Shop-Domain': window._RestockRocketConfig.shop || window.Shopify.shop,
'ngrok-skip-browser-warning': 'skip'
}
}
)
.then(function(response) {
if (!response.ok) throw new Error(`Failed to fetch ${endpoint}`);
return response.json();
})
.then(function(data) {
try {
apply(data);
} catch (applyError) {
// Apply failures are programming bugs (e.g. response shape changed
// server-side and the assignment threw). Surface them as console.error
// so they're visible in browser logs, then re-throw to fall through
// to the same Liquid-cached fallback as a fetch failure.
console.error('STOQ - apply failed for ' + endpoint + ':', applyError);
throw applyError;
}
})
.catch(function(error) {
console.debug(`STOQ - using cached ${endpoint}:`, error.message);
}
Jersey (GBP£)
);
}
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._Resto
mage":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Small \/ 725WH","public_title":"Black \/ Small \/ 725WH","options":["Black","Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798851298,"title":"Black \/ Small \/ 800WH","option1":"Black","option2":"Small","option3":"800WH","sku":"5330762","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Small \/ 800WH","public_title":"Black \/ Small \/ 800WH","options":["Black","Small","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798884066,"title":"Black \/ Medium \/ 545WH","option1":"Black","opt
Isle of Man (GBP£)
ckRocketConfig — the
// bundle re-reads sellingPlans/integrations on every interaction, so the
// late-arriving values benefit subsequent renders even though the first
// paint may use the Liquid-cached values. On any failure the existing
// Liquid-loaded values stay in place via fetchEmbedConfig's catch.
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 || [];
}
}),
fetchEmbedConfig('integrations', function(data) {
if (Array.isArray(data)) {
window._RestockRocketConfig.integrations
ll \/ 545WH","options":["Orange","Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799310050,"title":"Orange \/ Small \/ 725WH","option1":"Orange","option2":"Small","option3":"725WH","sku":"5330776","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Small \/ 725WH","public_title":"Orange \/ Small \/ 725WH","options":["Orange","Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799342818,"title":"Orange \/ Small \/ 800WH","option1":"Orange","option2":"Small","option3":"800WH","sku":"5330777","requires_shipping":true,"taxable":true,"featured_image":null,"availa
Italy (EUR€)
= 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 = ArraAccessories:1,"max":null,"increment":1}},{"id":45824798949602,"title":"Black \/ Medium \/ 800WH","option1":"Black","option2":"Medium","option3":"800WH","sku":"5330765","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Medium \/ 800WH","public_title":"Black \/ Medium \/ 800WH","options":["Black","Medium","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824798982370,"title":"Black \/ Large \/ 545WH","option1":"Black","option2":"Large","option3":"545WH","sku":"5330766","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Large \/ 545WH","public_title":"Black \/ Large \/ 545WH","options":["Black","Large","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"sho
y.isArray(window._RestockRocketConfig.sellingPlans)
&& window._RestockRocketConfig.sellingPlans.some(function(plan) { return plan && plan.enabled; });
const hasDisabledPlanIds = Array.isArray(window._RestockRocketConfig.disabledSellingPlanIds)
&& window._RestockRocketConfig.disabledSellingPlanIds.length > 0;
const usePreorderBuild = settings.preorder_enabled || hasEnabledOffer || hasDisabledPlanIds;
const collectionScriptUrl = usePreorderBuild
? window._RestockRocketConfig.scriptUrlCollection
: window._RestockRocketConfig.scriptUrlCollectionBis;
const productScriptUrl = usePreorderBuild
? window._RestockRocketConfig.scriptUrlProduct
: window._RestockRocketConfig.scriptUrlProductBis;
const pageType = window._RestockRocketConfig.pageType;
const collectionPageTypes = ['collection', 'index', 'search', 'page'];
if(collectionPageTypes.indexOf(pageType) !== -1 && (settings[`show_button_on_${pageType}`] || settings[`preorder_
${pageType}_enabled`])) {
createRestockRocketScript(collectionScriptUrl);
} else if(pageType === 'product') {
createRestockRocketScript(productScriptUrl);
} else if(hijackIntegration) {
createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection);
} else if(usePreorderBuild) {
// cart/article/blog/list-collections: full build so the cart sweep runs.
createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection);
} else {
console.debug(`STOQ - no scripts enabled for ${pageType}`);
}
// Dispatch custom event when app is loaded
// Cart selling plan updates will be triggered by stoq:inventory-data-loaded event
const appLoadedEvent = new CustomEvent('stoq:loaded', {
detail: {
pageType: window._RestockRocketConfig.pageType,
enabled: settings.enable_app,
settings: settings,
preorderEnabled: settings.preorder_enabled
}
});
consol
","Large","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799080674,"title":"Black \/ Extra Large \/ 545WH","option1":"Black","option2":"Extra Large","option3":"545WH","sku":"5330769","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Black \/ Extra Large \/ 545WH","public_title":"Black \/ Extra Large \/ 545WH","options":["Black","Extra Large","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799113442,"title":"Black \/ Extra Large \/ 725WH","option1":"Black","option2":"Extra Large","option3":"725WH","sku":"5330770","requires_shipping":true,"taxable":true,"featured_image":null,"avFrance (EUR€)
e.debug('STOQ - dispatching app loaded event');
window.dispatchEvent(appLoadedEvent);
}
}
a Small \/ 545WH","option1":"Orange","option2":"Extra Small","option3":"545WH","sku":"5330772","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Small \/ 545WH","public_title":"Orange \/ Extra Small \/ 545WH","options":["Orange","Extra Small","545WH"],"price":308750,"weight":0,"compare_at_price":325000,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799211746,"title":"Orange \/ Extra Small \/ 725WH","option1":"Orange","option2":"Extra Small","option3":"725WH","sku":"5330773","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Small \/ 725WH","public_title":"Orange \/ Extra Small \/ 725WH","options":["Orange","Extra Small","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","ba
2":"Medium","option3":"725WH","sku":"5330779","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Medium \/ 725WH","public_title":"Orange \/ Medium \/ 725WH","options":["Orange","Medium","725WH"],"price":344375,"weight":0,"compare_at_price":362500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799441122,"title":"Orange \/ Medium \/ 800WH","option1":"Orange","option2":"Medium","option3":"800WH","sku":"5330780","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Medium \/ 800WH","public_title":"Orange \/ Medium \/ 800WH","options":["Orange","Medium","800WH"],"price":287375,"weight":0,"compare_at_price":302500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{
.stoq-hide-buy-now .shopify-payment-button{display:none!important}.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-strike{text-decoration:line-through;color: #666666;}.restock-rocket-discounted-price{margin-left:10px;}.restock-rocket-acknowledgement-checkbox{margin-bottom:12px;display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height: 1.5;}.restock-rocket-acknowledge-checkbox-input{width:18px;height:18px;margin-top:2px;cursor:pointer;flex-shrink:0;accent-color: #0d0d0d;}.restock-rocket-acknowledge-checkbox-label{flex:1;cursor:pointer;}.restock-rocket-preorder-countdown-timer{display:flex;flex-direction:column;align-items:center;padding:16px;margin:8px 0;font-family:inherit;}.restock-rocket-preorder-countdown-timer .countdown-header{font-size:16px;margin-bottom:6px;text-align:center}.restock-rocket-preorder-countdown-timer .countdown-units{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.restock-rocket-preorder-countdown-timer .countdown-unit{display:flex;flex-direction:column;align-items:center;gap:6px}.restock-rocket-preorder-countdown-timer .countdown-box{min-width:40px;padding:10px 6px;text-align: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:flex;justify-content:center;align-items:center}.restock-rocket-toast a{text-decoration:none;font-weight:700;color:#000}.restock-rocket-toast .dismiss{margin-left:15px;z-index:1;font-size:20px;}.restock-rocket-toast-top{top:60px}.restock-rocket-toast-bottom{bottom:75px}.restock-rocket-toast-left,.restock-rocket-toast-right{-webkit-animation:.5s forwards slide;animation:.5s forwards slide}.restock-rocket-toast-left{left:0;transform:translateX(-100%);-webkit-transform:translateX(-100%);border-radius:0 10px 10px 0}.restock-rocket-toast-left.slide-out{-webkit-animation:.5s forwards slide-out-left;animation:.5s forwards slide-out-left}.restock-rocket-toast-right{right:0;transform:translateX(100%);-webkit-transform:translateX(100%);border-radius:10px 0 0 10px}.restock-rocket-toast-right.slide-out{-webkit-animation:.5s forwards slide-out-right;animation:.5s forwards slide-out-right}@keyframes slide{100%{transform:translateX(0)}}@-webkit-keyframes slide{100%{-webkit-transform:translateX(0)}}@keyframes slide-out-left{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%)}}.restock-rocket-preorder-progress-bar{padding:12px 15px;margin-bottom:20px;font-family:inherit;}.restock-rocket-preorder-progress-bar .preorder-progress-text{margin-bottom:8px;}.restock-rocket-preorder-progress-bar .preorder-progress-bar-row{display:flex;align-items:center;gap:10px;}.restock-rocket-preorder-progress-bar .preorder-progress-track{flex:1;height:12px;overflow:hidden;}.restock-rocket-preorder-progress-bar .preorder-progress-fill{display:block;height:100%;min-width:2px;transition:width 0.3s ease;}.restock-rocket-preorder-progress-bar .preorder-progress-percentage{font-weight:500;min-width:35px;text-align:right;}
ment":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799539426,"title":"Orange \/ Large \/ 800WH","option1":"Orange","option2":"Large","option3":"800WH","sku":"5330783","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Large \/ 800WH","public_title":"Orange \/ Large \/ 800WH","options":["Orange","Large","800WH"],"price":370025,"weight":0,"compare_at_price":389500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":45824799572194,"title":"Orange \/ Extra Large \/ 545WH","option1":"Orange","option2":"Extra Large","option3":"545WH","sku":"5330784","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Large \/ 545WH","public_title":"OrangeFrench Southern Territories (EUR€)
s_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek District+ 4 Coaster Lowstep - Orange \/ Extra Large \/ 800WH","public_title":"Orange \/ Extra Large \/ 800WH","options":["Orange","Extra Large","800WH"],"price":370025,"weight":0,"compare_at_price":389500,"inventory_management":"shopify","barcode":null,"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],
templateName: 'product',
shopLocale: 'en',
dataKey: 'top-strip-promotion-badge',
storefrontCurrency: 'GBP',
storefrontCountry: 'GB',
storefrontLanguage: 'en',
shopDomain: 'projektride.co.uk',
variantPrice: '308750',
cartPrice: '0',
selector: 'shopify-osm-AZkxmY3VSTnFmNnNiW__klarna_on_site_messaging_app_block_k6rYHt',
topPadding: '0',
bottomPadding: '0',
});
}
Jersey (GBP£)
| *Light Gabon (XOFFr) | The District+ 4 is a sleek and capable city e-bike with rugged durability and top-end comfort. Its frame semi-integrates the batteries inside the downtube and comes with four battery capacity options ranging from 400 to 800 Wh, so you can choose what's right for your commute. This District+ features coaster-actuated hydraulic disc brakes for effortless and reliable stopping power. Bosch's new smart system allows your bike to pair with your smartphone for tracking activities, mapping rides and more
Gambia (GMDD)
| Georgia (GBP£)
|---|---|
|
Germany (EUR€)
| Ghana (GBP£)
|
| Gibraltar (GBP£) | |
|
Greenland (DKKkr.)
Guadeloupe (EUR€) |
|
| Guernsey (GBP£)
Guinea (GNFFr) |
|
|
Hungary (HUFFt)
Iceland (ISKkr) |
|
| Ireland (EUR€)
Isle of Man (GBP£) |
Kosovo (EUR€)
Libya (GBP£)
| Latvia (EUR€) | |
|---|---|
| Liberia (GBP£) |











