${function() {
const variantData = data.variant || {"id":"9b882bfd-6667-4041-a265-4639f6752414","product_id":"8be95887-af1b-45d2-83c4-f1f1ded9a9d1","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Khaki S-44931813","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa695b98b62a73245cbe3d24d1d88c70.jpeg","path":"aa695b98b62a73245cbe3d24d1d88c70.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":70.53,"min_quantity":1}],"weight":"0","compare_at_price":"70.53","price":"70.53","retail_price":"70.53","available":true,"url":"\/products\/elegant-high-collar-sweater-set-207998477682?variant=9b882bfd-6667-4041-a265-4639f6752414","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"9b882bfd-6667-4041-a265-4639f6752414","product_id":"8be95887-af1b-45d2-83c4-f1f1ded9a9d1","title":"Khaki-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Khaki S-44931813","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aa695b98b62a73245cbe3d24d1d88c70.jpeg","path":"aa695b98b62a73245cbe3d24d1d88c70.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":70.53,"min_quantity":1}],"weight":"0","compare_at_price":"70.53","price":"70.53","retail_price":"70.53","available":true,"url":"\/products\/elegant-high-collar-sweater-set-207998477682?variant=9b882bfd-6667-4041-a265-4639f6752414","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}