[특별 할인] MT005 discounted women's knitted vest
${function() {
const variantData = data.variant || {"id":"dccfad49-307f-496e-b909-1fab726c6f78","product_id":"5c0641d0-5d6d-4477-a84f-0504647e9742","title":"\u5361\u5176\u8272-S","weight_unit":"kg","inventory_quantity":10,"sku":"\u7279 MT005-50-\u5361\u5176\u8272-S-A0011760","barcode":"","position":1,"option1":"\u5361\u5176\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/477f753b30c1da8c55883dea79f26ae1.jpg","path":"477f753b30c1da8c55883dea79f26ae1.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-mt005-discounted-womens-knitted-vest?variant=dccfad49-307f-496e-b909-1fab726c6f78","available_quantity":10,"options":[{"name":"\u989c\u8272","value":"\u5361\u5176\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"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":"dccfad49-307f-496e-b909-1fab726c6f78","product_id":"5c0641d0-5d6d-4477-a84f-0504647e9742","title":"\u5361\u5176\u8272-S","weight_unit":"kg","inventory_quantity":10,"sku":"\u7279 MT005-50-\u5361\u5176\u8272-S-A0011760","barcode":"","position":1,"option1":"\u5361\u5176\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/477f753b30c1da8c55883dea79f26ae1.jpg","path":"477f753b30c1da8c55883dea79f26ae1.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-mt005-discounted-womens-knitted-vest?variant=dccfad49-307f-496e-b909-1fab726c6f78","available_quantity":10,"options":[{"name":"\u989c\u8272","value":"\u5361\u5176\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"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 `
`;
}()}