${function() {
const variantData = data.variant || {"id":"d5a066cb-8ab8-45c8-8253-aeca33659fa8","product_id":"910659c0-7b0b-48bd-848b-7c985eeaeead","title":"Deep Gray-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top511-DG-S","barcode":"","position":1,"option1":"Deep Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a236fa74275365ab67a67fad4084e8e.jpg","path":"5a236fa74275365ab67a67fad4084e8e.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\/be-you-t-shirt?variant=d5a066cb-8ab8-45c8-8253-aeca33659fa8","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}
`
}()}