${function() {
const variantData = data.variant || {"id":"f0ac384b-a87d-458e-9e6d-fc0bdf89af0e","product_id":"52db6df2-682f-47b1-8e9d-5abe39fbffb1","title":"apricot-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662208251558-apricot-one size","barcode":"","position":1,"option1":"apricot","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/49a386d2885b11ae1f8ec29f8340b63a.jpeg","path":"49a386d2885b11ae1f8ec29f8340b63a.jpeg","width":800,"height":1000,"alt":"Fashion Irregular Belt Set","aspect_ratio":0.8},"wholesale_price":[{"price":37.69,"min_quantity":1}],"weight":"0.45","compare_at_price":"47.11","price":"37.69","retail_price":"47.11","available":true,"url":"\/products\/fashion-irregular-belt-set?variant=f0ac384b-a87d-458e-9e6d-fc0bdf89af0e","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"one size"}],"off_ratio":20,"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.