${function() {
const variantData = data.variant || {"id":"de7d4597-eba0-4d9c-a33f-2e90bd3f2352","product_id":"83b6d126-4b11-4081-bc2a-3b9859b9341d","title":"Rose Gold","weight_unit":"kg","inventory_quantity":0,"sku":"Lin211124511-Rose Gold","barcode":"","position":1,"option1":"Rose Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","path":"6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","width":800,"height":800,"alt":"Nordic Style Pearl Pendant Necklace","aspect_ratio":1},"wholesale_price":[{"price":23.88,"min_quantity":1}],"weight":"0.03","compare_at_price":"34.4","price":"23.88","retail_price":"34.4","available":true,"url":"\/products\/nordic-style-pearl-pendant-necklace-gmx0?variant=de7d4597-eba0-4d9c-a33f-2e90bd3f2352","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Gold"}],"off_ratio":31,"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.