${function() {
const variantData = data.variant || {"id":"53b37fb2-c7b5-43da-983b-7ed70ab48cc7","product_id":"652c4223-6924-47fe-9966-104bc9b83f7e","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0032-B-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/86b390a0ea6496d57a83be763b3dcb4d.jpeg","path":"86b390a0ea6496d57a83be763b3dcb4d.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"34.99","price":"27.99","retail_price":"34.99","available":true,"url":"\/products\/know-when-to-give-up-and-have-a-margarita-sweatshirt?variant=53b37fb2-c7b5-43da-983b-7ed70ab48cc7","available_quantity":1000,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":0};
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}
`
}()}