Contact Us
Create account
BrakesBulgaria (EUR€)
Google PayAngola (GBP£)
- Ascension Island (SHP£) Austria (EUR€)
- Belarus (GBP£)
- Belgium (EUR€)
- Benin (XOFFr)
- Bosnia & Herzegovina (BAMКМ)
Amflow!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:', Object.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
Workshop
Workshop PricesAlgeria (DZDد.ج)
Book a Service
Andorra (EUR€)
Track Your Service
Angola (GBP£) Other
Custom Builds
Armenia (AMDդր.)
Cycle To Work Schemes
Ascension Island (SHP£) Insure Your Bike
Book a Service
Austria (EUR€)
<
- && 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);
});
}
});
}
// First try to get settings from metafields with expiry check
const cachedSettings = window._RestockRocketConfig.cachedSettings;
const validCachedSettings = cachedSettings ? checkSettingsExpiry(cachedSettings) : null;
if (validCachedSettings) {
console.debug('STOQ - using cached settings');
initializeScripts(validCachedSettings);
} else {
console.debug('STOQ - fetching fresh settings');
const headers = {
'X-Shopify-Shop-Domain': window._RestockRocketConfig.shop || window.S
- hedSettings); } 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._RestockRocketConfig.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._RestockRocketConBrother led for ${window._RestockRocketConfig.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 } }); console.debug('STOQ - dispatching app loaded event'); window.dispatchEvent(appLoadedEvent); } }
-
Genesis
- .restock-rocket-button,.restock-rocket-button
- Singular Enigma
- Frog Kona
- Surly
- UTO (ex Eovolt) Early Rider
- Second-Hand Bikes Shop All Second-Hand
- Custom Builds Custom Builds for sale
- Custom Build Inspiration
Workshop PricesAlgeria (DZDد.ج)
Andorra (EUR€)
Angola (GBP£) Other
Armenia (AMDդր.)
Ascension Island (SHP£) Insure Your Bike
-
Belarus (GBP£)Parts & Components
- Belgium (EUR€)
BrandsHopeBenin (XOFFr)
Enve
-
CockpitBosnia & Herzegovina (BAMКМ)Handlebars
- Botswana (BWPP)
StemsGrips & Bar-TapeBritish Indian Ocean Territory (USD$)
Brake Rotors
Cameroon (XAFCFA)
Pedals
AccessoriesBrake PadsBurundi (BIFFr)
Brake Spares
- Forks
Front Suspension
Cape Verde (CVE$)Chad (XAFCFA)
- Tubes










Socks