【 TOPPP】W124191- New Women's Woolen Knitted Sweater with Wool and Windproof Layer Warm Women's Coat
${function() {
const variantData = data.variant || {"id":"50d3586d-7973-4547-bfef-71ba3049e826","product_id":"9f963d78-5832-4944-8cb2-95d55216c081","title":"white-0-S","weight_unit":"kg","inventory_quantity":20,"sku":"W124191280-white-0-S-A0018025","barcode":"","position":1,"option1":"white","option2":"0-S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c3646d68defc1ded7285eafb78d9710.jpg","path":"5c3646d68defc1ded7285eafb78d9710.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":61,"min_quantity":1}],"weight":"0.6","compare_at_price":"0","price":"61","retail_price":"0","available":true,"url":"\/products\/toppp-w124191-new-womens-woolen-knitted-sweater-with-wool-and-windproof-layer-warm-womens-coat?variant=50d3586d-7973-4547-bfef-71ba3049e826","available_quantity":20,"options":[{"name":"colour","value":"white"},{"name":"size","value":"0-S"}],"off_ratio":0,"flashsale_info":[],"sales":17};
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":"50d3586d-7973-4547-bfef-71ba3049e826","product_id":"9f963d78-5832-4944-8cb2-95d55216c081","title":"white-0-S","weight_unit":"kg","inventory_quantity":20,"sku":"W124191280-white-0-S-A0018025","barcode":"","position":1,"option1":"white","option2":"0-S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c3646d68defc1ded7285eafb78d9710.jpg","path":"5c3646d68defc1ded7285eafb78d9710.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":61,"min_quantity":1}],"weight":"0.6","compare_at_price":"0","price":"61","retail_price":"0","available":true,"url":"\/products\/toppp-w124191-new-womens-woolen-knitted-sweater-with-wool-and-windproof-layer-warm-womens-coat?variant=50d3586d-7973-4547-bfef-71ba3049e826","available_quantity":20,"options":[{"name":"colour","value":"white"},{"name":"size","value":"0-S"}],"off_ratio":0,"flashsale_info":[],"sales":17};
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 `
`;
}()}