${function() {
const variantData = data.variant || {"id":"03d14e78-b20d-4abc-8d3f-a8c356087967","product_id":"aaa7f811-05bb-457f-8b16-735348000c38","title":"Purple-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1534-Purple-M","barcode":"","position":1,"option1":"Purple","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/acee911a547e9bcba2591fbeebe10b0a.jpeg","path":"acee911a547e9bcba2591fbeebe10b0a.jpeg","width":1350,"height":1800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"32.99","retail_price":"43.99","available":true,"url":"\/products\/loose-short-sleeved-cotton-linen-dress-sia1?variant=03d14e78-b20d-4abc-8d3f-a8c356087967","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"M"}],"off_ratio":25,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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":"03d14e78-b20d-4abc-8d3f-a8c356087967","product_id":"aaa7f811-05bb-457f-8b16-735348000c38","title":"Purple-M","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1534-Purple-M","barcode":"","position":1,"option1":"Purple","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/acee911a547e9bcba2591fbeebe10b0a.jpeg","path":"acee911a547e9bcba2591fbeebe10b0a.jpeg","width":1350,"height":1800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"43.99","price":"32.99","retail_price":"43.99","available":true,"url":"\/products\/loose-short-sleeved-cotton-linen-dress-sia1?variant=03d14e78-b20d-4abc-8d3f-a8c356087967","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"M"}],"off_ratio":25,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}