${function() {
const variantData = data.variant || {"id":"f79bccf7-5d18-4de6-b923-077820c95dc1","product_id":"3c5977d1-ae97-41b5-b58b-963533b21bca","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0086-G-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d470166853179e114667884a02a6eb9.jpeg","path":"2d470166853179e114667884a02a6eb9.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"27.99","retail_price":"34.99","available":true,"url":"\/products\/rock-on-sweatshirt?variant=f79bccf7-5d18-4de6-b923-077820c95dc1","available_quantity":1000,"options":[{"name":"Color","value":"Gray"},{"name":"Unisex Size","value":"S"}],"off_ratio":20,"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 + '%'
: ``
)}
`;
}()}
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}
`
}()}