M2220951 Spring/Summer New Men's Short sleeved POLO Shirt Same Style Couple Shirt for Men and Women
${function() {
const variantData = data.variant || {"id":"810353f0-b78f-4118-9ac7-6144780dcc49","product_id":"d070c074-4039-4e4d-a4c8-2542281f42b1","title":"\u9ed1\u8272-M","weight_unit":"kg","inventory_quantity":50,"sku":"M222095170-\u9ed1\u8272-M-A0011693","barcode":"","position":1,"option1":"\u9ed1\u8272","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60bf720e02f74e1fc45248c7b92de601.jpg","path":"60bf720e02f74e1fc45248c7b92de601.jpg","width":960,"height":960,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/m2220951-spring-summer-new-mens-short-sleeved-polo-shirt-same-style-couple-shirt-for-men-and-women?variant=810353f0-b78f-4118-9ac7-6144780dcc49","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"\u9ed1\u8272"},{"name":"\u5c3a\u5bf8","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"810353f0-b78f-4118-9ac7-6144780dcc49","product_id":"d070c074-4039-4e4d-a4c8-2542281f42b1","title":"\u9ed1\u8272-M","weight_unit":"kg","inventory_quantity":50,"sku":"M222095170-\u9ed1\u8272-M-A0011693","barcode":"","position":1,"option1":"\u9ed1\u8272","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60bf720e02f74e1fc45248c7b92de601.jpg","path":"60bf720e02f74e1fc45248c7b92de601.jpg","width":960,"height":960,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/m2220951-spring-summer-new-mens-short-sleeved-polo-shirt-same-style-couple-shirt-for-men-and-women?variant=810353f0-b78f-4118-9ac7-6144780dcc49","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"\u9ed1\u8272"},{"name":"\u5c3a\u5bf8","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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 `
`;
}()}