${function() {
const variantData = data.variant || {"id":"b84ea9e5-9037-4f87-9739-0705244e0fa7","product_id":"be53125b-fcd1-4f74-909d-e662c8225996","title":"green-M","weight_unit":"kg","inventory_quantity":1000,"sku":"green M-41997917","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a2acd9e853fa81dc379e5519062b80d.jpeg","path":"2a2acd9e853fa81dc379e5519062b80d.jpeg","width":737,"height":737,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.86,"min_quantity":1}],"weight":"0","compare_at_price":"25.86","price":"25.86","retail_price":"25.86","available":true,"url":"\/products\/women-clothing-casual-loose-button-cotton-linen-plus-size-tops-208529418006?variant=b84ea9e5-9037-4f87-9739-0705244e0fa7","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"M"}],"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":"b84ea9e5-9037-4f87-9739-0705244e0fa7","product_id":"be53125b-fcd1-4f74-909d-e662c8225996","title":"green-M","weight_unit":"kg","inventory_quantity":1000,"sku":"green M-41997917","barcode":"","position":1,"option1":"green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a2acd9e853fa81dc379e5519062b80d.jpeg","path":"2a2acd9e853fa81dc379e5519062b80d.jpeg","width":737,"height":737,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.86,"min_quantity":1}],"weight":"0","compare_at_price":"25.86","price":"25.86","retail_price":"25.86","available":true,"url":"\/products\/women-clothing-casual-loose-button-cotton-linen-plus-size-tops-208529418006?variant=b84ea9e5-9037-4f87-9739-0705244e0fa7","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}