${function() {
const variantData = data.variant || {"id":"7fcaf279-a377-4dd0-bbe5-0a2847d579cb","product_id":"4102e430-544e-424d-9c86-500601916a75","title":"Sand-S","weight_unit":"g","inventory_quantity":999,"sku":"SS0493-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c511527fc2a5991a6d32b643e32907b6.jpg","path":"c511527fc2a5991a6d32b643e32907b6.jpg","width":1000,"height":1250,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.97,"min_quantity":1}],"weight":"450","compare_at_price":"54.99","price":"35.97","retail_price":"54.99","available":true,"url":"\/products\/hot-cocoa-and-christmas-movies-sweatshirt?variant=7fcaf279-a377-4dd0-bbe5-0a2847d579cb","available_quantity":999,"options":[{"name":"Color","value":"Sand"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":2};
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}
`
}()}