[EASTER SALE] ENJOY INSTANT IN-STORE CASH REBATE UP TO HKD1,300×

+440 0(111) 044 833

WORLDWIDE EXPRESS SHIPPING

First Cargo

Regular price $559.00 Sale

First Cargo

$(function(){ $('.swatch :radio').change(function() { var optionIndex = $(this).closest('.swatch').attr('data-option-index'); var optionValue = $(this).val(); $(this).closest('form').find('.single-option-selector').eq(optionIndex).val(optionValue).trigger('change');}); });var variantImages = {}, thumbnails, variant, variantImage, optionValue, productOptions = []; variant = {"id":31388689236029,"title":"18 L \/ imperial-inferno","option1":"18 L","option2":"imperial-inferno","option3":null,"sku":"2510-03890-5532-118","requires_shipping":true,"taxable":true,"featured_image":{"id":13468527689789,"product_id":4357211193405,"position":1,"created_at":"2019-12-09T11:49:42+08:00","updated_at":"2019-12-09T11:49:42+08:00","alt":null,"width":1200,"height":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-5532_main_6602.jpg?v=1575863382","variant_ids":[31388689236029]},"available":true,"name":"First Cargo - 18 L \/ imperial-inferno","public_title":"18 L \/ imperial-inferno","options":["18 L","imperial-inferno"],"price":55900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":5640719892541,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-5532_main_6602.jpg?v=1575863382"}}}; if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) { variantImage = variant.featured_image.src.split('?')[0].replace(/http(s)?:/,''); variantImages[variantImage] = variantImages[variantImage] || {}; if (typeof variantImages[variantImage]["option-0"] === 'undefined') { variantImages[variantImage]["option-0"] = "18 L"; } else { var oldValue = variantImages[variantImage]["option-0"]; if ( oldValue !== null && oldValue !== "18 L" ) { variantImages[variantImage]["option-0"] = null; } } if (typeof variantImages[variantImage]["option-1"] === 'undefined') { variantImages[variantImage]["option-1"] = "imperial-inferno"; } else { var oldValue = variantImages[variantImage]["option-1"]; if ( oldValue !== null && oldValue !== "imperial-inferno" ) { variantImages[variantImage]["option-1"] = null; } } } productOptions.push(variant); variant = {"id":31388689268797,"title":"18 L \/ candy-black","option1":"18 L","option2":"candy-black","option3":null,"sku":"2510-03890-3536-118","requires_shipping":true,"taxable":true,"featured_image":{"id":13468527722557,"product_id":4357211193405,"position":2,"created_at":"2019-12-09T11:49:42+08:00","updated_at":"2019-12-09T11:49:42+08:00","alt":null,"width":1200,"height":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-3536_main_50248.jpg?v=1575863382","variant_ids":[31388689268797]},"available":true,"name":"First Cargo - 18 L \/ candy-black","public_title":"18 L \/ candy-black","options":["18 L","candy-black"],"price":55900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":5640719925309,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-3536_main_50248.jpg?v=1575863382"}}}; if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) { variantImage = variant.featured_image.src.split('?')[0].replace(/http(s)?:/,''); variantImages[variantImage] = variantImages[variantImage] || {}; if (typeof variantImages[variantImage]["option-0"] === 'undefined') { variantImages[variantImage]["option-0"] = "18 L"; } else { var oldValue = variantImages[variantImage]["option-0"]; if ( oldValue !== null && oldValue !== "18 L" ) { variantImages[variantImage]["option-0"] = null; } } if (typeof variantImages[variantImage]["option-1"] === 'undefined') { variantImages[variantImage]["option-1"] = "candy-black"; } else { var oldValue = variantImages[variantImage]["option-1"]; if ( oldValue !== null && oldValue !== "candy-black" ) { variantImages[variantImage]["option-1"] = null; } } } productOptions.push(variant); variant = {"id":31388689301565,"title":"18 L \/ black-inferno","option1":"18 L","option2":"black-inferno","option3":null,"sku":"2510-03890-0575-118","requires_shipping":true,"taxable":true,"featured_image":{"id":13468527755325,"product_id":4357211193405,"position":3,"created_at":"2019-12-09T11:49:42+08:00","updated_at":"2019-12-09T11:49:42+08:00","alt":null,"width":1200,"height":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-0575_main_6404.jpg?v=1575863382","variant_ids":[31388689301565]},"available":true,"name":"First Cargo - 18 L \/ black-inferno","public_title":"18 L \/ black-inferno","options":["18 L","black-inferno"],"price":55900,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":5640719958077,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1200,"width":1200,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0011\/7476\/5629\/products\/2510-03890-0575_main_6404.jpg?v=1575863382"}}}; if ( typeof variant.featured_image !== 'undefined' && variant.featured_image !== null ) { variantImage = variant.featured_image.src.split('?')[0].replace(/http(s)?:/,''); variantImages[variantImage] = variantImages[variantImage] || {}; if (typeof variantImages[variantImage]["option-0"] === 'undefined') { variantImages[variantImage]["option-0"] = "18 L"; } else { var oldValue = variantImages[variantImage]["option-0"]; if ( oldValue !== null && oldValue !== "18 L" ) { variantImages[variantImage]["option-0"] = null; } } if (typeof variantImages[variantImage]["option-1"] === 'undefined') { variantImages[variantImage]["option-1"] = "black-inferno"; } else { var oldValue = variantImages[variantImage]["option-1"]; if ( oldValue !== null && oldValue !== "black-inferno" ) { variantImages[variantImage]["option-1"] = null; } } } productOptions.push(variant); // (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: mllegeorgesand@gmail.com // See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus var Shopify = Shopify || {}; Shopify.optionsMap = {}; Shopify.updateOptionsInSelector = function(selectorIndex) { switch (selectorIndex) { case 0: var key = 'root'; var selector = $('.single-option-selector:eq(0)'); break; case 1: var key = $('.single-option-selector:eq(0)').val(); var selector = $('.single-option-selector:eq(1)'); break; case 2: var key = $('.single-option-selector:eq(0)').val(); key += ' / ' + $('.single-option-selector:eq(1)').val(); var selector = $('.single-option-selector:eq(2)'); } var initialValue = selector.val(); selector.empty(); var availableOptions = Shopify.optionsMap[key]; for (var i=0; i').val(option).html(option); selector.append(newOption); } $('.swatch[data-option-index="' + selectorIndex + '"] .swatch-element').each(function() { if (jQuery.inArray($(this).attr('data-value'), availableOptions) !== -1) { $(this).removeClass('soldout').show().find(':radio').removeAttr('disabled','disabled').removeAttr('checked'); } else { $(this).addClass('soldout').hide().find(':radio').removeAttr('checked').attr('disabled','disabled'); } }); if (jQuery.inArray(initialValue, availableOptions) !== -1) { selector.val(initialValue); } selector.trigger('change'); }; Shopify.linkOptionSelectors = function(product) { // Building our mapping object. for (var i=0; i 1) { var key = variant.option1; Shopify.optionsMap[key] = Shopify.optionsMap[key] || []; Shopify.optionsMap[key].push(variant.option2); Shopify.optionsMap[key] = Shopify.uniq(Shopify.optionsMap[key]); } // Gathering values for the 3rd drop-down. if (product.options.length === 3) { var key = variant.option1 + ' / ' + variant.option2; Shopify.optionsMap[key] = Shopify.optionsMap[key] || []; Shopify.optionsMap[key].push(variant.option3); Shopify.optionsMap[key] = Shopify.uniq(Shopify.optionsMap[key]); } } } // Update options right away. Shopify.updateOptionsInSelector(0); if (product.options.length > 1) Shopify.updateOptionsInSelector(1); if (product.options.length === 3) Shopify.updateOptionsInSelector(2); // When there is an update in the first dropdown. $(".single-option-selector:eq(0)").change(function() { Shopify.updateOptionsInSelector(1); if (product.options.length === 3) Shopify.updateOptionsInSelector(2); return true; }); // When there is an update in the second dropdown. $(".single-option-selector:eq(1)").change(function() { if (product.options.length === 3) Shopify.updateOptionsInSelector(2); return true; }); };
Loading...