${function() {
const variantData = data.variant || {"id":"f2ac43df-3a72-40c1-8611-6dd10da2f83d","product_id":"beee7e21-151d-4351-9cdf-80f01fea0fd8","title":"Off-white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH286438-HBW00S","barcode":"","position":1,"option1":"Off-white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19bad20416b4482ecb29b38c6dbca436.jpeg","path":"19bad20416b4482ecb29b38c6dbca436.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.24","price":"24.99","retail_price":"33.24","available":true,"url":"\/products\/womens-santa-print-sweatshirt-4?variant=f2ac43df-3a72-40c1-8611-6dd10da2f83d","available_quantity":999999999,"options":[{"name":"Color","value":"Off-white"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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}
`
}()}
Product was out of stock.
Product is unavailable.