【 TOPPP 】MC26050- New men's detachable sleeve multi-purpose windproof jacket
${function() {
const variantData = data.variant || {"id":"3ffe3fce-1f23-4a2c-8da3-d3131c2ad99e","product_id":"5a4de97d-4e43-4e69-8253-977b950c351d","title":"White + Green-M","weight_unit":"kg","inventory_quantity":20,"sku":"MC26050290-White + Green-M-A00113774","barcode":"","position":1,"option1":"White + Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9aad047b536d4a4922e83deba7870e48.jpg","path":"9aad047b536d4a4922e83deba7870e48.jpg","width":1500,"height":1125,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"63","retail_price":"0","available":true,"url":"\/products\/toppp-mc26050-new-mens-detachable-sleeve-multi-purpose-windproof-jacket?variant=3ffe3fce-1f23-4a2c-8da3-d3131c2ad99e","available_quantity":20,"options":[{"name":"colour","value":"White + Green"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"3ffe3fce-1f23-4a2c-8da3-d3131c2ad99e","product_id":"5a4de97d-4e43-4e69-8253-977b950c351d","title":"White + Green-M","weight_unit":"kg","inventory_quantity":20,"sku":"MC26050290-White + Green-M-A00113774","barcode":"","position":1,"option1":"White + Green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9aad047b536d4a4922e83deba7870e48.jpg","path":"9aad047b536d4a4922e83deba7870e48.jpg","width":1500,"height":1125,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":63,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"63","retail_price":"0","available":true,"url":"\/products\/toppp-mc26050-new-mens-detachable-sleeve-multi-purpose-windproof-jacket?variant=3ffe3fce-1f23-4a2c-8da3-d3131c2ad99e","available_quantity":20,"options":[{"name":"colour","value":"White + Green"},{"name":"size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}