${function() {
const variantData = data.variant || {"id":"b56298b8-3f5d-486a-9f44-334024b09213","product_id":"81df6bbb-14ea-4eb0-99cf-7feb39a88bb6","title":"Pink (pair)","weight_unit":"kg","inventory_quantity":95367,"sku":"FXHE2208171066-Pink (pair)","barcode":"","position":2,"option1":"Pink (pair)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/328146eacb3cef026249b1e6ed2b2413.jpeg","path":"328146eacb3cef026249b1e6ed2b2413.jpeg","width":800,"height":800,"alt":"Fashion simple creative earrings C-shaped metal retro pearl ear clip","aspect_ratio":1},"wholesale_price":[{"price":10.6,"min_quantity":1}],"weight":"0.03","compare_at_price":"17.66","price":"10.6","retail_price":"17.66","available":true,"url":"\/products\/fashion-simple-creative-earrings-c-shaped-metal-retro-pearl-ear-clip?variant=b56298b8-3f5d-486a-9f44-334024b09213","available_quantity":999999999,"options":[{"name":"color","value":"Pink (pair)"}],"off_ratio":40,"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.