${function() {
const variantData = data.variant || {"id":"82655c3e-9027-4f9e-bad8-356927238c13","product_id":"e7199d4d-4e5f-4a46-b7e3-078000b800a0","title":"grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-230526-A06-WT000ZSLJ-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ad9bfb20e31fd6c230ddca901dc81a1.jpeg","path":"1ad9bfb20e31fd6c230ddca901dc81a1.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/womens-you-are-safe-with-me-t-shirt?variant=82655c3e-9027-4f9e-bad8-356927238c13","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"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.