Frog
Guadeloupe (EUR€) EssentialsKona
See More
-
Surly
- Guernsey (GBP£)
Cleaners, Degreasers and LubricationUTO (ex Eovolt)
Guinea (GNFFr)
AccessoriesEarly Rider -
Guinea-Bissau (XOFFr) MaintenanceArgon 18
- Hungary (HUFFt)
Sell Your Bike
Iceland (ISKkr)
Contact Us
Ireland (EUR€) Finance
- Isle of Man (GBP£)
Italy (EUR€) -
Log in Jersey (GBP£)
Create account
-
Kenya (KESKSh)
Kosovo (EUR€) Search
Latvia (EUR€)
- Country
-
Lesotho (GBP£)
GBP£
Liberia (GBP£) - Åland Islands (EUR€)
Albania (ALLL) -
Algeria (DZDد.ج)

Mastercard
Clothing and Protection
Close
Cleaners, Degreasers and Lubrication
Search
= LIQUID_CACHE_MAX_AGE) {
console.debug(`STOQ - Liquid cache is fresh (${Math.round(liquidCacheAge / 60)} minutes old)`);
window._RestockRocketConfig.isLiquidCacheFresh = true;
} else {
console.debug(`STOQ - Liquid cache is stale (${Math.round(liquidCacheAge / 60)} minutes old, max ${Math.round(LIQUID_CACHE_MAX_AGE / 60)} minutes)`);
window._RestockRocketConfig.isLiquidCacheFresh = false;
}
}
function checkSettingsExpiry(settings) {
try {
if (!settings || !settings.updated_at) {
console.debug('STOQ - Invalid settings data structure');
return null;
}
if (!settings.cache) {
console.debug('STOQ - settings caching disabled');
return null;
}
if (settings.multi_language_enabled) {
if (!settings.translations) {
console.debug('STOQ - multi-language enabled but no translation data in cache, fetching fresh');
return null;
}
if (window._RestockRocketConfig.normalizedLocale &
tatus); }
return response.json();
})
.then(function(body) {
if (body && body.errors && body.errors.length) {
throw new Error('Storefront API errors: ' + body.errors.map(function(e) { return e && e.message; }).join(', '));
}
const value = body && body.data && body.data.shop && body.data.shop.metafield && body.data.shop.metafield.value;
if (!value) { throw new Error('Storefront API returned no settings metafield value'); }
cfg.storefrontSettings = JSON.parse(value);
console.debug('STOQ - stored live settings from Storefront API on config.storefrontSettings');
})
.catch(function(e) {
console.debug('STOQ - Storefront settings fetch failed (non-fatal):', e && e.message);
});
}
if (typeof window.requestIdleCallback === 'function') {
window.requestIdleCallback(run, { timeout: 5000 });
} else {
setTimeout(run, 0);
}
})();
const cachedSettings = window._RestockRocketConfig.cachedSett
Mountain Bikes