${function() {
const variantData = data.variant || {"id":"ae7bea4f-5dd5-482c-a5bd-3f10b0002c9c","product_id":"fb641d86-7ec8-4fba-8e06-0c34dd424035","title":"Deep Gray-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top537-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/130df0d09b2278a2d6a6631de084f5a9.jpg","path":"130df0d09b2278a2d6a6631de084f5a9.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"400","compare_at_price":"25.99","price":"23.99","retail_price":"25.99","available":true,"url":"\/products\/homebody-t-shirt?variant=ae7bea4f-5dd5-482c-a5bd-3f10b0002c9c","available_quantity":1000,"options":[{"name":"Color","value":"Deep Gray"},{"name":"Size","value":"S"}],"off_ratio":8,"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}
`
}()}