W221872 Summer New Women's Mid sleeved POLO Shirt
${function() {
const variantData = data.variant || {"id":"0ba90d85-3458-4cdb-b886-9b1225b8adb2","product_id":"0d6fb32a-9aea-4082-993e-9e63291b49ec","title":"\u9ed1\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W221872190-\u9ed1\u8272-S-A0012468","barcode":"","position":1,"option1":"\u9ed1\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9deabba6c31b531730e192b92169f85f.jpg","path":"9deabba6c31b531730e192b92169f85f.jpg","width":550,"height":550,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"42","retail_price":"0","available":true,"url":"\/products\/w221872-summer-new-womens-mid-sleeved-polo-shirt?variant=0ba90d85-3458-4cdb-b886-9b1225b8adb2","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u9ed1\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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":"0ba90d85-3458-4cdb-b886-9b1225b8adb2","product_id":"0d6fb32a-9aea-4082-993e-9e63291b49ec","title":"\u9ed1\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W221872190-\u9ed1\u8272-S-A0012468","barcode":"","position":1,"option1":"\u9ed1\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9deabba6c31b531730e192b92169f85f.jpg","path":"9deabba6c31b531730e192b92169f85f.jpg","width":550,"height":550,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"42","retail_price":"0","available":true,"url":"\/products\/w221872-summer-new-womens-mid-sleeved-polo-shirt?variant=0ba90d85-3458-4cdb-b886-9b1225b8adb2","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u9ed1\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}