${function() {
const variantData = data.variant || {"id":"e7bb7832-f6d1-4059-93d6-8f3e200e21e6","product_id":"926dccfd-4a9f-4777-aa24-201ead5dc7f8","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH273533-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c50cb0d059977df11b0ce4eff3eb0d6.jpeg","path":"8c50cb0d059977df11b0ce4eff3eb0d6.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.73","price":"24.99","retail_price":"48.73","available":true,"url":"\/products\/womens-cute-winter-fox-print-casual-sweatshirt-2?variant=e7bb7832-f6d1-4059-93d6-8f3e200e21e6","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":49,"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.