fig.sellingPlans = [{"shopify_selling_plan_group_id":98590196095,"shopify_selling_plan_id":713071886719,"enabled":true,"variant_ids":[55569933140351,55569712382335,55569712415103,55569712480639,55569933173119,55570017616255,55569933074815,55570017550719,55569712447871,55569933107583,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 }} uni
ts 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_enabled":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_c
olor":"#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.","preorder_min_quantity":null,"preorder_max_quantity":null,"countdown_timer_enabled":false,"countdown_tPlease get in touch with a member of the team either by phone (imer_insert_selector":null,"countdown_timer_insert_selector_type":"afterend","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,"updated_at":"2025-08-19T10:05:43.042Z","allow_mixed_cart":true}];window._RestockRocketConfig.integrations = [{"id":"15c94526-b6b8-4de1-9bc1-23b1ca52ddb0","shop_id":38436,"enabled":true,"page_types":["product","collection","index","search","page","cart","list-collections","article","blog"],"configuration":{"toastDuration":10000,"toastPosition":"bottom-right","enableXHRHijack":true,"enableFetchHijack":true,"quantityLimitDisabled":false},"type":"hijack","css_config":null,"js_config":null,"created_at":"2025-07-26T09:16:04.076Z","updated_at":"2025-07-26T09:16:04.076Z"}];window._RestockRocketConfig.obfuscateInventoryQuantity = false;window._RestockRocketConfig.product = {"id":7473189617890,"title":"Burgtec Penthouse MK5 Pedals-Black","handle":"burgtec-penthouse-mk5-pedals-black","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003eBigger, grippier, lighter and as tough as ever. The Penthouse Flat MK5 pedal is here!\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWe didn’t stop to think about the future when our journey started some 17-years ago on the slopes of Schladming in ‘03. The prototype MK1 Penthouse Flat that debuted that weekend inevitably paved the way for the MK2 in ‘07, the MK3 in ‘09 and the MK4 in ‘14. While much has changed in that time, our focus towards building the toughest and grippiest flat pedals on the market remains the same.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eOur goals for the MK5 mountain bike pedals followed the same design and development path as every other pedal before it; utilise an01313745324y advances in materials and manufacturing, balance the weight and durability, and maximise the amount of grip. From the MK4 to the MK5, we shed 65 grams per pair. The platform footprint was increased by 7%, the dish by 1mm and the pin width was decreased by 0.5mm.\u003c\/p\u003e\n\u003ch3 data-fontsize=\"16\" data-lineheight=\"22px\" class=\"fusion-responsive-typography-calculated\" data-mce-fragment=\"1\"\u003eREFINEMENT\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eTaking on feedback from the MK4 mtb pedals we tried a number of different Q-factors to balance the foot’s position in relation to the cranks.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWith every flat pedal shoe on the market at our disposal, we experimented with different platform sizes, pin widths, and pin heights to maximise grip underfoot.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eIt was of the utmost importance that the MK5’s internals represents the best of the best. To do this we specced the most wear-resistant bushings from Igus. Their \"Endurance Runner\" material - W300 - was a clear winner as this gave unrivalled resistance to external influences. Mud and water ingress is kept at bay with a full-contact oil seal. This keeps grease in and contaminants out even in the harshest of conditions. This configuration of quality parts is why the Penthouse series has a reputation for outstanding longevity.\u003c\/p\u003e\n\u003cul data-mce-fragment=\"1\"\u003e\n\u003cli data-mce-fragment=\"1\"\u003eWeight: 379g (Steel Axle)\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePlatform material: 7075 Alloy\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eProfile: 15mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePlatform: 100mm x 102mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eDish: 2mm (concave)\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePin material: Stainless steel\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eAxle Material: EN24T Steel\u003c\/li\u003e\n\u003cli da) or email (ta-mce-fragment=\"1\"\u003ePin width: 3.5mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePin height: 4.5mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eInternals: 2 x Igus W300 bushes, single sealed bearing and inboard rubber oil seal\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eColours available: Burgtec Black.\u003c\/li\u003e\n\u003c\/ul\u003e","published_at":"2025-01-07T16:36:32+00:00","created_at":"2021-12-14T10:58:22+00:00","vendor":"Burgtec","type":"","tags":["Pedals","spo-cs-disabled","spo-default","spo-disabled","spo-notify-me-disabled"],"price":10999,"price_min":10999,"price_max":10999,"available":false,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42157185597666,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"1601","requires_shipping":true,"taxable":true,"featured_image":null,"available":false,"name":"Burgtec Penthouse MK5 Pedals-Black","public_title":null,"options":["Default Title"],"price":10999,"weight":379,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/projektride.co.uk\/cdn\/shop\/products\/burgtec-penthouse-flat-pedals-mk5-steel-boost-axles-black-712885687336-28521730375888_1000x_d64816a2-b615-421b-9a94-012aaa2823b3.jpg?v=1639479504"],"featured_image":"\/\/projektride.co.uk\/cdn\/shop\/products\/burgtec-penthouse-flat-pedals-mk5-steel-boost-axles-black-712885687336-28521730375888_1000x_d64816a2-b615-421b-9a94-012aaa2823b3.jpg?v=1639479504","options":["Title"],"media":[{"alt":null,"id":28840819687650,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"\/\/projektride.co.uk\/cdn\/shop\/products\/burgtec-penthouse-flat-pedals-mk5-steel-boost-axles-black-712885687336-28521730375888_1000x_d64816a2-b615-421b-9a94-012aaa2823b3.jpg?v=1639479504"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"\/\/p[email protected]rojektride.co.uk\/cdn\/shop\/products\/burgtec-penthouse-flat-pedals-mk5-steel-boost-axles-black-712885687336-28521730375888_1000x_d64816a2-b615-421b-9a94-012aaa2823b3.jpg?v=1639479504","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp data-mce-fragment=\"1\"\u003eBigger, grippier, lighter and as tough as ever. The Penthouse Flat MK5 pedal is here!\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWe didn’t stop to think about the future when our journey started some 17-years ago on the slopes of Schladming in ‘03. The prototype MK1 Penthouse Flat that debuted that weekend inevitably paved the way for the MK2 in ‘07, the MK3 in ‘09 and the MK4 in ‘14. While much has changed in that time, our focus towards building the toughest and grippiest flat pedals on the market remains the same.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eOur goals for the MK5 mountain bike pedals followed the same design and development path as every other pedal before it; utilise any advances in materials and manufacturing, balance the weight and durability, and maximise the amount of grip. From the MK4 to the MK5, we shed 65 grams per pair. The platform footprint was increased by 7%, the dish by 1mm and the pin width was decreased by 0.5mm.\u003c\/p\u003e\n\u003ch3 data-fontsize=\"16\" data-lineheight=\"22px\" class=\"fusion-responsive-typography-calculated\" data-mce-fragment=\"1\"\u003eREFINEMENT\u003c\/h3\u003e\n\u003cp data-mce-fragment=\"1\"\u003eTaking on feedback from the MK4 mtb pedals we tried a number of different Q-factors to balance the foot’s position in relation to the cranks.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eWith every flat pedal shoe on the market at our disposal, we experimented with different platform sizes, pin widths, and pin heights to maximise grip underfoot.\u003c\/p\u003e\n\u003cp data-mce-fragment=\"1\"\u003eIt was of the utmost importance that the MK5’s internals represents the best of the best) where on of the team will be more than happy to help.. To do this we specced the most wear-resistant bushings from Igus. Their \"Endurance Runner\" material - W300 - was a clear winner as this gave unrivalled resistance to external influences. Mud and water ingress is kept at bay with a full-contact oil seal. This keeps grease in and contaminants out even in the harshest of conditions. This configuration of quality parts is why the Penthouse series has a reputation for outstanding longevity.\u003c\/p\u003e\n\u003cul data-mce-fragment=\"1\"\u003e\n\u003cli data-mce-fragment=\"1\"\u003eWeight: 379g (Steel Axle)\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePlatform material: 7075 Alloy\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eProfile: 15mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePlatform: 100mm x 102mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eDish: 2mm (concave)\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePin material: Stainless steel\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eAxle Materia
l: EN24T Steel\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePin width: 3.5mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003ePin height: 4.5mm\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eInternals: 2 x Igus W300 bushes, single sealed bearing and inboard rubber oil seal\u003c\/li\u003e\n\u003cli data-mce-fragment=\"1\"\u003eColours available: Burgtec Black.\u003c\/li\u003e\n\u003c\/ul\u003e"};
window._RestockRocketConfig.variantsInventoryPolicy = {42157185597666 : "deny",};
window._RestockRocketConfig.variantsInventoryQuantity = {42157185597666 : parseInt("0"),};
window._RestockRocketConfig.variantsPreorderCount = {42157185597666 : parseInt(""),};
window._RestockRocketConfig.variantsPreorderCountForMarket = {42157185597666 : null,};
window._RestockRocketConfig.variantsPreorderMaxCount = {42157185597666 : parseInt(""),};
window._RestockRocketConfig.variantsPreorderMaxCountForMarket = {42157185597666 : null,};
window._RestockRocketConfig.variantsShippingTexProjektRide Bike Shop Edinburght = {42157185597666 : "",};
window._RestockRocketConfig.variantsShippingTextForMarket = {42157185597666 : null,};
window._RestockRocketConfig.selected_variant_id = 42157185597666;
window._RestockRocketConfig.selected_variant_available = window._RestockRocketConfig.product.variants.find(function(variant) { return variant.id == window._RestockRocketConfig.selected_variant_id }).available;window._RestockRocketConfig.scriptUrlProduct = 'https://cdn.shopify.com/extensions/019afd95-59d1-7fb0-bcc3-df824a322e94/restock-rocket-shopify-403/assets/restockrocket-product.js'
window._RestockRocketConfig.scriptUrlCollection = 'https://cdn.shopify.com/extensions/019afd95-59d1-7fb0-bcc3-df824a322e94/restock-rocket-shopify-403/assets/restockrocket-collection.js'
window._RestockRocketConfig.scriptHost = window._RestockRocketConfig.scriptUrlProduct.substring(0, window._RestockRocketConfig.scriptUrlProduct.lastIndexOf('/') + 1)
window._RestockRocketConfig.host = 'https://app.restockrocket.io'
const SETTINGS_C
ACHE_DURATION = 15 * 60 * 1000; // 15 minutes in milliseconds
function checkSettingsExpiry(settings) {
try {
if (!settings || !settings.updated_at) {
console.debug('STOQ - Invalid settings data structure');
return null;
}
if (!settings.cache) {
console.debug('STOQ - settings caching disabled');
return null;
}
// Check if translations are enabled but missing from cache
// This handles the backfill period where DB has translations but metafield doesn't
if (settings.multi_language_enabled) {
if (!settings.translations) {
// Translations enabled but no 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, applyTranslation
s 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
<
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 createRestockRocketContai