${function() {
const variantData = data.variant || {"id":"78bb7702-ce20-4aa2-a4d2-9f8920185d03","product_id":"943ffe0a-d943-47d3-b887-04bfcfff9463","title":"Golden-Back","weight_unit":"kg","inventory_quantity":8468,"sku":"FXHN2208171039-Golden-Back","barcode":"","position":2,"option1":"Golden-Back","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d62cfdb2bd6b34170c395f386860a9d0.jpeg","path":"d62cfdb2bd6b34170c395f386860a9d0.jpeg","width":800,"height":800,"alt":"Bohemian Silver Horn Design Turquoise Necklace","aspect_ratio":1},"wholesale_price":[{"price":10.1,"min_quantity":1}],"weight":"0.1","compare_at_price":"17.12","price":"10.1","retail_price":"17.12","available":true,"url":"\/products\/bohemian-silver-horn-design-turquoise-necklace?variant=78bb7702-ce20-4aa2-a4d2-9f8920185d03","available_quantity":999999999,"options":[{"name":"color","value":"Golden-Back"}],"off_ratio":41,"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.