${function() {
const variantData = data.variant || {"id":"8f56bd0a-9174-4703-9f19-922775f83868","product_id":"7a0cf960-0cd8-4e6d-9dc6-22f4eefcb2a7","title":"Necklace","weight_unit":"kg","inventory_quantity":0,"sku":"Lin211119330-Necklace","barcode":"","position":2,"option1":"Necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/318ace215f2a71b8d08d52b57ecc4baf.jpeg","path":"318ace215f2a71b8d08d52b57ecc4baf.jpeg","width":600,"height":800,"alt":"Vintage Geometric Metallic Pearl White Necklace And Bracelet","aspect_ratio":0.75},"wholesale_price":[{"price":40.79,"min_quantity":1}],"weight":"0.1","compare_at_price":"65.42","price":"40.79","retail_price":"65.42","available":true,"url":"\/products\/vintage-geometric-metallic-pearl-white-necklace-and-bracelet-52et?variant=8f56bd0a-9174-4703-9f19-922775f83868","available_quantity":999999999,"options":[{"name":"Color","value":"Necklace"}],"off_ratio":38,"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}
`
}()}
Product was out of stock.
Product is unavailable.