${function() {
const variantData = data.variant || {"id":"12ffda5f-f5cd-4c36-95e7-901145f359f0","product_id":"be4fb451-51c5-49ab-af06-eafce766e898","title":"Sand-S","weight_unit":"g","inventory_quantity":999,"sku":"SS0842-S-S","barcode":"","position":1,"option1":"Sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dbe822187e7665e8d08b43f16c8db230.jpg","path":"dbe822187e7665e8d08b43f16c8db230.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"450","compare_at_price":"54.99","price":"35.99","retail_price":"54.99","available":true,"url":"\/products\/he-plays-she-cheers-sweatshirt?variant=12ffda5f-f5cd-4c36-95e7-901145f359f0","available_quantity":999,"options":[{"name":"Color","value":"Sand"},{"name":"Unisex","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":1};
const saveType = "amount";
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}
`
}()}