${function() {
const variantData = data.variant || {"id":"ff227241-5773-497f-84fc-58f15241376b","product_id":"9bbf7bbb-4994-4e6f-b181-e919eb6447b9","title":"Deep Gray-S","weight_unit":"g","inventory_quantity":1000,"sku":"SS0534-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/173b38c402c3fbd4a20d75e9efdca070.jpg","path":"173b38c402c3fbd4a20d75e9efdca070.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":34.98,"min_quantity":1}],"weight":"500","compare_at_price":"52.99","price":"34.98","retail_price":"52.99","available":true,"url":"\/products\/get-in-loser-were-saving-christmas-deep-gray-sweatshirt?variant=ff227241-5773-497f-84fc-58f15241376b","available_quantity":1000,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":34,"flashsale_info":[],"sales":4};
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}
`
}()}