${function() {
const variantData = data.variant || {"id":"ef608439-bd5d-4d3b-9d14-e80da05145df","product_id":"1264368d-f588-4a38-abfc-8882f0565b1d","title":"H Necklace","weight_unit":"kg","inventory_quantity":0,"sku":"Lin211125580-H Necklace","barcode":"","position":1,"option1":"H Necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/75ee752f149161d77aba4879bf4ef22d.jpeg","path":"75ee752f149161d77aba4879bf4ef22d.jpeg","width":471,"height":353,"alt":"Pearl Necklace Pearl Jewelry","aspect_ratio":1.3342776203966005},"wholesale_price":[{"price":26.5,"min_quantity":1}],"weight":"0.01","compare_at_price":"37.54","price":"26.5","retail_price":"37.54","available":true,"url":"\/products\/pearl-necklace-pearl-jewelry-nak4?variant=ef608439-bd5d-4d3b-9d14-e80da05145df","available_quantity":999999999,"options":[{"name":"Color","value":"H Necklace"}],"off_ratio":29,"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.