${function() {
const variantData = data.variant || {"id":"27d6065f-6930-4742-9b88-fdd26aa144b9","product_id":"f6e79729-ef06-4fb1-9069-299ca15ac627","title":"Army Green-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top857-AG-S","barcode":"","position":13,"option1":"Army Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4d8daffa51943b8621a4d7750ceeef13.jpg","path":"4d8daffa51943b8621a4d7750ceeef13.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"300","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/ihoop-t-shirt?variant=27d6065f-6930-4742-9b88-fdd26aa144b9","available_quantity":1000,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"S"}],"off_ratio":40,"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 + '%'
: ``
)}
`;
}()}
Free shipping on orders over $119
${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}
`
}()}