${function() {
const variantData = data.variant || {"id":"68f2aa6b-0340-4cc8-8f89-d3868c8ecb69","product_id":"53fdb2a4-bcc9-47d5-a6a3-890dcdda31e3","title":"Sand-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308183183-Sand-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8830da1da73d1914d6754cfcb64a37f2.jpeg","path":"8830da1da73d1914d6754cfcb64a37f2.jpeg","width":800,"height":800,"alt":"Trick or Teach T-shirt","aspect_ratio":1},"wholesale_price":[{"price":22.98,"min_quantity":1}],"weight":"0.2","compare_at_price":"35","price":"22.98","retail_price":"35","available":true,"url":"\/products\/trick-or-teach-t-shirt?variant=68f2aa6b-0340-4cc8-8f89-d3868c8ecb69","available_quantity":999999999,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":0};
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.