${function() {
const variantData = data.variant || {"id":"f95f57eb-dce6-42e3-bef4-778e7b41d241","product_id":"13bbbb19-5949-4ca5-8d3c-d2b3335c7303","title":"Yellow-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS0726-Y-S","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12b51f0fe7ec029779a1466b3b1a8db2.jpg","path":"12b51f0fe7ec029779a1466b3b1a8db2.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"600","compare_at_price":"55.99","price":"36.89","retail_price":"55.99","available":true,"url":"\/products\/cat-halloween-crewneck-sweatshirt?variant=f95f57eb-dce6-42e3-bef4-778e7b41d241","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Women Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":11};
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}
`
}()}