【 Pre sale, shipped on December 10st 】HB60718 # Autumn/Winter New Hoodie Windproof Women's Sweater
${function() {
const variantData = data.variant || {"id":"ff6658ae-c369-46ac-bc18-14e891423a54","product_id":"cde2dadd-5299-4eb3-968e-7f6fb0f167d4","title":"gray-S","weight_unit":"kg","inventory_quantity":20,"sku":"HB60718#180-gray-S-A00114370","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47997fd4933e340d5eb074c0df988aab.jpg","path":"47997fd4933e340d5eb074c0df988aab.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-10st-hb60718-autumn-winter-new-hoodie-windproof-womens-sweater?variant=ff6658ae-c369-46ac-bc18-14e891423a54","available_quantity":20,"options":[{"name":"colour","value":"gray"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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":"ff6658ae-c369-46ac-bc18-14e891423a54","product_id":"cde2dadd-5299-4eb3-968e-7f6fb0f167d4","title":"gray-S","weight_unit":"kg","inventory_quantity":20,"sku":"HB60718#180-gray-S-A00114370","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/47997fd4933e340d5eb074c0df988aab.jpg","path":"47997fd4933e340d5eb074c0df988aab.jpg","width":1280,"height":1280,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":41.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-shipped-on-december-10st-hb60718-autumn-winter-new-hoodie-windproof-womens-sweater?variant=ff6658ae-c369-46ac-bc18-14e891423a54","available_quantity":20,"options":[{"name":"colour","value":"gray"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":4};
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 `
`;
}()}