${function() {
const variantData = data.variant || {"id":"c74dc329-982d-4cc1-82bd-157411e823f4","product_id":"e50ce757-70aa-441b-a878-929d5158e7f6","title":"Black-XS","weight_unit":"kg","inventory_quantity":998,"sku":"JJ1757470-S","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71ab9377454950de9acb1399ea3d4f0e.jpeg","path":"71ab9377454950de9acb1399ea3d4f0e.jpeg","width":1080,"height":1512,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0","compare_at_price":"88.99","price":"44.99","retail_price":"88.99","available":true,"url":"\/products\/hera-black-printed-sleeveless-midi-dress?variant=c74dc329-982d-4cc1-82bd-157411e823f4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":49,"flashsale_info":[],"sales":2};
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":"c74dc329-982d-4cc1-82bd-157411e823f4","product_id":"e50ce757-70aa-441b-a878-929d5158e7f6","title":"Black-XS","weight_unit":"kg","inventory_quantity":998,"sku":"JJ1757470-S","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71ab9377454950de9acb1399ea3d4f0e.jpeg","path":"71ab9377454950de9acb1399ea3d4f0e.jpeg","width":1080,"height":1512,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0","compare_at_price":"88.99","price":"44.99","retail_price":"88.99","available":true,"url":"\/products\/hera-black-printed-sleeveless-midi-dress?variant=c74dc329-982d-4cc1-82bd-157411e823f4","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":49,"flashsale_info":[],"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}