div class="featured-image__bg bg-pos-center-center" style="background-image: url('//projektride.co.uk/cdn/shop/files/2571D9FF-E9AE-4004-9A55-C7FD4DD999D6_2048x.jpg?v=1640941114');">Product Details
[email protected]
Weight: 530g) where on of the team will be more than happy to help.
I'm looking to buy this product, when will it arrive and how much does postage cost?
If the item is showing in stock, we aim to post the product within 24 hours. Please allow 5 working days to receive the item.
We also have a physical store, if you are local please pop in -
e yarn in neon yellow and black.\u003cbr\u003e\u003cbr\u003eThat gives ORTLIEB High Visibility bags an added safety feature in twilight conditions and in the dark of night.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cbr\u003eThe Back-Roller High Visibility is the ideal bike bag for those who prefer the convenience of the roll closure system. The durable, waterproof, dustproof, abrasion-resistant and high quality fabric ensures optimal protection for your gear. Equipped with the sophisticated QL2.1 system with self-closing hooks, the Back-Roller attaches to your bike in a flash. And simply use the easily detachable shoulder strap to carry your bike bag comfortably once you’ve arrived at your destination.\u003c\/span\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eFabric: PS50X\/PS50CX\u003c\/li\u003e\n\u003cli\u003eFeatures: QL3.1\u003c\/li\u003e\n\u003cli\u003eHeight: 42cm\u003c\/li\u003e\n\u003cli\u003eWidth: 23cm\u003c\/li\u003e\n\u003cli\u003eDepth: 17cm\u003c\/li\u003e\n\u003cli\u003eVolume
: 20L\u003c\/li\u003e\n\u003cli\u003eWeight: 960g\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"tab-pane fade\" id=\"product-details\" data-product='{\"id_shop_default\":\"1\",\"id_manufacturer\":\"29\",\"id_supplier\":\"0\",\"reference\":\"OF5500\",\"is_virtual\":\"0\",\"delivery_in_stock\":\"\",\"delivery_out_stock\":\"\",\"id_category_default\":\"62\",\"on_sale\":\"0\",\"online_only\":\"0\",\"ecotax\":0,\"minimal_quantity\":\"1\",\"low_stock_threshold\":null,\"low_stock_alert\":\"0\",\"price\":\"\\u00a373.89\",\"unity\":\"\",\"unit_price_ratio\":\"0.000000\",\"additional_shipping_cost\":\"0.00\",\"customizable\":\"0\",\"text_fields\":\"0\",\"uploadable_files\":\"0\",\"redirect_type\":\"301-category\",\"id_type_redirected\":\"0\",\"available_for_order\":\"1\",\"available_date\":\"0000-00-00\",\"show_condition\":\"0\",\"condition\":\"new\",\"show_price\":\"1\",\"indexed\":\"1\",\"visibility\":\"both\",\"cache_default_attribute\":\"0\",\"advanced_stock_management\"
:\"0\",\"date_add\":\"2023-01-11 09:32:43\",\"date_upd\":\"2024-08-15 18:41:22\",\"pack_stock_type\":\"3\",\"meta_description\":\"\",\"meta_keywords\":\"\",\"meta_title\":\"\",\"link_rewrite\":\"ortlieb-back-roller-high-visibility-ql31\",\"name\":\"Ortlieb Back-Roller High Visibility QL3.1\",\"description\":\"\u0026lt;p\u0026gt;\u0026lt;strong\u0026gt;Sold Singularly\u0026lt;\\\/strong\u0026gt;\u0026lt;\\\/p\u0026gt;\\n\u0026lt;p\u0026gt;\u0026lt;span\u0026gt;A brilliant idea for all-season, all-weather riders: the bike bags in the ORTLIEB High Visibility Line make it easier for other people to see you while you\\u2019re out there on the streets. This is because all High Visibility bags not only come with reflectors, but are themselves one big reflector. The waterproof bags are made with a polyurethane coated Cordura fabric that is woven through with a high-luminosity reflective yarn in neon yellow and black. \u0026lt;br \\\/\u0026gt;\u0026lt;br \\\/\u0026gt;That gives ORTLIEB High Visibility bags an added sa
fety feature in twilight conditions and in the dark of night.\u0026lt;\\\/span\u0026gt;\u0026lt;br \\\/\u0026gt;\u0026lt;span\u0026gt;\u0026lt;br \\\/\u0026gt;The Back-Roller High Visibility is the ideal bike bag for those who prefer the convenience of the roll closure system. The durable, waterproof, dustproof, abrasion-resistant and high quality fabric ensures optimal protection for your gear. Equipped with the sophisticated QL2.1 system with self-closing hooks, the Back-Roller attaches to your bike in a flash. And simply use the easily detachable shoulder strap to carry your bike bag comfortably once you\\u2019ve arrived at your destination.\u0026lt;\\\/span\u0026gt;\u0026lt;\\\/p\u0026gt;\\n\u0026lt;ul\u0026gt;\\n\u0026lt;li\u0026gt;Fabric: PS50X\\\/PS50CX\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Features: QL3.1\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Height: 42cm\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Width: 23cm\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Depth: 17cm\u0026lt;\\\/li\u
0026gt;\\n\u0026lt;li\u0026gt;Volume: 20L\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Weight: 960g\u0026lt;\\\/li\u0026gt;\\n\u0026lt;\\\/ul\u0026gt;\",\"description_short\":\"\",\"available_now\":\"In Stock\",\"available_later\":\"Out of Stock - Backorder\",\"id\":6216,\"id_product\":6216,\"out_of_stock\":2,\"new\":0,\"id_product_attribute\":\"0\",\"quantity_wanted\":1,\"extraContent\":[],\"allow_oosp\":1,\"category\":\"rear-panniers\",\"category_name\":\"Rear Panniers\",\"link\":\"https:\\\/\\\/lyonb2b.co.uk\\\/rear-panniers\\\/6216-ortlieb-back-roller-high-visibility-ql31-4013051055185.html\",\"attribute_price\":0,\"price_tax_exc\":73.8900000000000005684341886080801486968994140625,\"price_without_reduction\":73.8900000000000005684341886080801486968994140625,\"reduction\":0,\"specific_prices\":[],\"quantity\":28,\"quantity_all_versions\":28,\"id_image\":\"gb-default\",\"features\":[{\"name\":\"Product Line\",\"value\":\"High-Viz\",\"id_feature\":\"10\",\"position\":\"5\"},{\"name\":\"Mounting System\",\"v
alue\":\"QL3.1\",\"id_feature\":\"11\",\"position\":\"6\"}],\"attachments\":[],\"virtual\":0,\"pack\":0,\"packItems\":[],\"nopackprice\":0,\"customization_required\":false,\"rate\":20,\"tax_name\":\"VAT UK 20%\",\"ecotax_rate\":0,\"unit_price\":\"\",\"customizations\":{\"fields\":[]},\"id_customization\":0,\"is_customizable\":false,\"show_quantities\":false,\"quantity_label\":\"Items\",\"quantity_discounts\":[],\"customer_group_discount\":0,\"images\":[{\"bySize\":{\"small_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"cart_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-cart_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":125,\"height\":125},\"home_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"medium_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-medium_defaulbility-ql31.jpg\",\"width\":98,\"height\":98},\"medium\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"large\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800},\"legend\":\"\",\"cover\":null,\"id_image\":\"13727\",\"position\":\"6\",\"associatedVariants\":[]}],\"cover\":{\"bySize\":{\"small_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"cart_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-cart_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":125,\"height\":125},\"home_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"medium_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-medium_de
fault\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":452,\"height\":452},\"large_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800}},\"small\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"medium\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"large\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800},\"legend\":\"\",\"cover\":\"1\",\"id_image\":\"13722\",\"position\":\"1\",\"associatedVariants\":[]},\"has_discount\":false,\"discount_type\":null,\"discount_percentage\":null,\"discount_percentage_absolute\":null,\"discount_amount\":null,\"discount_amount_to_display\":null,\"price_amount\":73.8900000000000005684341886080
_type":"image","src":"\/\/projektride.co.uk\/cdn\/shop\/files\/13727.jpg?v=1723802258","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e \u003c\/p\u003e\n\u003cdiv class=\"tab-pane fade in active\" id=\"description\" role=\"tabpanel\"\u003e\n\u003cdiv class=\"product-description\"\u003e\n\u003cp\u003e\u003cstrong\u003eSold Singularly\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eA brilliant idea for all-season, all-weather riders: the bike bags in the ORTLIEB High Visibility Line make it easier for other people to see you while you’re out there on the streets. This is because all High Visibility bags not only come with reflectors, but are themselves one big reflector. The waterproof bags are made with a polyurethane coated Cordura fabric that is woven through with a high-luminosity reflective yarn in neon yellow and black.\u003cbr\u003e\u003cbr\u003eThat gives ORTLIEB High Visibility bags an added safety feature in twilight conditions and in tProjektRidehe dark of night.\u003c\/span\u003e\u003cbr\u003e\u003cspan\u003e\u003cbr\u003eThe Back-Roller High Visibility is the ideal bike bag for those who prefer the convenience of the roll closure system. The durable, waterproof, dustproof, abrasion-resistant and high quality fabric ensures optimal protection for your gear. Equipped with the sophisticated QL2.1 system with self-closing hooks, the Back-Roller attaches to your bike in a flash. And simply use the easily detachable shoulder strap to carry your bike bag comfortably once you’ve arrived at your destination.\u003c\/span\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eFabric: PS50X\/PS50CX\u003c\/li\u003e\n\u003cli\u003eFeatures: QL3.1\u003c\/li\u003e\n\u003cli\u003eHeight: 42cm\u003c\/li\u003e\n\u003cli\u003eWidth: 23cm\u003c\/li\u003e\n\u003cli\u003eDepth: 17cm\u003c\/li\u003e\n\u003cli\u003eVolume: 20L\u003c\/li\u003e\n\u003cli\u003eWeight: 960g\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv class=\"tab-pane fade\
" id=\"product-details\" data-product='{\"id_shop_default\":\"1\",\"id_manufacturer\":\"29\",\"id_supplier\":\"0\",\"reference\":\"OF5500\",\"is_virtual\":\"0\",\"delivery_in_stock\":\"\",\"delivery_out_stock\":\"\",\"id_category_default\":\"62\",\"on_sale\":\"0\",\"online_only\":\"0\",\"ecotax\":0,\"minimal_quantity\":\"1\",\"low_stock_threshold\":null,\"low_stock_alert\":\"0\",\"price\":\"\\u00a373.89\",\"unity\":\"\",\"unit_price_ratio\":\"0.000000\",\"additional_shipping_cost\":\"0.00\",\"customizable\":\"0\",\"text_fields\":\"0\",\"uploadable_files\":\"0\",\"redirect_type\":\"301-category\",\"id_type_redirected\":\"0\",\"available_for_order\":\"1\",\"available_date\":\"0000-00-00\",\"show_condition\":\"0\",\"condition\":\"new\",\"show_price\":\"1\",\"indexed\":\"1\",\"visibility\":\"both\",\"cache_default_attribute\":\"0\",\"advanced_stock_management\":\"0\",\"date_add\":\"2023-01-11 09:32:43\",\"date_upd\":\"2024-08-15 18:41:22\",\"pack_stock_type\":\"3\",\"meta_description\":\"\",\"meta_keywords\":\"\"Buy Sell Ride Confident,\"meta_title\":\"\",\"link_rewrite\":\"ortlieb-back-roller-high-visibility-ql31\",\"name\":\"Ortlieb Back-Roller High Visibility QL3.1\",\"description\":\"\u0026lt;p\u0026gt;\u0026lt;strong\u0026gt;Sold Singularly\u0026lt;\\\/strong\u0026gt;\u0026lt;\\\/p\u0026gt;\\n\u0026lt;p\u0026gt;\u0026lt;span\u0026gt;A brilliant idea for all-season, all-weather riders: the bike bags in the ORTLIEB High Visibility Line make it easier for other people to see you while you\\u2019re out there on the streets. This is because all High Visibility bags not only come with reflectors, but are themselves one big reflector. The waterproof bags are made with a polyurethane coated Cordura fabric that is woven through with a high-luminosity reflective yarn in neon yellow and black. \u0026lt;br \\\/\u0026gt;\u0026lt;br \\\/\u0026gt;That gives ORTLIEB High Visibility bags an added safety feature in twilight conditions and in the dark of night.\u0026lt;\\\/span\u0026gt;\u0026lt;br \\\/\u0026gt;\u0026lt;span\u0026gt;\u0026lt;br \\\/\u002
6gt;The Back-Roller High Visibility is the ideal bike bag for those who prefer the convenience of the roll closure system. The durable, waterproof, dustproof, abrasion-resistant and high quality fabric ensures optimal protection for your gear. Equipped with the sophisticated QL2.1 system with self-closing hooks, the Back-Roller attaches to your bike in a flash. And simply use the easily detachable shoulder strap to carry your bike bag comfortably once you\\u2019ve arrived at your destination.\u0026lt;\\\/span\u0026gt;\u0026lt;\\\/p\u0026gt;\\n\u0026lt;ul\u0026gt;\\n\u0026lt;li\u0026gt;Fabric: PS50X\\\/PS50CX\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Features: QL3.1\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Height: 42cm\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Width: 23cm\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Depth: 17cm\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Volume: 20L\u0026lt;\\\/li\u0026gt;\\n\u0026lt;li\u0026gt;Weight: 960g\u0026lt;\\\/li\u0026gt;\\n\u0026lt;\\\/ul\u0026gt;\",\
"description_short\":\"\",\"available_now\":\"In Stock\",\"available_later\":\"Out of Stock - Backorder\",\"id\":6216,\"id_product\":6216,\"out_of_stock\":2,\"new\":0,\"id_product_attribute\":\"0\",\"quantity_wanted\":1,\"extraContent\":[],\"allow_oosp\":1,\"category\":\"rear-panniers\",\"category_name\":\"Rear Panniers\",\"link\":\"https:\\\/\\\/lyonb2b.co.uk\\\/rear-panniers\\\/6216-ortlieb-back-roller-high-visibility-ql31-4013051055185.html\",\"attribute_price\":0,\"price_tax_exc\":73.8900000000000005684341886080801486968994140625,\"price_without_reduction\":73.8900000000000005684341886080801486968994140625,\"reduction\":0,\"specific_prices\":[],\"quantity\":28,\"quantity_all_versions\":28,\"id_image\":\"gb-default\",\"features\":[{\"name\":\"Product Line\",\"value\":\"High-Viz\",\"id_feature\":\"10\",\"position\":\"5\"},{\"name\":\"Mounting System\",\"value\":\"QL3.1\",\"id_feature\":\"11\",\"position\":\"6\"}],\"attachments\":[],\"virtual\":0,\"pack\":0,\"packItems\":[],\"nopackprice\":0,\"customization_
required\":false,\"rate\":20,\"tax_name\":\"VAT UK 20%\",\"ecotax_rate\":0,\"unit_price\":\"\",\"customizations\":{\"fields\":[]},\"id_customization\":0,\"is_customizable\":false,\"show_quantities\":false,\"quantity_label\":\"Items\",\"quantity_discounts\":[],\"customer_group_discount\":0,\"images\":[{\"bySize\":{\"small_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"cart_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-cart_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":125,\"height\":125},\"home_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"medium_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-medium_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":452,\"height\":452},\"large_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-large_d
efault\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800}},\"small\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"medium\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"large\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13722-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800},\"legend\":\"\",\"cover\":\"1\",\"id_image\":\"13722\",\"position\":\"1\",\"associatedVariants\":[]},{\"bySize\":{\"small_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13723-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"cart_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13723-cart_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":125,\"height\":125},\"home_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co
\\/13726-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"medium_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13726-medium_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":452,\"height\":452},\"large_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13726-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800}},\"small\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13726-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"medium\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13726-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"large\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13726-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800},\"legend\":\"\",\"cover\":null,\"id_image\":\"13726\",\"position\":\"5\",\"associatedVariants\":[]},{\"bySize\":{\"small_default\":{\"url\":\"httQuestions and answersps:\\\/\\\/lyonb2b.co.uk\\\/13727-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"cart_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-cart_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":125,\"height\":125},\"home_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-home_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":259,\"height\":259},\"medium_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-medium_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":452,\"height\":452},\"large_default\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-large_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":800,\"height\":800}},\"small\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-small_default\\\/ortlieb-back-roller-high-visibility-ql31.jpg\",\"width\":98,\"height\":98},\"medium\":{\"url\":\"https:\\\/\\\/lyonb2b.co.uk\\\/13727-home_default\\\/ortlieb-back-roller-high-visibilit
ion.js'
window._RestockRocketConfig.scriptHost = window._RestockRocketConfig.scriptUrlProduct.substring(0, window._RestockRocketConfig.scriptUrlProduct.lastIndexOf('/') + 1)
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 translation data in metafield
// Metafield hasn't been backfilled yet - force refresh
console.debug('STOQ - multi-language enabled but no translation data in cache, fetching fresh');
return null;
}
// Translations object exists in metafield - cache is valid
// If current locale isn't translated, applyTranslations will gracefully use default locale from base fields
if (window._RestockRocketConfig.normalizedLocale &&
!Object.prototype.hasOwnProperty.call(settings.translations, window._RestockRocketConfig.normalizedLocale)) {
console.debug('STOQ - locale not explicitly translated, will use default language from cache');
}
// Don't return null - continue using cache even for untranslated locales
}
const updatedAt = new Date(settings.updated_at);
if (isNaN(updatedAt.getTime())) {
console.debug('STOQ - Invalid updated_at date format in settings');
return null;
}
const
age = Date.now() - updatedAt.getTime();
if (age