${function() {
const variantData = data.variant || {"id":"aa1fc11c-b46d-4dc4-b4a6-e5bb2439b4d6","product_id":"f3a475da-b63f-4f76-91c0-cc553f69b6ad","title":"Sand-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS1016-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fd110ed26f4408dbd2fa01697b0c6540.jpg","path":"fd110ed26f4408dbd2fa01697b0c6540.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"550","compare_at_price":"54.99","price":"35.99","retail_price":"54.99","available":true,"url":"\/products\/christmas-white-movie-1954-sweatshirt?variant=aa1fc11c-b46d-4dc4-b4a6-e5bb2439b4d6","available_quantity":1000,"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}
`
}()}