${function() {
const variantData = data.variant || {"id":"733ef50a-a834-4aa7-8d3c-7219dea83ba0","product_id":"37fd6976-8fab-4326-be6a-aa51fd16eb8a","title":"Colorful-diagonal-stripes (single only)","weight_unit":"kg","inventory_quantity":4432,"sku":"FXHE2208171056-Colorful-diagonal-stripes (single o","barcode":"","position":1,"option1":"Colorful-diagonal-stripes (single only)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/07ddaf84f99f5916cae38d6d63523c38.jpeg","path":"07ddaf84f99f5916cae38d6d63523c38.jpeg","width":1000,"height":1000,"alt":"Vintage Alloy Earrings in Colorful Striped Metal with Fancy Diamonds","aspect_ratio":1},"wholesale_price":[{"price":8.8,"min_quantity":1}],"weight":"0.03","compare_at_price":"15.71","price":"8.8","retail_price":"15.71","available":true,"url":"\/products\/vintage-alloy-earrings-in-colorful-striped-metal-with-fancy-diamonds?variant=733ef50a-a834-4aa7-8d3c-7219dea83ba0","available_quantity":999999999,"options":[{"name":"color","value":"Colorful-diagonal-stripes (single only)"}],"off_ratio":44,"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.