_sqTrack.cachedPreorderVariantIds.preorder_variant_ids) ||
(_sqTrack.inlinePreorderIdsDropped === true && (_sqTrack.variantsInventoryPolicy || {})[vid] === 'continue' &&
(_sqTrack.variantsInventoryQuantity || {})[vid]
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;
}
}
function setupCartSellingPlanUpdater(settings) {
window.addEventListener('stoq:inventory-data-loaded', function(event) {
console.debug(nt API unavailable'));
}
return fetch(
`https://${cfg.shop}/api/${cfg.storefrontApiVersion}/graphql.json`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Shopify-Storefront-Access-Token': token,
},
body: JSON.stringify({ query: query, variables: variables }),
}
)
.then(function(response) {
if (!response.ok) { throw new Error('Storefront API HTTP ' + response.status); }
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(', '));
}
return body && body.data;
});
}
function fetchStorefrontShopMetafield(key) {
const cfg = window._RestockRocketConfig;
const query = 'query StoqShopMetafield($namespace: String!, $key: String!) { shop { metafield(namespace: $namespace, key: $key) { value } } }';
ret
.shop.translations.value);
}
if (settings.multi_language_enabled && !settings.translations) { throw new Error('settings metafield carries no translations'); }
return settings;
});
}
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.Shopify.shop,
'ngrok-skip-browser-warning': 'skip'
};
if (window.Shopify?.theme?.role === 'main') {
headers['X-Shopify-Theme-Schema-Name'] = window.Shopify.theme.schema_name;
headers['X-Shopify-Theme-Schema-Version'] = window.Shopify.theme.schema_version;
headers['X-Shopify-Theme-Store-Id'] = window.Shopify.theme.theme_store_id;
}
bug('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 fetchEmbedConfig(endpoint, apply) {
return fetch(
`${window._RestockRocketConfig.host}/api/v1/embed/${endpoint}.json`,
{
headers: {
'X-Shopify-Shop-Domain': window._RestockRocketConfig.shop || window.Shopify.shop,
'ngrok-skip-browser-warning': 'skip'
}
}
)
.then(function(response) {
if (!response.ok) throw new Error(`Failed to fetch ${endpoint}`);
return response.json();
})
.then(function(data) {
try {
apply(data);
} catch (applyError) {
console.error('STOQ - apply failed for ' + endpoint + ':', applyError);
throw applyError;
}
})
.catch(function(error) {
console.debug(`STOQ - using cached ${endpoint}:`, errotegrations',
flag: 'enable_storefront_integrations_read',
isValid: function(value) { return Array.isArray(value); },
apply: function(data) {
cfg.integrations = data;
}
});
}
function refreshSellingPlans() {
const cfg = window._RestockRocketConfig;
return refreshShopConfig({
endpoint: 'selling_plans',
metafieldKey: 'cachedSellingPlans',
flag: 'enable_storefront_selling_plans_read',
isValid: function(value) { return !!value && Array.isArray(value.plans); },
apply: function(data) {
cfg.sellingPlans = typeof stoqKeepPlanLocale === 'function' && !(data.read_flags && data.read_flags.full_locale_translations === true) ? stoqKeepPlanLocale(data.plans) : data.plans;
cfg.disabledSellingPlanIds = data.disabled_plan_ids || [];
if (data && data.read_flags && typeof data.read_flags === 'object' && !Array.isArray(data.read_flags)) {
cfg.readFlags = data.read_flags;
}
}
});
}
function initialge.getItem('stoq_wl_c') && JSON.parse(localStorage.getItem('stoq_wl'));
if (Array.isArray(guestWishlist) && guestWishlist.length) {
createRestockRocketScript(window._RestockRocketConfig.scriptHost + 'restockrocket-wishlist-prompt.js');
}
} catch (e) {}
}
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);
}
}
All products
| Bottles & Cages Cart | Shimano TC500 alloy, CentreLock, 148x12 mm thru axle 1 item |
|---|---|
| Rims | Racks & CargoBontrager Kovee, double-wall, Tubeless-Ready, 28-hole, 23 mm width, Presta valve // Bontrager Kovee, double-wall, Tubeless-Ready, 32-hole, 23 mm width, Presta valve Lithuania (EUR€) { "@context": "https://schema.org", "@type": "BikeStore", "@id": "https:\/\/projektride.co.uk\/#store", "name": "ProjektRide", "url": "https:\/\/projektride.co.uk", "telephone": "+44 131 374 5324", "address": { "@type": "PostalAddress", "streetAddress": "82 Newington Road", "addressLocality": "Edinburgh", "postalCode": "EH9 1QN", "addressCountry": "GB" }, "openingHoursSpecification": [ { "@type": "OpeningHoursSpecification", "dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"], "opens": "08:30", "closes": "17:30" }, { "@type": "OpeningHoursSpecification", "dayOfWeek": "Saturday", "opens": "09:00", "closes": "16:00" } ],"logo": "https:\/\/projektride.co.uk\/cdn\/shop\/files\/logo-svg-white.svg?v=1676480383\u0026width=600","sameAs": [ "https://www.instagram.com/projektride"] } |
| Shifter Luxembourg (EUR€) | See More CloseShimano | Need a hand choosing?
| Derailleur Rear | 0% APR finance over 12 monthsShimano CUES U6000 GSFidlockMalawi (MWKMK) | Explore finance for your next bike with Ideal4Finance.
| Crank Mali (XOFFr) Ask about Cycle to Work | BikesFSA Bosch CK-220, 36T ring, 165 mm lengthAss Savers Madone SL 7 Gen 8 Cycle to Work bikes are charged at full retail price. Sale prices and discounts do not apply. | See More
| Cassette Colour:Brand | TrekShimano CUES LG300, LINKGLIDE, 11-48, 10-speed Mauritania (GBP£) Gloss Dark Star/Matte Deep Smoke Sale Bikes / Second Hands | Model details
| Chain Mauritius (MUR₨) | LFrame materialShimano LG500, 9/10/11-speedServices Second Hand | Aluminium
| Brake £5,000.00 | Tektro Moldova (MDLL) Ex-display | Workshop Max tyre clearance
| Brakeset Monaco (EUR€) Brands | Tektro HD-M5140 hydraulic disc // Tektro HD-M5140 hydraulic disc Tektro HD-M5140 hydraulic disc // Tektro HD-M5140 hydraulic disc See More | Workshop Prices Ask our team to confirm any unconfirmed details or the clearance for your setup.
| Brake RotorBook a Service Choosing your sizeBenno | Tektro, CentreLock, 203 mm Morocco (MADد.م.) Size labels vary by brand and model. Check this bike's size guidance, or ask our team for help. | Track Your Service 2 Brothers Cycles
| Pedals Mozambique (GBP£) Gloria | Other Most products are ordered from our suppliers. Ask our team to confirm availability and delivery or collection timing for your chosen size and colour before travelling to the shop.VP-536 nylon platform 3 | See More Genesis
| Kona | Custom Builds 4Netherlands (EUR€) | Ridgeback
| Niger (XOFFr) 5 Trek | UTO |
| Velduro | North Macedonia (MKDден) | Argon 18
| Norway (GBP£) | Bike Type8 See More |
| Road Bikes | Portugal (EUR€) 9 |
| Réunion (EUR€) | 10 +Mountain Bikes|
| Touring Bikes | Decrease Quantity Rwanda (RWFFRw) |
| Increase Quantity San Marino (EUR€) | Folding Bikes|
| Cyclocross Bikes | Senegal (XOFFr) |
Electric Road BikesSierra Leone (SLLLe)
Your cart is currently empty.
Electric Gravel Bikes
Slovakia (EUR€)
.cart-collection__title {
--text: #ffffff;
}
 
-
Electric Mountain Bikes
Slovenia (EUR€)
Electric Hybrid BikesSouth Africa (GBP£)
Electric Cargo BikesSomalia (GBP£) Items
£4,400.00Electric Folding Bikes
- Framesets South Sudan (GBP£) Early RiderSt. Helena (SHP£)














