${function() {
const variantData = data.variant || {"id":"7860488e-63ea-42eb-9d6a-53d63f3ceb3c","product_id":"19a540b1-5db8-45c5-bb49-d478bf0856aa","title":"Wine Red-S","weight_unit":"kg","inventory_quantity":-3,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f190f535d3fbde5e115b4cda382f1b49.jpeg","path":"f190f535d3fbde5e115b4cda382f1b49.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"27","price":"15","retail_price":"27","available":true,"url":"\/products\/sportlift-ultra-sports-bra-in-black?variant=7860488e-63ea-42eb-9d6a-53d63f3ceb3c","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"},{"name":"Size","value":"S"}],"off_ratio":44,"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":"7860488e-63ea-42eb-9d6a-53d63f3ceb3c","product_id":"19a540b1-5db8-45c5-bb49-d478bf0856aa","title":"Wine Red-S","weight_unit":"kg","inventory_quantity":-3,"sku":"","barcode":"","position":1,"option1":"Wine Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f190f535d3fbde5e115b4cda382f1b49.jpeg","path":"f190f535d3fbde5e115b4cda382f1b49.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0","compare_at_price":"27","price":"15","retail_price":"27","available":true,"url":"\/products\/sportlift-ultra-sports-bra-in-black?variant=7860488e-63ea-42eb-9d6a-53d63f3ceb3c","available_quantity":999999999,"options":[{"name":"Color","value":"Wine Red"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}