${function() {
const variantData = data.variant || {"id":"901f7309-0a18-4d8f-a588-99d586ed247a","product_id":"5386e284-25fd-40f1-8c76-ead89ff124b1","title":"Army Green-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top567-AG-S","barcode":"","position":1,"option1":"Army Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/772c539f89876a606744ac40baa7a9ee.jpg","path":"772c539f89876a606744ac40baa7a9ee.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"400","compare_at_price":"25.99","price":"23.99","retail_price":"25.99","available":true,"url":"\/products\/ive-survived-too-many-storms-to-be-bothered-by-raindrops-t-shirt?variant=901f7309-0a18-4d8f-a588-99d586ed247a","available_quantity":1000,"options":[{"name":"Color","value":"Army Green"},{"name":"Size","value":"S"}],"off_ratio":8,"flashsale_info":[],"sales":1};
const saveType = "percentage";
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}
`
}()}