${function() {
const variantData = data.variant || {"id":"f9925181-b24f-47c9-b1bf-7d18e59225f3","product_id":"44e512c1-5578-445b-bdb8-e78ca68db305","title":"Grey-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WTS175061-GRY00S","barcode":"","position":13,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ccf8d139c4cf548995922cb4b1dd752f.jpeg","path":"ccf8d139c4cf548995922cb4b1dd752f.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.55","price":"23.99","retail_price":"34.55","available":true,"url":"\/products\/womens-be-kind-the-world-is-a-better-place-with-you-in-it-print-casual-t-shirt?variant=f9925181-b24f-47c9-b1bf-7d18e59225f3","available_quantity":1000,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":5};
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.