${function() {
const variantData = data.variant || {"id":"d89bbeb5-2307-4382-9a3c-2e7cb4a87a20","product_id":"cb437e30-8ee9-474d-a8dd-4a6168c6f194","title":"Light Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1624-Light Blue-S","barcode":"","position":1,"option1":"Light Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7825e55e9008536242fdb4994fe26497.jpeg","path":"7825e55e9008536242fdb4994fe26497.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":38.59,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"38.59","retail_price":"80","available":true,"url":"\/products\/stand-collar-long-sleeve-hollow-dress?variant=d89bbeb5-2307-4382-9a3c-2e7cb4a87a20","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"S"}],"off_ratio":52,"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":"d89bbeb5-2307-4382-9a3c-2e7cb4a87a20","product_id":"cb437e30-8ee9-474d-a8dd-4a6168c6f194","title":"Light Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1624-Light Blue-S","barcode":"","position":1,"option1":"Light Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7825e55e9008536242fdb4994fe26497.jpeg","path":"7825e55e9008536242fdb4994fe26497.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":38.59,"min_quantity":1}],"weight":"0","compare_at_price":"80","price":"38.59","retail_price":"80","available":true,"url":"\/products\/stand-collar-long-sleeve-hollow-dress?variant=d89bbeb5-2307-4382-9a3c-2e7cb4a87a20","available_quantity":999999999,"options":[{"name":"Color","value":"Light Blue"},{"name":"Size","value":"S"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}