${function() {
const variantData = data.variant || {"id":"517c2964-e9cb-4819-9990-22a9ad16ec32","product_id":"45714e38-50d2-480f-86fd-f6f0e94cbdc1","title":"champagne-purple","weight_unit":"kg","inventory_quantity":1000,"sku":"Hcic-champagne-purple","barcode":"","position":1,"option1":"champagne-purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/974bac0b99279ebeb4306469b5f5e9dd.jpeg","path":"974bac0b99279ebeb4306469b5f5e9dd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/morkopela-crystal-flower-hair-comb-banquet-hair-jewelry-for-women-wedding-hair-clip-accessories-rhinestone-arylic-combs-hairpin?variant=517c2964-e9cb-4819-9990-22a9ad16ec32","available_quantity":999999999,"options":[{"name":"Metal color","value":"champagne-purple"}],"off_ratio":0,"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.