${function() {
const variantData = data.variant || {"id":"61b10534-fc3a-4351-98dc-889499982bf9","product_id":"7fda374d-6180-43bc-933b-bc39cfe8a934","title":"Dark Gray-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top488-D2G-S","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c12121c9a868fd7493cd68a81106a2dd.jpg","path":"c12121c9a868fd7493cd68a81106a2dd.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\/expensive-and-difficult-funny-t-shirt?variant=61b10534-fc3a-4351-98dc-889499982bf9","available_quantity":1000,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Size","value":"S"}],"off_ratio":8,"flashsale_info":[],"sales":1};
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}
`
}()}