${function() {
const variantData = data.variant || {"id":"f34e8521-a710-4329-9360-5ded19e4fced","product_id":"b5177bb5-ba54-4dba-8ccc-a6d3f0d47150","title":"Pink-L","weight_unit":"kg","inventory_quantity":0,"sku":"662208251555-Pink-L","barcode":"","position":1,"option1":"Pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/189bd9ce2172cde9c75f6a60e9eec758.jpeg","path":"189bd9ce2172cde9c75f6a60e9eec758.jpeg","width":1340,"height":1785,"alt":"High-neck short casual two-piece set","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":47.58,"min_quantity":1}],"weight":"0.5","compare_at_price":"56.64","price":"47.58","retail_price":"56.64","available":true,"url":"\/products\/high-neck-short-casual-two-piece-set?variant=f34e8521-a710-4329-9360-5ded19e4fced","available_quantity":999999999,"options":[{"name":"color","value":"Pink"},{"name":"size","value":"L"}],"off_ratio":16,"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.