118
018,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,45353018261730,45353018294498,45353018327266,55569712382335,55569712447871,55569712480639,55570550194559,55570550227327,55604008976767,55638316908927,55638316941695,55638316974463,56220814999935,56220815032703,56270279606655,56270279639423,56270279672191,56314171064703,56314171097471,56398983725439,56398983758207,56398983790975,56399322251647,56565020721535,56565020754303,56565020787071],"updated_at":"2026-01-27T17:18:52Z","market_locations_enablK
36,"width":2312,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/D8FEC3C1-86FE-4E63-9C73-950D3F1EBBB4.jpg?v=1687702028"},"aspect_ratio":1.505,"height":1536,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/D8FEC3C1-86FE-4E63-9C73-950D3F1EBBB4.jpg?v=1687702028","width":2312}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eHere we have this Surly Midnight Special Gravel Bike.\u003c\/p\u003e\n\u003cp\u003e\u003cmeta charset=\"utf-8\"\u003e\u003cspan\u003eMidnight Special shines on pot-holed, deteriorating pavement and the occasional long stretch of gravel. Its 650b road plus tyres eat up road chatter and absorb all the bumps in the road like the champion it was designed to be.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eSize - 54cm Medium, let us know if you require a different size as we are able to build more!\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cmeta charset=\"utf-8\"\u003eShimano GRX RX570 650b Wheelset\u003c44
\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eShimano GRX 810 1X11 Drivetrain\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eVecnum Freequence 90mm Suspension stem\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eMaxxis Receptor 650b x 47mm Tyres\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003ePro \u003cmeta charset=\"utf-8\"\u003eDiscover Handlebar, Alloy, 31.8mm, 40cm, 20 Flare\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eGusset Headset\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cmeta charset=\"utf-8\"\u003eBrooks C17 Cambium all weather black steel 162mm\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eShimano Ultegra Bottom Bracket\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cmeta charset=\"utf-8\"\u003eHT Black Plastic Flat Pedals\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003e\u003cmeta charset=\"utf-8\"\u003eDEDA ZERO 27.2 SEATPOST\u003c\/span\u003e\re');
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 &&
!Object.prototype.hasOwnProperty.call(settings.translations, window._RestockRocketConfig.normali
44
zedLocale)) {
console.debug('STOQ - locale not explicitly translated, will use default language from cache');
}
// Don't return null - continue using cache even for untranslated locales
}
const updatedAt = new Date(settings.updated_at);
if (isNaN(updatedAt.getTime())) {
console.debug('STOQ - Invalid updated_at date format in settings');
return null;
}
const age = Date.now() - updatedAt.getTime();
if (age
<
Black SETTINGS_CACHE_DURATION) {
console.debug('STOQ - settings changed recently, skipping cache');
return null;
}
return settings;
} catch (error) {
console.debug('STOQ - Error checking settings cache:', error);
return null;
}
}
function createRestockRocketContainer() {
const restockRocketContainer = document.createElement('div');
restockRocketContainer.id = 'restock-rocket';
document.body.appendChild(restockRocketContainer);
}
function createRestockRocketScript(scriptUrl) {
const restockRocketScriptElement = document.createElement('script');
restockRocketScriptElement.setAttribute('defer', 'defer');
restockRocketScriptElement.src = scriptUrl;
document.body.appendChild(restockRocketScriptElement);
}
createRestockRocketContainer()
console.debug('STOQ - extension activated')
function applyTranslations(settings) {
try {
// Skip translation logic entirely if multi-language is not enabled
if (!settings || !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:', Obj
44Custom Builds
ect.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];
if (value !== null && value !== undefined && value !== '') {
settings[key] = value;
}
});
} else {
console.debug('STOQ - No translated fields found for locale:', normalizedLocale);
}
delete settings.translations;
return settings;
} 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
work 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}`);
// Setup cart selling plan updater BEFORE loading any scripts to avoid race conditions
setupCartSellingPlanUpdater(settings);
if(settings.enable_app) {
const hijackIntegration = window._RestockRocketCon
Custom Builds for sale
fig.integrations.find(function(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)) {
create
span class="visually-hidden">Life Systems Pocket First Aid Kit - HIRE
£2,500.00
>
Wheels>
No Adhesives
Complete Wheels
>
{"id":8157073604834,"title":"ESI RCT Wrap Original Design","handle":"copy-of-rct-wrap","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003eESI Grips RCT Wrap is perfect for Road, Cyclocross or Triathlon riders, especially riders looking for extra shock absorption and comfort compared to a normal bar tape. ESI RCT Wrap is constructed for a smooth overlay, and customizable thickness. If you are looking for a thick grip, wrap it looser. If you are looking for a thinner grip, wrap it tighter. It's that easy!\u003c\/p\u003e\n\u003cp\u003eMade from the same material as our mountain bike grips, our RCT Wrap is silicone which makes it UV resistant, non-porous and washable. The best part: there are no glues! If you didn't wrap it how you wanted it the first time, take it off and wrap it again.\u003c\/p\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003e134-176 grams (Depends on how you stretch)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u0032.24.png?v=1695809548","width":838},{"alt":null,"id":32292036935906,"position":2,"preview_image":{"aspect_ratio":1.015,"height":826,"width":838,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-09-27at11.12.30.png?v=1695809554"},"aspect_ratio":1.015,"height":826,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-09-27at11.12.30.png?v=1695809554","width":838}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003eESI Grips RCT Wrap is perfect for Road, Cyclocross or Triathlon riders, especially riders looking for extra shock absorption and comfort compared to a normal bar tape. ESI RCT Wrap is constructed for a smooth overlay, and customizable thickness. If you are looking for a thick grip, wrap it looser. If you are looking for a thinner grip, wrap it tighter. It's that easy!\u003c\/p\u003e\n\u003cp\u003eMade from the same material as our mountain bike grips, our RCT Wrap is silicone which makes it UV re
003cli\u003eShock Absorbing\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003eComfortable\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003eSuper Tacky\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003eNo Adhesives\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003eLong Lasting\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003eEasy to Install\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong\u003ePackage Includes:\u003c\/strong\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003e2 long silicone wraps (for wrapping bar)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/ul\u003e\n\u003cul\u003e\n\u003cul\u003e\n\u003cli\u003e2 short silicone wraps (for under hood)\u003c\/li\u003e\n\u003c\/ul\u003e
hock absorption and comfort compared to a normal bar tape. ESI RCT Wrap is constructed for a smooth overlay, and customizable thickness. If you are looking for a thick grip, wrap it looser. If you are looking for a thinner grip, wrap it tighter. It's that easy!\nMade from the same material as our mountain bike grips, our RCT Wrap is silicone which makes it UV resistant, non-porous and washable. The best part: there are no glues! If you didn't wrap it how you wanted it the first time, take it off and wrap it again.\n\n\n134-176 grams (Depends on how you stretch)\n\n\n\n\n3.5mm Thick\n\n\n\n\n1\" Wide\n\n\n\n\n2 Rolls at 6'2\" each\n\n\n\n\nCustom Fit\n\n\n\n\nStretchable\n\n\n\n\nCustom Density\n\n\n\n\nShock Absorbing\n\n\n\n\nComfortable\n\n\n\n\nSuper Tacky\n\n\n\n\nNo Adhesives\n\n\n\n\nLong Lasting\n\n\n\n\nEasy to Install\n\n\nPackage Includes:\n\n\n2 long silicone wraps (for wrapping bar)\n\n\n\n\n2 short silicone wraps (for under hood)\n\n\n\n\n2 Silicone Tapes (adhere to themselves - 1 time use)\n\n\