${function() {
const variantData = data.variant || {"id":"3f9aaaa2-f177-4f92-beb0-0d6c159d092d","product_id":"2eeb55fe-5df1-4582-b762-b99f463fa395","title":"Dark Gray-S","weight_unit":"g","inventory_quantity":1000,"sku":"Top534-D2G-S","barcode":"","position":1,"option1":"Dark Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cade9de47c3520f803756a07adb5b937.jpg","path":"cade9de47c3520f803756a07adb5b937.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\/faith-hope-and-love-t-shirt?variant=3f9aaaa2-f177-4f92-beb0-0d6c159d092d","available_quantity":1000,"options":[{"name":"Color","value":"Dark Gray"},{"name":"Unisex 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}
`
}()}