${function() {
const variantData = data.variant || {"id":"b3bed4b1-c247-4279-9f80-09d47e982881","product_id":"f1b8b732-e2c0-40c1-a782-83be4e89a70f","title":"Yellow","weight_unit":"kg","inventory_quantity":0,"sku":"{1011}-Yellow-A002588","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9312f2e5ffaf46a62bd4f57f1a65ca4.jpg","path":"a9312f2e5ffaf46a62bd4f57f1a65ca4.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"6.99","retail_price":"9.99","available":true,"url":"\/products\/kitchen-gadgets-ring-garlic-press?variant=b3bed4b1-c247-4279-9f80-09d47e982881","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"}],"off_ratio":30,"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":"b3bed4b1-c247-4279-9f80-09d47e982881","product_id":"f1b8b732-e2c0-40c1-a782-83be4e89a70f","title":"Yellow","weight_unit":"kg","inventory_quantity":0,"sku":"{1011}-Yellow-A002588","barcode":"","position":1,"option1":"Yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9312f2e5ffaf46a62bd4f57f1a65ca4.jpg","path":"a9312f2e5ffaf46a62bd4f57f1a65ca4.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.99,"min_quantity":1}],"weight":"0","compare_at_price":"9.99","price":"6.99","retail_price":"9.99","available":true,"url":"\/products\/kitchen-gadgets-ring-garlic-press?variant=b3bed4b1-c247-4279-9f80-09d47e982881","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"}],"off_ratio":30,"flashsale_info":[],"sales":0};
return `
`
}()}