${function() {
const variantData = data.variant || {"id":"2e6adfc9-a796-4a3d-bb7c-2e6f23254426","product_id":"ee4a96b7-d6bc-49f4-a704-2266eeb22652","title":"Black-5XL","weight_unit":"g","inventory_quantity":688,"sku":"101845980001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c691d2fd3492e5e9b19d0d8599370ea.jpeg","path":"4c691d2fd3492e5e9b19d0d8599370ea.jpeg","width":1080,"height":1080,"alt":"Take A Breath Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"224","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/take-a-breath-printed-womens-t-shirt?variant=2e6adfc9-a796-4a3d-bb7c-2e6f23254426","available_quantity":688,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":69};
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":"2e6adfc9-a796-4a3d-bb7c-2e6f23254426","product_id":"ee4a96b7-d6bc-49f4-a704-2266eeb22652","title":"Black-5XL","weight_unit":"g","inventory_quantity":688,"sku":"101845980001","barcode":"","position":1,"option1":"Black","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c691d2fd3492e5e9b19d0d8599370ea.jpeg","path":"4c691d2fd3492e5e9b19d0d8599370ea.jpeg","width":1080,"height":1080,"alt":"Take A Breath Printed Women's T-shirt - ","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"224","compare_at_price":"21.48","price":"14.98","retail_price":"21.48","available":true,"url":"\/products\/take-a-breath-printed-womens-t-shirt?variant=2e6adfc9-a796-4a3d-bb7c-2e6f23254426","available_quantity":688,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"5XL"}],"off_ratio":30,"flashsale_info":[],"sales":69};
return `
`
}()}