This site has limited support for your browser. We recommend switching to Edge, Chrome, Safari, or Firefox.This site has limited support for your browser. We recommend switching to Edge, Chrome, Safari, or Firefox.

<

Bikepacking Frame Kit Bundle - HIRE

< label for="quantity--template--15326745395426__main">Quantity

< input type="number" name="quantity" id="quantity--template--15326745395426__main" value="1" min="1">
   

Add to cart
Notify me when this product is available: Product Details
The Backcountry Hip Pack is a lightweight, comfortable carry choice when you need more space but don’t want to wear a backpack. It combines the trail-ready features of the Backcountry Series with our expertise in on-body carry to create the perfect blend of carrying capacity and all-day comfort. Small details like a zipper capable of storing a spare chain link ensure you can carry everything you need for anything you might encounter in the backcountry.
TECHNICAL The velcro strap has an elastic stretch casing and features a Hypalon panel which provides additional support for the security buckle. The fastening system uses Woojin buckles for their reliability and the side straps feature lightweight mesh and padding for comfort. Low profile, quick drying padding on the rear of the bag further improves comfort without adding bulk.
Capacity

2.5L total pack capacity

Product Details

Oxford Bike Packing Gear Set-up! Please note, this is only available when hiring a bike from us.Care

Oxford Aqua Evo Adventure Frame Pack:Hand wash, using a mild diluted soap if necessary. Afterwards, let it air dry. Do not machine wash, machine dry, or iron.

• Universal frame fitting
• Twin chamber storage with pockets
• 4 litre capacity
• Weight: 220g
• Dimensions 45 x 7 x 11cm (HxWxD){"id":8108881084642,"title":"BACKCOUNTRY HIP PACK (2.5L)","handle":"backcountry-hip-pack-2-5l","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cdiv class=\"wrap-details read-more\" data-mce-fragment=\"1\"\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA lightweight mountain bike hip pack for daily rides and bikepacking on technical terrain.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe Backcountry Hip Pack is a lightweight, comfortable carry choice when you need more space but don’t want to wear a backpack. It combines the trail-ready features of the Backcountry Series with our expertise in on-body carry to create the perfect blend of carrying capacity and all-day comfort. Small details like a zipper capable of storing a spare chain link ensure you can carry everything you need for anything you might encounter in the backcountry.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eConstructed from lightweight, breathable mesh and durable, waterproof nylon ripstop, the mountain bike waist pack features a main compartment with internal organisation pockets and two external pockets for easy access on the go. The waist strap features an elasticated velcro closure, enhanced with a secondary security buckle to dial in the on-bike anatomic fit. A high-contrast reflective design enhances visibility in all light conditions.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"wrap-details read-more\" data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eTECHNICAL\u003ci class=\"tab-arrow\" data-mce-fragment=\"1\"\u003e\u003c\/i\u003e\n\u003c\/h3\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe Backcountry Hip Pack is made from nylon ripstop; a rugged fabric made to our own exacting specifications for durability and waterproofing. Designed for the demands of off-road riding, this ensures light weight, low stretch, and high abrasion and tear resistance. Notably, the cycling hip pack is seam taped, creating a watertight seal that ensures the hip pack remains completely waterproof.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe velcro strap has an elastic stretch casing and features a Hypalon panel which provides additional support for the security buckle. The fastening system uses Woojin buckles for their reliability and the side straps feature lightweight mesh and padding for comfort. Low profile, quick drying padding on the rear of the bag further improves comfort without adding bulk.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCapacity\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e2.5L total pack capacity\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCare\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eHand wash, using a mild diluted soap if necessary. Afterwards, let it air dry. Do not machine wash, machine dry, or iron.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","published_at":"2023-06-25T12:09:43+01:00","created_at":"2023-06-25T12:09:43+01:00","vendor":"Apidura","type":"bags","tags":["Accessories","Apidura","backpack","Bags and Transportation","Bike Packing","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":8000,"price_min":8000,"price_max":8000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":44140352438498,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"WBM","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BACKCOUNTRY HIP PACK (2.5L)","public_title":null,"options":["Default Title"],"price":8000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.51.png?v=1687691397","\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.57.png?v=1687691402","\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.10.06.png?v=1687691410"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.51.png?v=1687691397","options":["Title"],"media":[{"alt":null,"id":31960281809122,"position":1,"preview_image":{"aspect_ratio":1.31,"height":942,"width":1234,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.51.png?v=1687691397"},"aspect_ratio":1.31,"height":942,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.51.png?v=1687691397","width":1234},{"alt":null,"id":31960281972962,"position":2,"preview_image":{"aspect_ratio":1.31,"height":942,"width":1234,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.57.png?v=1687691402"},"aspect_ratio":1.31,"height":942,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.57.png?v=1687691402","width":1234},{"alt":null,"id":31960282202338,"position":3,"preview_image":{"aspect_ratio":1.31,"height":942,"width":1234,"src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.10.06.png?v=1687691410"},"aspect_ratio":1.31,"height":942,"media_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.10.06.png?v=1687691410","width":1234}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cdiv class=\"wrap-details read-more\" data-mce-fragment=\"1\"\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eA lightweight mountain bike hip pack for daily rides and bikepacking on technical terrain.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe Backcountry Hip Pack is a lightweight, comfortable carry choice when you need more space but don’t want to wear a backpack. It combines the trail-ready features of the Backcountry Series with our expertise in on-body carry to create the perfect blend of carrying capacity and all-day comfort. Small details like a zipper capable of storing a spare chain link ensure you can carry everything you need for anything you might encounter in the backcountry.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eConstructed from lightweight, breathable mesh and durable, waterproof nylon ripstop, the mountain bike waist pack features a main compartment with internal organisation pockets and two external pockets for easy access on the go. The waist strap features an elasticated velcro closure, enhanced with a secondary security buckle to dial in the on-bike anatomic fit. A high-contrast reflective design enhances visibility in all light conditions.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"wrap-details read-more\" data-mce-fragment=\"1\"\u003e\n\u003ch3 data-mce-fragment=\"1\"\u003eTECHNICAL\u003ci class=\"tab-arrow\" data-mce-fragment=\"1\"\u003e\u003c\/i\u003e\n\u003c\/h3\u003e\n\u003cdiv data-mce-fragment=\"1\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe Backcountry Hip Pack is made from nylon ripstop; a rugged fabric made to our own exacting specifications for durability and waterproofing. Designed for the demands of off-road riding, this ensures light weight, low stretch, and high abrasion and tear resistance. Notably, the cycling hip pack is seam taped, creating a watertight seal that ensures the hip pack remains completely waterproof.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe velcro strap has an elastic stretch casing and features a Hypalon panel which provides additional support for the security buckle. The fastening system uses Woojin buckles for their reliability and the side straps feature lightweight mesh and padding for comfort. Low profile, quick drying padding on the rear of the bag further improves comfort without adding bulk.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCapacity\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e2.5L total pack capacity\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCare\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eHand wash, using a mild diluted soap if necessary. Afterwards, let it air dry. Do not machine wash, machine dry, or iron.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e"}

Oxford Aqua Evo Seat Pack:[]

• External bungee storage
• 10 litre capacity { "@context": "http://schema.org/", "@type": "Product", "name": "BACKCOUNTRY HIP PACK (2.5L)", "url": "https:\/\/projektride.co.uk\/products\/backcountry-hip-pack-2-5l","image": [ "https:\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-06-25at12.09.51_1234x.png?v=1687691397" ],"description": "\n\n\nA lightweight mountain bike hip pack for daily rides and bikepacking on technical terrain.\nThe Backcountry Hip Pack is a lightweight, comfortable carry choice when you need more space but don’t want to wear a backpack. It combines the trail-ready features of the Backcountry Series with our expertise in on-body carry to create the perfect blend of carrying capacity and all-day comfort. Small details like a zipper capable of storing a spare chain link ensure you can carry everything you need for anything you might encounter in the backcountry.\nConstructed from lightweight, breathable mesh and durable, waterproof nylon ripstop, the mountain bike waist pack features a main compartment with internal organisation pockets and two external pockets for easy access on the go. The waist strap features an elasticated velcro closure, enhanced with a secondary security buckle to dial in the on-bike anatomic fit. A high-contrast reflective design enhances visibility in all light conditions.\n\n\n\nTECHNICAL\n\n\nThe Backcountry Hip Pack is made from nylon ripstop; a rugged fabric made to our own exacting specifications for durability and waterproofing. Designed for the demands of off-road riding, this ensures light weight, low stretch, and high abrasion and tear resistance. Notably, the cycling hip pack is seam taped, creating a watertight seal that ensures the hip pack remains completely waterproof.\nThe velcro strap has an elastic stretch casing and features a Hypalon panel which provides additional support for the security buckle. The fastening system uses Woojin buckles for their reliability and the side straps feature lightweight mesh and padding for comfort. Low profile, quick drying padding on the rear of the bag further improves comfort without adding bulk.\nCapacity\n2.5L total pack capacity\nCare\nHand wash, using a mild diluted soap if necessary. Afterwards, let it air dry. Do not machine wash, machine dry, or iron.\n\n","sku": "WBM","brand": { "@type": "Thing", "name": "Apidura" },"gtin8": "","offers": [{ "@type" : "Offer","sku": "WBM","availability" : "http://schema.org/InStock", "price" : 80.0, "priceCurrency" : "GBP", "url" : "https:\/\/projektride.co.uk\/products\/backcountry-hip-pack-2-5l?variant=44140352438498" } ] }
• Universal seat-post fitting

Oxford Aqua Evo Handlebar Pack:

• Front zip pocketWould you like to add on any equipment?
• External bungee storage
• 9 litre capacity
• Dual ended roll closure


<

a class="product__media product__media--featured" href="/collections/mountain-bikes-1/products/hire-smith-convoy-helmet" title="Hire Lazer Compact Helmet" aria-label="Hire Lazer Compact Helmet" style="background-image: url(//projektride.co.uk/cdn/shop/files/my2023_tempo-kineticore-black_right_1400x1011800x600-removebg-preview_1_600x.png?v=1747484784)"> • Universal top-tube fitting<
span class="visually-hidden">Hire Lazer Compact Helmet• Top zip opening> • 1.5 litre capacity


<

Blog Insure Your Bike

4. Wait For ConfirmationPrivacy Policy

Wait for one of the team to confirm your booking. This is separate from the payment confirmation. A confirmation email will be sent within 24 hours, during shop opening times.Cookie Policy

Terms of Service Refund policy SERVICES

5. Collect In Store

Collect your bike in store alongside all optional equipment. Please bring a form of identification (Driver's licence or Passport) to complete the booking.Servicing

Workshop Prices Cycle to Work

6. Ride Confident!

Enjoy your bike for the hire period! The bike must be returned to the store during opening hours of the return date.INFORMATION

  • Location 82 Newington Road
  • Email [email protected]
  • Website by .
  • estockRocketConfig || {} // Helper function to normalize locale format from hyphen to underscore (e.g., 'en-US' -> 'en_us') // This matches the backend's Mobility.normalize_locale behavior // Returns empty string if locale is empty or invalid (matches original behavior) function normalizeLocale(locale) { if (!locale || locale.trim() === '') { return ''; } return locale.toString().toLowerCase().replace(/-/g, '_'); } window._RestockRocketConfig.locale = 'en'; window._RestockRocketConfig.normalizedLocale = normalizeLocale('en'); window._RestockRocketConfig.shop = 'projektride.myshopify.com'; window._RestockRocketConfig.pageType = 'product'; window._RestockRocketConfig.liquidRenderedAt = 1772573028;window._RestockRocketConfig.marketId = 382140642;window._RestockRocketConfig.countryName = 'United Kingdom'; window._RestockRocketConfig.countryIsoCode = 'GB';window._RestockRocketConfig.cartInventoryQuantity = {};window._RestockRocketConfig.cachedSettings = {"id":38500,"shoptConfig.cachedVariantPreorderLimitsMarketKey = "variant_preorder_limits_for_market_382140642";window._RestockRocketConfig.cachedVariantShippingTexts = {"variant_shipping_texts":{},"updated_at":"2026-03-03T21:08:43Z","shopify_market_id":382140642,"market_locations_enabled":false}; window._RestockRocketConfig.cachedVariantShippingTextsMarketKey = "variant_shipping_texts_for_market_382140642";window._RestockRocketConfig.sellingPlans = [{"shopify_selling_plan_group_id":98590196095,"shopify_selling_plan_id":713071886719,"enabled":true,"variant_ids":[55569712382335,55569712415103,55569712480639,55570017616255,55570017550719,55569712447871,55570017583487],"product_variants_source":"custom","name":"Preorder","preorder_button_text":"Preorder","preorder_button_description":"Note: This is a preorder. Items will ship based on the estimated delivery date.","preorder_button_description_background_color":"#ebebeb","preorder_button_description_text_color":"#000000","preorder_button_description_border_radius":10,"preorder _button_description_show_quantity_limit":false,"preorder_button_description_quantity_limit_suffix":" units available for preorder","preorder_button_description_shipping_text_prefix":"Shipping: ","delivery_exact_time":null,"delivery_after_n_intervals":null,"delivery_at":"2025-07-26T09:20:18.169Z","delivery_type":"asap","quantity_limit_text":"{{ quantity }} units available for preorder","preorder_button_description_show_shipping":true,"preorder_button_description_icons_enabled":true,"preorder_shipping_text":"Shipping: {{ date }}","shipping_applies_to_all_products":true,"shipping_text":"Estimated to ship within 2 months","payment_type":"full","billing_checkout_charge_type":"percentage","billing_checkout_charge_amount":null,"billing_checkout_charge_percentage":"100.0","pricing_type":"no_discount","pricing_amount":null,"pricing_percentage":null,"discount_text":"Save {{ discount }}","billing_title":"Full payment","billing_description":null,"enable_billing_widget":false,"inventory_provider":"stoq","preorder_badge_en
  • abled":false,"preorder_badge_text":"Preorder","preorder_badge_text_color":"#FFFFFF","preorder_badge_background_color":"#000000","preorder_discounted_price_enabled":null,"payment_line_item_property_enabled":false,"shipping_line_item_property_enabled":true,"custom_line_item_property_text":null,"preorder_button_text_color":"#ffffff","preorder_button_background_color":"#565557","preorder_button_colors_enabled":true,"markets_enabled":false,"market_id":13779632354,"shopify_market_ids":[],"use_shopify_selling_plan":true,"use_simplified_shipping_text":false,"translations":{},"payment_options":[{"billing_type":"no_remaining_balance","billing_checkout_charge_type":"percentage","billing_checkout_charge_amount":null,"billing_checkout_charge_percentage":"100.0","billing_at":"2025-07-26T09:20:38.472Z","billing_after_n_intervals":7,"billing_after_interval_type":"day","pricing_type":"no_discount","pricing_amount":null,"pricing_percentage":null,"billing_title":"Full payment","billing_description":null,"discount_text":"Save {{ discount }}","shopify_selling_plan_id":713071886719,"is_default":true,"type":"full","translations":{}}],"require_preorder_acknowledgement":false,"preorder_acknowledgement_text":"I acknowledge and agree to the preorder terms and conditions for this product.","disable_button_until_acknowledged":false,"preorder_min_quantity":null,"preorder_max_quantity":null,"countdown_timer_enabled":false,"countdown_timer_style":"text","countdown_timer_text_color":"#000000","countdown_timer_background_color":"#f5f5f5","countdown_timer_border_radius":8,"countdown_timer_format":"DHMS","countdown_timer_use_schedule_dates":true,"countdown_timer_custom_start_date":null,"countdown_timer_custom_end_date":null,"countdown_timer_starts_text":null,"countdown_timer_ends_text":null,"schedule_offer":false,"schedule_start_date":null,"schedule_end_date":null,"updated_at":"2025-08-19T10:05:43.042Z","allow_mixed_cart":true,"mixed_cart_error_message":"Preorders must be purchased separately from regular items. Please complete your current order feam taped, creating a watertight seal that ensures the hip pack remains completely waterproof.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eThe velcro strap has an elastic stretch casing and features a Hypalon panel which provides additional support for the security buckle. The fastening system uses Woojin buckles for their reliability and the side straps feature lightweight mesh and padding for comfort. Low profile, quick drying padding on the rear of the bag further improves comfort without adding bulk.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCapacity\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e2.5L total pack capacity\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003e\u003cstrong data-mce-fragment=\"1\"\u003eCare\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eHand wash, using a mild diluted soap if necessary. Afterwards, let it air dry. Do not machine wash, machine dry, or iron.\u003c\/p \u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","published_at":"2023-06-25T12:09:43+01:00","created_at":"2023-06-25T12:09:43+01:00","vendor":"Apidura","type":"bags","tags":["Accessories","Apidura","backpack","Bags and Transportation","Bike Packing","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":8000,"price_min":8000,"price_max":8000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":44140352438498,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"WBM","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"BACKCOUNTRY HIP PACK (2.5L)","public_title":null,"options":["Default Title"],"price":8000,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/files\/Screenshot2023-0 window._RestockRocketConfig.host = 'https://app.restockrocket.io' const SETTINGS_CACHE_DURATION = 15 * 60 * 1000; // 15 minutes in milliseconds const LIQUID_CACHE_MAX_AGE = 2 * 60 * 60; // 2 hours in seconds // Calculate Liquid cache freshness once at initialization const liquidRenderedAt = window._RestockRocketConfig.liquidRenderedAt; // Validate timestamp and calculate cache age if (!liquidRenderedAt || typeof liquidRenderedAt !== 'number' || isNaN(liquidRenderedAt)) { console.debug('STOQ - Invalid or missing liquidRenderedAt timestamp, assuming fresh'); window._RestockRocketConfig.isLiquidCacheFresh = true; } else { const now = Math.floor(Date.now() / 1000); // Current time in seconds const liquidCacheAge = now - liquidRenderedAt; // Age in seconds // Handle client clock ahead of server if (liquidCacheAge <
  • 0) { console.debug(`STOQ - Client clock appears ahead of server by ${Math.abs(Math.round(liquidCacheAge / 60))} minutes, assuming cache fresh`); window._RestockRocketConfig.isLiquidCacheFresh = true; } else if (liquidCacheAge <age = Date.now() - updatedAt.getTime(); if (age <hopify.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 expired cached settings as fallback'); initializeScripts(cac 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._RestockRocketCon
  • fig.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)) { 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 enab 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); } }