【 Pre sale, shipped on December 5st 】HA62-1 # new hooded pullover windproof sweater
${function() {
const variantData = data.variant || {"id":"4419dd80-a131-446b-b735-e83890a24c18","product_id":"9ea7c47d-e035-47c9-9489-0851a39a04fb","title":"black-S","weight_unit":"kg","inventory_quantity":20,"sku":"HA62-1#200-black-S-A00114442","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/721e75f4aa31ef86fbf2153dd0a38467.jpg","path":"721e75f4aa31ef86fbf2153dd0a38467.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"43.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-5st-ha62-1-new-hooded-pullover-windproof-sweater?variant=4419dd80-a131-446b-b735-e83890a24c18","available_quantity":20,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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":"4419dd80-a131-446b-b735-e83890a24c18","product_id":"9ea7c47d-e035-47c9-9489-0851a39a04fb","title":"black-S","weight_unit":"kg","inventory_quantity":20,"sku":"HA62-1#200-black-S-A00114442","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/721e75f4aa31ef86fbf2153dd0a38467.jpg","path":"721e75f4aa31ef86fbf2153dd0a38467.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"43.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-5st-ha62-1-new-hooded-pullover-windproof-sweater?variant=4419dd80-a131-446b-b735-e83890a24c18","available_quantity":20,"options":[{"name":"colour","value":"black"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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 `
`;
}()}