${function() {
const variantData = data.variant || {"id":"94543ad2-9a72-4a03-a0ea-057624c99f85","product_id":"bcf4acf0-08f0-4f03-90c9-f3c6e272e555","title":"Silver","weight_unit":"kg","inventory_quantity":515,"sku":"FXHE2208171011-Silver","barcode":"","position":2,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3456a3358102012fb5210aec982e4b0a.jpeg","path":"3456a3358102012fb5210aec982e4b0a.jpeg","width":800,"height":800,"alt":"Vintage Fashion Ethnic Elephant Tassel Earrings","aspect_ratio":1},"wholesale_price":[{"price":14.3,"min_quantity":1}],"weight":"0.05","compare_at_price":"25.09","price":"14.3","retail_price":"25.09","available":true,"url":"\/products\/vintage-fashion-ethnic-elephant-tassel-earrings?variant=94543ad2-9a72-4a03-a0ea-057624c99f85","available_quantity":999999999,"options":[{"name":"color","value":"Silver"}],"off_ratio":43,"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.