preview_image":{"aspect_ratio":1.0,"height":776,"width":776,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30309-pm.png?v=1679138808"},"aspect_ratio":1.0,"height":776,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30309-pm.png?v=1679138808","width":776},{"alt":null,"id":31694653522146,"position":5,"preview_image":{"aspect_ratio":1.0,"height":776,"width":776,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30310-pm.png?v=1679138806"},"aspect_ratio":1.0,"height":776,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30310-pm.png?v=1679138806","width":776},{"alt":null,"id":31694653554914,"position":6,"preview_image":{"aspect_ratio":1.0,"height":776,"width":776,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30316-pm.png?v=1679138808"},"aspect_ratio":1.0,"height":776,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30316-pm.png?v=1679138808","width":776},{"alt":null,"id":31694653587682,"position":7,"preview_image":{"aspect_ratio":1.0,"h<
eight":776,"width":776,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30297-pm.png?v=1679138807"},"aspect_ratio":1.0,"height":776,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30297-pm.png?v=1679138807","width":776},{"alt":null,"id":31694653620450,"position":8,"preview_image":{"aspect_ratio":1.0,"height":776,"width":776,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30303-pm.png?v=1679138807"},"aspect_ratio":1.0,"height":776,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/30303-pm.png?v=1679138807","width":776}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003eMade for years of hard riding. The Cambium All Weather is a durable and comfortable saddle that is “ready to ride”, thanks to a vulcanised natural rubber top for flexible performance requiring no breaking in period. From freezing rain to blazing sunshine, the waterproof, weatherproof nylon cover is made to perform flawlessly inli class="result">
Mountain Bikes
{"id":8055057449186,"title":"Brooks C13 Cambium All-Weather","handle":"brooks-c13-cambium-all-weather","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cdiv class=\"col\"\u003e\n\u003cdiv class=\"description\"\u003e\n\u003cp\u003eMade for years of hard riding. The Cambium All Weather is a durable and comfortable saddle that is “ready to ride”, thanks to a vulcanised natural rubber top for flexible performance requiring no breaking in period. From freezing rain to blazing sunshine, the waterproof, weatherproof nylon cover is made to perform flawlessly in all conditions.\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eRails: Oval Carbon Rails\u003c\/li\u003e\n\u003cli\u003e132mm: Lx275mm, Wx132mm, Hx55mm, Weight: 259g\u003c\/li\u003e\n\u003cli\u003e145mm: Lx275mm, Wx145mm, Hx55mm, Weight: 295g\u003c\/li\u003e\n\u003cli\u003e158mm: Lx275mm, Wx158mm, Hx55mm, Weight: 310g\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"col\"\u003e\n\u003cdiv class=\"features\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e","published_at":"2025-01-07T16:36:49+00:00","created_at":"2023-03-18T11:06:29+00:00","vendor":"ProjektRide","type":"Apparel \u0026 Accessories","tags":["Accessories","brooks","Saddles","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":17999,"price_min":17999,"price_max":17999,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43936003195106,"title":"145mm","option1":"145mm","option2":null,"option3":null,"sku":"C203M00A06300","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Brooks C13 Cambium All-Weather - 145mm","public_title":"145mm","options":["145mm"],"price":17999,"weight":0,"compare_at_price":null,"inventory_management":"sh
!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 tra
} 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) {
if (!settings || !settings.preorder_enabled) {
return;
}
// Listen for stoq:preorder-api-ready event dispatched by preorder.js
window.addEventListener('stoq:preorder-api-ready', function(event) {
console.debug('STOQ - Preorder API ready, updating cart selling plans');
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 =>
._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 initializeScripts(settings) {
settings = applyTranslations(settings);
window._RestockRocketConfig.settings = settings;
console.debug(`STOQ - settings configured for ${window._RestockRocketConfig.pageType}