${function() {
const variantData = data.variant || {"id":"ee07ce15-4115-4afe-bb82-bc7e437a9b71","product_id":"089ec294-49de-4f28-98a0-91ee7700a3d8","title":"Gold","weight_unit":"kg","inventory_quantity":0,"sku":"Lin211203861-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3e7fa5c35f6883f44d20e6ca7e7b7037.jpeg","path":"3e7fa5c35f6883f44d20e6ca7e7b7037.jpeg","width":900,"height":900,"alt":"Vintage Square Checkerboard Necklace","aspect_ratio":1},"wholesale_price":[{"price":29.72,"min_quantity":1}],"weight":"0","compare_at_price":"55.04","price":"29.72","retail_price":"55.04","available":true,"url":"\/products\/vintage-square-checkerboard-necklace-kpd0?variant=ee07ce15-4115-4afe-bb82-bc7e437a9b71","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":46,"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.