${function() {
const variantData = data.variant || {"id":"71f0f3ab-26b5-444e-bdb5-814316698e54","product_id":"36c4270b-80c4-4f19-b1f3-280fb4d013df","title":"Yellow-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"5178537","barcode":"5178537","position":1,"option1":"Yellow","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12bce01b21baa0721d0091743f93dc49.jpeg","path":"12bce01b21baa0721d0091743f93dc49.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.78,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"34.78","retail_price":"0","available":true,"url":"\/products\/round-necked-sleeveless-vintage-print-maxi-dress?variant=71f0f3ab-26b5-444e-bdb5-814316698e54","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2xl"}],"off_ratio":0,"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.
Sku : 5178537
Weight : 0.3kg
Barcode : 5178537
${function(){
const variantData = data.variant || {"id":"71f0f3ab-26b5-444e-bdb5-814316698e54","product_id":"36c4270b-80c4-4f19-b1f3-280fb4d013df","title":"Yellow-2xl","weight_unit":"kg","inventory_quantity":999,"sku":"5178537","barcode":"5178537","position":1,"option1":"Yellow","option2":"2xl","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12bce01b21baa0721d0091743f93dc49.jpeg","path":"12bce01b21baa0721d0091743f93dc49.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.78,"min_quantity":1}],"weight":"0.3","compare_at_price":"0","price":"34.78","retail_price":"0","available":true,"url":"\/products\/round-necked-sleeveless-vintage-print-maxi-dress?variant=71f0f3ab-26b5-444e-bdb5-814316698e54","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2xl"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}