${function() {
const variantData = data.variant || {"id":"5519d8a9-929d-41a9-8295-d7eadc167209","product_id":"ba541834-99a9-4199-be8b-ec34cb2a86c4","title":"Green","weight_unit":"kg","inventory_quantity":85666,"sku":"FXHR2208171075-Green","barcode":"","position":2,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ded56fc8a57c7248238de138e1321cd6.jpeg","path":"ded56fc8a57c7248238de138e1321cd6.jpeg","width":1000,"height":1000,"alt":"Open Adjustable Green Double Row Heart Microset Zircon Band Ring","aspect_ratio":1},"wholesale_price":[{"price":12.7,"min_quantity":1}],"weight":"0","compare_at_price":"21.17","price":"12.7","retail_price":"21.17","available":true,"url":"\/products\/open-adjustable-green-double-row-heart-microset-zircon-band-ring?variant=5519d8a9-929d-41a9-8295-d7eadc167209","available_quantity":999999999,"options":[{"name":"color","value":"Green"}],"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.