M224033 New Summer Men's Half Zipper Polo Shirt
${function() {
const variantData = data.variant || {"id":"29d3d4d4-6620-4714-ab93-710dd11a79d5","product_id":"fc599d86-94a6-4ef7-b4b2-6da177a457af","title":"\u84dd-M","weight_unit":"kg","inventory_quantity":50,"sku":"M224033180-\u84dd-M-A0012272","barcode":"","position":1,"option1":"\u84dd","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":41,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"41","retail_price":"0","available":true,"url":"\/products\/m224033-new-summer-mens-half-zipper-polo-shirt?variant=29d3d4d4-6620-4714-ab93-710dd11a79d5","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"\u84dd"},{"name":"\u5c3a\u5bf8","value":"M"}],"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":"29d3d4d4-6620-4714-ab93-710dd11a79d5","product_id":"fc599d86-94a6-4ef7-b4b2-6da177a457af","title":"\u84dd-M","weight_unit":"kg","inventory_quantity":50,"sku":"M224033180-\u84dd-M-A0012272","barcode":"","position":1,"option1":"\u84dd","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":41,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"41","retail_price":"0","available":true,"url":"\/products\/m224033-new-summer-mens-half-zipper-polo-shirt?variant=29d3d4d4-6620-4714-ab93-710dd11a79d5","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"\u84dd"},{"name":"\u5c3a\u5bf8","value":"M"}],"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 `
`;
}()}