pageType,
enabled: settings.enable_app,
settings: settings
}
});
console.debug('STOQ - dispatching app loaded event');
window.dispatchEvent(appLoadedEvent);
}
}
function updateCartSellingPlans() {
// Wait 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();
}
If any purchases are to be made using any cycle to work schemes, please either pop into the shop or get in touch via email/phoneWe reserve the right to make changes to the product information contained on this site at any time without notice, including with respect to equipment, specifications, models, colours, materials and pricing. Due to supply chain issues, compatible parts may be substituted at any time without notice. The prices shown are the manufacturer's suggested retail prices.
:"Trek Checkpoint ALR 5 Gen 3 - XL \/ Fjord Blue to Miami Green Fade","public_title":"XL \/ Fjord Blue to Miami Green Fade","options":["XL","Fjord Blue to Miami Green Fade"],"price":170000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":56518716522879,"title":"XL \/ Bronze Age","option1":"XL","option2":"Bronze Age","option3":null,"sku":"5332803","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Trek Checkpoint ALR 5 Gen 3 - XL \/ Bronze Age","public_title":"XL \/ Bronze Age","options":["XL","Bronze Age"],"price":170000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-C-Primary.png?v=1764866085","\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-C-Alt2.jpg?v=1764866083","\/\/projektride.co.uk\/
Cycle to WorkWorkshop Pricescdn\/shop\/files\/CheckpointALR5-26-49946-C-Alt4.jpg?v=1764866084","\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-A-Primary.png?v=1764866084","\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-A-Alt2.jpg?v=1764866083","\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-A-Alt4.jpg?v=1764866084","\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-A-Accessory1.jpg?v=1764866083"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-C-Primary.png?v=1764866085","options":["Size","Colour"],"media":[{"alt":null,"id":68980133921151,"position":1,"preview_image":{"aspect_ratio":1.333,"height":1440,"width":1920,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-C-Primary.png?v=1764866085"},"aspect_ratio":1.333,"height":1440,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/CheckpointALR5-26-49946-C-Primary.png?v=1764866085","width":1920},{"alt":null,"id":68980133953919,"position":2,"preview_