${function() {
const variantData = data.variant || {"id":"dfd21b56-682e-4ae2-8781-fc7431e52d92","product_id":"eb222857-1081-4d94-8429-c98c3c53a732","title":"blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-230427-A10-MT0036D5N8-blue-S","barcode":"","position":17,"option1":"blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09b96f48015ed9436925e60685a9542a.jpeg","path":"09b96f48015ed9436925e60685a9542a.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/mens-you-matter-on-your-darkest-night-remember-tomorrow-needs-you-mental-health-t-shirt?variant=dfd21b56-682e-4ae2-8781-fc7431e52d92","available_quantity":999999999,"options":[{"name":"Color","value":"blue"},{"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.