${function() {
const variantData = data.variant || {"id":"bd0cf58d-5331-4325-832b-07219fbd07ac","product_id":"5ae869a6-7b92-487f-a406-a5b12d371d6e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OVW319956-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/377050d4c0b5a7f724a6140471775724.jpeg","path":"377050d4c0b5a7f724a6140471775724.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"26.99","retail_price":"37.99","available":true,"url":"\/products\/womens-musical-note-and-piano-keys-print-shift-dress-6nxn?variant=bd0cf58d-5331-4325-832b-07219fbd07ac","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"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":"bd0cf58d-5331-4325-832b-07219fbd07ac","product_id":"5ae869a6-7b92-487f-a406-a5b12d371d6e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"OVW319956-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/377050d4c0b5a7f724a6140471775724.jpeg","path":"377050d4c0b5a7f724a6140471775724.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"26.99","retail_price":"37.99","available":true,"url":"\/products\/womens-musical-note-and-piano-keys-print-shift-dress-6nxn?variant=bd0cf58d-5331-4325-832b-07219fbd07ac","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}