SHOEI Glamster White & Black retro helmet motorcycle full face helmet
${function() {
const variantData = data.variant || {"id":"aeed4aac-6629-446e-a4f7-d5251b5a798c","product_id":"66fd192a-79c5-4b9d-885c-cd58980a6450","title":"Medium-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Medium","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0971905b35fc3c21dff02c8fb3893155.webp","path":"0971905b35fc3c21dff02c8fb3893155.webp","width":790,"height":1054,"alt":"SHOEI Glamster White & Black retro helmet motorcycle full face helmet","aspect_ratio":0.7495256166982922},"wholesale_price":[{"price":329.99,"min_quantity":1}],"weight":"0","compare_at_price":"699","price":"329.99","retail_price":"699","available":true,"url":"\/products\/shoei-matte-blue-gt-air-ii-helmet-full-face-helmet-4vkq-ximj-bkwj-n20o-ciub-5eiq-w1rz-481v-zthm-k55f-qi3d-srkx-7rc1-4114-f3rv-2r9v-yr1g-jusy-q3tx-7it1-j287-y47s?variant=aeed4aac-6629-446e-a4f7-d5251b5a798c","available_quantity":999999999,"options":[{"name":"Sizes","value":"Medium"},{"name":"Colors","value":"Black"}],"off_ratio":53,"flashsale_info":[],"sales":16};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Sizes
Sizes
Medium
Large
X-Large
XX-Large
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Colors
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$329.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"aeed4aac-6629-446e-a4f7-d5251b5a798c","product_id":"66fd192a-79c5-4b9d-885c-cd58980a6450","title":"Medium-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Medium","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0971905b35fc3c21dff02c8fb3893155.webp","path":"0971905b35fc3c21dff02c8fb3893155.webp","width":790,"height":1054,"alt":"SHOEI Glamster White & Black retro helmet motorcycle full face helmet","aspect_ratio":0.7495256166982922},"wholesale_price":[{"price":329.99,"min_quantity":1}],"weight":"0","compare_at_price":"699","price":"329.99","retail_price":"699","available":true,"url":"\/products\/shoei-matte-blue-gt-air-ii-helmet-full-face-helmet-4vkq-ximj-bkwj-n20o-ciub-5eiq-w1rz-481v-zthm-k55f-qi3d-srkx-7rc1-4114-f3rv-2r9v-yr1g-jusy-q3tx-7it1-j287-y47s?variant=aeed4aac-6629-446e-a4f7-d5251b5a798c","available_quantity":999999999,"options":[{"name":"Sizes","value":"Medium"},{"name":"Colors","value":"Black"}],"off_ratio":53,"flashsale_info":[],"sales":16};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"aeed4aac-6629-446e-a4f7-d5251b5a798c","product_id":"66fd192a-79c5-4b9d-885c-cd58980a6450","title":"Medium-Black","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Medium","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0971905b35fc3c21dff02c8fb3893155.webp","path":"0971905b35fc3c21dff02c8fb3893155.webp","width":790,"height":1054,"alt":"SHOEI Glamster White & Black retro helmet motorcycle full face helmet","aspect_ratio":0.7495256166982922},"wholesale_price":[{"price":329.99,"min_quantity":1}],"weight":"0","compare_at_price":"699","price":"329.99","retail_price":"699","available":true,"url":"\/products\/shoei-matte-blue-gt-air-ii-helmet-full-face-helmet-4vkq-ximj-bkwj-n20o-ciub-5eiq-w1rz-481v-zthm-k55f-qi3d-srkx-7rc1-4114-f3rv-2r9v-yr1g-jusy-q3tx-7it1-j287-y47s?variant=aeed4aac-6629-446e-a4f7-d5251b5a798c","available_quantity":999999999,"options":[{"name":"Sizes","value":"Medium"},{"name":"Colors","value":"Black"}],"off_ratio":53,"flashsale_info":[],"sales":16};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}