${function() {
const variantData = data.variant || {"id":"cf984bab-ca6c-4152-b1a6-3a83bbdd1699","product_id":"b2c3ae1f-9609-4a84-b07c-c6f18d0c0c8d","title":"Ivory","weight_unit":"kg","inventory_quantity":0,"sku":"Lin211120376-Ivory","barcode":"","position":1,"option1":"Ivory","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61cb1ba8b2bfc5f306703cdf6299187d.jpeg","path":"61cb1ba8b2bfc5f306703cdf6299187d.jpeg","width":800,"height":800,"alt":"French Retro Small Fragrance Big Pearl Necklace","aspect_ratio":1},"wholesale_price":[{"price":37.49,"min_quantity":1}],"weight":"0","compare_at_price":"54.01","price":"37.49","retail_price":"54.01","available":true,"url":"\/products\/french-retro-small-fragrance-big-pearl-necklace-t674?variant=cf984bab-ca6c-4152-b1a6-3a83bbdd1699","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"}],"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.