${function() {
const variantData = data.variant || {"id":"3bb22f08-3d6e-43f6-a95e-2b47767e8a63","product_id":"928e574f-c6d3-48df-be78-1b33df79fc50","title":"Silver Color","weight_unit":"kg","inventory_quantity":0,"sku":"lx20230810376-Silver Color","barcode":"","position":1,"option1":"Silver Color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/59bbe1bada2073a3b45f6f48e9c90037.jpeg","path":"59bbe1bada2073a3b45f6f48e9c90037.jpeg","width":1080,"height":1080,"alt":"Dolphin Necklace","aspect_ratio":1},"wholesale_price":[{"price":34.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.99","retail_price":"0","available":true,"url":"\/products\/dolphin-necklace?variant=3bb22f08-3d6e-43f6-a95e-2b47767e8a63","available_quantity":999999999,"options":[{"name":"Color","value":"Silver Color"}],"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}
`
}()}
Product was out of stock.
Product is unavailable.