${function() {
const variantData = data.variant || {"id":"686c5ce8-b800-4306-a753-c4d1a397c12d","product_id":"ff49dc4c-bedf-44b9-b399-cf7011bdb410","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"220222-108-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/abced3d8ad18dfdf7e92d5ab985abc7e.jpg","path":"abced3d8ad18dfdf7e92d5ab985abc7e.jpg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":32.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"32.99","retail_price":"0","available":true,"url":"\/products\/printed-beach-leisure-holiday-dress?variant=686c5ce8-b800-4306-a753-c4d1a397c12d","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"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 + '%'
: ``
)}
`;
}()}
${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.