${function() {
const variantData = data.variant || {"id":"9410b5bd-26b1-4618-b467-aec1c583b4c4","product_id":"43dbfaec-53f0-41a2-b650-3cb4f0cb76db","title":"Green","weight_unit":"kg","inventory_quantity":0,"sku":"WB23091803-Green","barcode":"","position":3,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/075e38c70e29c9085b3860c0e658f478.jpeg","path":"075e38c70e29c9085b3860c0e658f478.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"55.99","price":"45.99","retail_price":"55.99","available":true,"url":"\/products\/mens-travel-shoulder-crossbody-bag?variant=9410b5bd-26b1-4618-b467-aec1c583b4c4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":18,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"9410b5bd-26b1-4618-b467-aec1c583b4c4","product_id":"43dbfaec-53f0-41a2-b650-3cb4f0cb76db","title":"Green","weight_unit":"kg","inventory_quantity":0,"sku":"WB23091803-Green","barcode":"","position":3,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/075e38c70e29c9085b3860c0e658f478.jpeg","path":"075e38c70e29c9085b3860c0e658f478.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0.55","compare_at_price":"55.99","price":"45.99","retail_price":"55.99","available":true,"url":"\/products\/mens-travel-shoulder-crossbody-bag?variant=9410b5bd-26b1-4618-b467-aec1c583b4c4","available_quantity":999999999,"options":[{"name":"Color","value":"Green"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}