Women's Hooded Drawstring Design Casual Cotton Coat
${function() {
const variantData = data.variant || {"id":"b107ab3b-4f04-4d8a-b2e0-3e53837c13d2","product_id":"d1eba068-a820-4763-957c-aeb230b231bd","title":"dark brown-XS(UK8\/EU36)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2139424500709","barcode":"","position":1,"option1":"dark brown","option2":"XS(UK8\/EU36)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581c552af7f50597a5c8b469ac693b47.jpeg","path":"581c552af7f50597a5c8b469ac693b47.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"3.98","retail_price":"45.99","available":true,"url":"\/products\/womens-hooded-drawstring-design-casual-cotton-coat-2139424500708?variant=b107ab3b-4f04-4d8a-b2e0-3e53837c13d2","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"XS(UK8\/EU36)"}],"off_ratio":91,"flashsale_info":[],"sales":48};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
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 `
`;
}()}
${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":"b107ab3b-4f04-4d8a-b2e0-3e53837c13d2","product_id":"d1eba068-a820-4763-957c-aeb230b231bd","title":"dark brown-XS(UK8\/EU36)","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2139424500709","barcode":"","position":1,"option1":"dark brown","option2":"XS(UK8\/EU36)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/581c552af7f50597a5c8b469ac693b47.jpeg","path":"581c552af7f50597a5c8b469ac693b47.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":3.98,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"3.98","retail_price":"45.99","available":true,"url":"\/products\/womens-hooded-drawstring-design-casual-cotton-coat-2139424500708?variant=b107ab3b-4f04-4d8a-b2e0-3e53837c13d2","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"XS(UK8\/EU36)"}],"off_ratio":91,"flashsale_info":[],"sales":48};
return `
`
}()}