Workshop

Other
img src="//projektride.co.uk/cdn/shop/products/kinesis_g2_april22_6_98x.jpg?v=1758028036" alt="" class="product-single__thumbnail-img"> // Create "window.Shoppad.apps.infiniteoptions" object if it doesn't already exist 'Shoppad.apps.infiniteoptions'.split('.').reduce(function (o, x) { if (!o[x]) { o[x] = {}; } return o[x]; }, window); // Note we a Collectionsre using the theme app extension window.Shoppad.apps.infiniteoptions.themeAppExtensionActive = true; Yeti
Looking to purchase with a cycle to work scheme? Click here to get in touch and get the ball rolling!
.
Colour
Header Image Sort by
Best selling
    G2 - Khaki Green
  • BUY
Extra Extra Large
Shift Levers
SRAM Apex 1 x 11 speed
Rear Mech

WHY PROJEKTRIDE?

Co-founded by two childhood friends from the heart of the Scottish mountain bike scene, ProjektRide represents our shared passion for riding quality bikes. We stock a range of premium new and second-hand bikes in Edinburgh for all ages and all cycling disciplines. We also have a comprehensive workshop if you are looking to get your bicycle maintained. SRAM Apex 1 Long Cage

ABOUT US
Black

Introducing Stock Builds!

We are really excited to be offering these stock Brothers Mehteh, Big Bro, and Gloria Complete bikes that have been assembled right here in Edinburgh!

Shop Now! Cassette
Green
SRAM PG-1130 11-42T
GreySRAM Apex 1 XSYNC 40T S(51):170mm M(54):172.5mm L(57):172.5mm XL(60):175mm

Customer Care Novatec Hub Centre-lock, 100mm x 12mm Thru Axle

The team's goal is to provide excellent service to ensure every customer has a great experience.Greyhound

Novatec Hub Centre-lock, 142mm x 12mm Thru Axle

Getting the Right Bike

We don’t do 'bikes for the masses', our key objective is to get you the correct bike for your unique riding profile.Pink

Rims

Quality Control

Every bike that passes through our business receives the upmost care and attention, ensuring safety and reliability to every client.Raw

Tyre
Schwalbe G-One Allround 40mm TLE Tubeless Tyre

LOCATION & HOURS

Stem
6061 Aluminium. S(51):80mm M(54):90mm L(57):90mm XL(60):100mmRed

Customer Reviews

Bar Tape

★★★★★



<
les/ycf25160tmust_1_600x.webp?v=1742310705)">

span class="visually-hidden">Yeti Cycles SB160 T-Series 29" Frame Large - Sale
>
>

div class="product__media-hover-img product__media" style="background-image: url(//projektride.co.uk/cdn/shop/files/ycf25160tturq_1_600x.webp?v=1742310705)">
>

★★★

Took my old bike in for a service and it now feels like new. Great communication and great price. Also took the time to chat about future bike options with me. Cannot recommend Projekt Ride enough!

Calum ThistleYeti Cycles SB160 T-Series 29" Frame Large - SaleRear Hub
From £4,299.00Novatec Hub Centre-lock, 142mm x 12mm Thru Axle


<
a class="product__media product__media--featured" href="/collections/yeti/products/yeti-cycle-mte-t-series-t3-29-bike-back-order" title="Yeti Cycle MTe T-Series T3 29" Bike" aria-label="Yeti Cycle MTe T-Series T3 29" Bike" style="background-image: url(//projektride.co.uk/cdn/shop/files/ycb26mtetsmptufxte36602_1_1_600x.webp?v=1749128984)"> <

span class="visually-hidden">Yeti Cycle MTe T-Series T3 29" Bike★★★★★

> I dropped my Specialized Vita for new brake pads and a service, the bike was ready for collection the same day and the price was reasonable! Bicycle feels brand new again and works amazing! Many thanks!!Seatpost

★★★★★ <

div class="product__media-hover-img product__media" style="background-image: url(//projektride.co.uk/cdn/shop/files/b7eaadb5d1b6567a989a0f4fdd48d249b5c73f78fb53b50ca7dc4d4d3cd8bad8__49555_600x.webp?v=1749129001)">Staff are very kind and the price is relatively reasonable, also student can have 10% discount which it great :)Handlebar

Bar Tape
Kinesis Cork Tape
{"id":8001608286434,"title":"Kinesis G2","handle":"kinesis £4,199.00-g2-gravel-bike-2023","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eFollowing the huge success of the Tripster AT and ATR we wanted to offer a gravel adventure road bike that was even more versatile but no less capable than the Tripster AT or ATR for all seasons.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eThe Kinesis G2 adventure bike is nimble off the line, fast handling and plenty tough enough for rough and tumble of UK gravel riding. The perfect four seasons bike for the rider that wants a fast adventure gravel bike, all year round for British summer and winter weather. The Kinesis G2 is more capable than a Road Bike, more comfortable than a Cyclocross Bike and much more versatile than an out-and-out Gravel Bike.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eTwo decades of bike design have taught us to never stand still and question everything we see and do, to make better product for riders, what worked ten years ago may not be suitable for today's rider, so we are c
m BSA.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eBrakes\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 Hydraulic Flat Mount with SRAM Centreline 160mm Rotors\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eCassette\u003c\/td\u003e\n\u003ctd\u003eMicroshift CS-H113 11-42T\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eCrankset\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 XSYNC 40T S(51):170mm M(54):172.5mm L(57):172.5mm XL(60):175mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eFront Hub\u003c\/td\u003e\n\u003ctd\u003eNovatec Hub Centre-lock, 100mm x 12mm Thru Axle\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eRear Hub\u003c\/td\u003e\n\u003ctd\u003eNovatec Hub Centre-lock, 142mm x 12mm Thru Axle\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd cLogo imageBlacklass=\"upgtblstle\"\u003eRims\u003c\/td\u003e\n\u003ctd\u003eSector GD26P Tubeless Rims\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eTyre\u003c\/td\u003e\n\u003ctd\u003eSchwalbe G-One Allround 40mm TLE Tubeless Tyre\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eSeatpost\u003c\/td\u003e\n\u003ctd\u003eAluminium Micro Adjust 350mm x 27.2mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eHandlebar\u003c\/td\u003e\n\u003ctd\u003e6061 Flared Aluminium Double Butted. S(51):42cm M(54):44cm L(57):44cm XL(60):46cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eStem\u003c\/td\u003e\n\u003ctd\u003e6061 Aluminium. S(51):80mm M(54):90mm L(57):90mm XL(60):100mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eBar Tape\u003c\/td\u003e\n\u003ctd\u003eKinesis Cork Tape\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eSaddle\u003c\/td\u003e\n\u003ctd\u003eSelle Italia X3 Black\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eWeight\u003c\/td\u003e\n\u003ctd\u003e10kg Complete. (Large - 57cm).\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e","published_at":"2025-09-16T14:07:29+01:00","created_at":"2023-01-19T19:49:34+00:00","vendor":"Kinesis","type":"Bicycles","tags":["G2","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":170000,"price_min":170000,"price_max":170000,"available":true,"price_varies":false,"compare_at_price":165000,"compare_at_price_min":165000,"compare_at_price_max":165000,"compare_at_price_varies":false,"variants":[{"id":43766825386210,"title":"Small 51cm \/ G2 - Midnight Blue","option1":"Small 51cm","option2":"G2 - Midnight Blue","option3":null,"sk u":"K-BIKE-G2-01-3SM","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Kinesis G2 - Small 51cm \/ G2 - Midnight Blue","public_title":"Small 51cm \/ G2 - Midnight Blue","options":["Small 51cm","G2 - Midnight Blue"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":56063691063679,"title":"Small 51cm \/ G2 - Khaki Green","option1":"Small 51cm","option2":"G2 - Khaki Green","option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Kinesis G2 - Small 51cm \/ G2 - Khaki Green","public_title":"Small 51cm \/ G2 - Khaki Green","options":["Small 51cm","G2 - Khaki Green"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":43766825418978,"title":"Medium 54cm \/ G2 - Midnight Blue","option1":"Medium 54cm",
,"preview_image":{"aspect_ratio":1.016,"height":1136,"width":1154,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2023-01-19at19.47.29.png?v=1758028036"},"aspect_ratio":1.016,"height":1136,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/Screenshot2023-01-19at19.47.29.png?v=1758028036","width":1154},{"alt":null,"id":31567325855970,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/kinesis_g2_april22_6.jpg?v=1758028036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/kinesis_g2_april22_6.jpg?v=1758028036","width":2000},{"alt":null,"id":31567325888738,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/kinesis_bikes_button.jpg?v=1758028036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/products\/kinesis_bikes_button.jpg?vLogo image =1758028036","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003eFollowing the huge success of the Tripster AT and ATR we wanted to offer a gravel adventure road bike that was even more versatile but no less capable than the Tripster AT or ATR for all seasons.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eThe Kinesis G2 adventure bike is nimble off the line, fast handling and plenty tough enough for rough and tumble of UK gravel riding. The perfect four seasons bike for the rider that wants a fast adventure gravel bike, all year round for British summer and winter weather. The Kinesis G2 is more capable than a Road Bike, more comfortable than a Cyclocross Bike and much more versatile than an out-and-out Gravel Bike.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eTwo decades of bike design have taught us to never stand still and question everything we see and do, to make better product for riders, what worked ten years ago may not be suitable for today's rider, so we are constantly evolving. This has lead us to our new 'Kinesis Rider Fit Design' process, a semi sloping frame on the smallest bike, which has not only reduced the stand over height, but has also brought the comfort in line with our larger models. Short chain-stays alongside this revised position gives the G2 outstanding Road Bike characteristics.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003eLow Bottom Bracket, makes the G2 extremely capable off road. Flared Handlebars, short Stem and rear Pannier Rack mounts, means the Kinesis G2 Bike is ready for any adventure.\u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e\n\u003cp\u003ePlease note: Your bike will require some assembly on arrival. Before use, we recommend that this work is carried out by an experienced, qualified Cycle Mechanic to help ensure rider safety and optimal performance.\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ctable class=\"upgtbl\"\u003e\n\u003ctbody\u003e\n\u003ctr class=\" upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eColour\u003c\/td\u003e\n\u003ctd\u003eKhaki Green\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eFrame\u003c\/td\u003e\n\u003ctd\u003eKinesis G2 Double Butted Alloy 6061\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eFork\u003c\/td\u003e\n\u003ctd\u003eKinesis Range Carbon Fork 100 x 12mm Thru Axle\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eHeadset\u003c\/td\u003e\n\u003ctd\u003eIntegrated Tapered with Sealed Bearings\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eShift Levers\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 x 11 speed\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eRear Mech\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 Long Cage\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd c
lass=\"upgtblstle\"\u003eChain\u003c\/td\u003e\n\u003ctd\u003eSRAM PC1110 with POWERLOCK\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eBottom Bracket\u003c\/td\u003e\n\u003ctd\u003eSRAM BB GXP - 68mm BSA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eBrakes\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 Hydraulic Flat Mount with SRAM Centreline 160mm Rotors\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eCassette\u003c\/td\u003e\n\u003ctd\u003eSRAM PG-1130 11-42T\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eCrankset\u003c\/td\u003e\n\u003ctd\u003eSRAM Apex 1 XSYNC 40T S(51):170mm M(54):172.5mm L(57):172.5mm XL(60):175mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eFront Hub\u003c\/td\u003e\n\u003ctd\u003eNovatec Hub Centre-lock, 100mm x 12mm Thru Axle\u003c\/td\u003e\n\u003c\/ tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eRear Hub\u003c\/td\u003e\n\u003ctd\u003eNovatec Hub Centre-lock, 142mm x 12mm Thru Axle\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eRims\u003c\/td\u003e\n\u003ctd\u003eJalco PRD23 Tubeless Rims\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eTyre\u003c\/td\u003e\n\u003ctd\u003eSchwalbe G-One Allround 40mm TLE Tubeless Tyre\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eSeatpost\u003c\/td\u003e\n\u003ctd\u003eAluminium Micro Adjust 350mm x 27.2mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr class=\"upgtbltrhl\"\u003e\n\u003ctd class=\"upgtblstle\"\u003eHandlebar\u003c\/td\u003e\n\u003ctd\u003e6061 Flared Aluminium Double Butted. S(51):42cm M(54):44cm L(57):44cm XL(60):46cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd class=\"upgtblstle\"\u003eStem\u003c\/td\u003e\n\u003ctd\u003e
<
a class="product__media product__media--featured" href="/collections/yeti/products/yeti-cycles-asr-t-series-29-frame" title="Yeti Cycles ASR T-Series 29" Frame" aria-label="Yeti Cycles ASR T-Series 29" Frame" style="background-image: url(//projektride.co.uk/cdn/shop/files/ycf25asrtturq_1_600x.webp?v=1742310750)">
>
£3,799.00
<<
"G2 - Midnight Blue","option3":null,"sku":"K-BIKE-G2-01-4MD","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Kinesis G2 - Medium 54cm \/ G2 - Midnight Blue","public_title":"Medium 54cm \/ G2 - Midnight Blue","options":["Medium 54cm","G2 - Midnight Blue"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":56063691096447,"title":"Medium 54cm \/ G2 - Khaki Green","option1":"Medium 54cm","option2":"G2 - Khaki Green","option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Kinesis G2 - Medium 54cm \/ G2 - Khaki Green","public_title":"Medium 54cm \/ G2 - Khaki Green","options":["Medium 54cm","G2 - Khaki Green"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":43766825451746,"title":"Large 57cm \ £4,299.00/ G2 - Midnight Blue","option1":"Large 57cm","option2":"G2 - Midnight Blue","option3":null,"sku":"K-BIKE-G2-01-5LG","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Kinesis G2 - Large 57cm \/ G2 - Midnight Blue","public_title":"Large 57cm \/ G2 - Midnight Blue","options":["Large 57cm","G2 - Midnight Blue"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":56063691129215,"title":"Large 57cm \/ G2 - Khaki Green","option1":"Large 57cm","option2":"G2 - Khaki Green","option3":null,"sku":null,"requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Kinesis G2 - Large 57cm \/ G2 - Khaki Green","public_title":"Large 57cm \/ G2 - Khaki Green","options":["Large 57cm","G2 - Khaki Green"],"price":170000,"weight":0,"compare_at_price":165000,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":< 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:', 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 (transla tedFields && 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; } } // 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.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; } fetch( `${window._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 e xpired 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}`); 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._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfi<
g.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)) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else if(window._RestockRocketConfig.pageType === 'product') { createRestockRocketScript(window._RestockRocketConfig.scriptUrlProduct); } else if(hijackIntegration) { createRestockRocketScript(window._RestockRocketConfig.scriptUrlCollection); } else { console.debug(`STOQ - no scripts enabled for ${window._RestockRocketConfig.pageType}`); } //a class="product__media product__media--featured" href="/collections/yeti/products/yeti-cycles-sb140-t-series-29-frame" title="Yeti Cycles SB140 T-Series 29" Frame" aria-label="Yeti Cycles SB140 T-Series 29" Frame" style="background-image: url(//projektride.co.uk/cdn/shop/files/ycf25149tturq_1_600x.webp?v=1742310713)"> Check and update cart selling plans after scripts are loaded if (settings.preorder_enabled) { updateCartSellingPlans(); } // Dispatch custom event when app is loaded const appLoadedEvent = new CustomEvent('stoq:loaded', { detail: { pageType: window._RestockRocketConfig.pageType, enabled: settings.enable_app, settings: settings } }); console.debug('STOQ - dispatching app loaded event'); window.dispatchEvent(appLoadedEvent); } } function updateCartSellingPlans() { // Wait for the API to be available with retries const maxRetries = 10; const retryDelay = 500; function attemptCartCheck(attempt = 1) { if (window._RestockRocket && window._RestockRocket.updateCartSellingPlans) { window._RestockRocket.updateCartSellingPlans() .then(hasUpdates => { if (hasUpdates) { console.debug('STOQ - cart selling plans updated successfully'); } els<
e { console.debug('STOQ - no cart selling plan updates needed'); } }) .catch(error => { console.error('STOQ - error updating cart selling plans:', error); }); } else if (attempt span class="visually-hidden">Yeti Cycles SB140 T-Series 29" Frame < maxRetries) { console.debug(`STOQ - API not ready, retry ${attempt}/${maxRetries}`); setTimeout(() => attemptCartCheck(attempt + 1), retryDelay); } else { console.debug('STOQ - API not loaded after max retries, skipping cart selling plan check'); } } attemptCartCheck(); } £4,399.00 Black