${function() {
const variantData = data.variant || {"id":"27b76a49-8a77-471a-bcd3-470f1f978b48","product_id":"7d68bec3-5632-4163-a3e7-778bda54b539","title":"2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Butterfly-Hair-Claw-2pcs","barcode":"","position":1,"option1":"2pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/315bbd395e9dc83fbe1d84db3eb49f5d.jpeg","path":"315bbd395e9dc83fbe1d84db3eb49f5d.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\/butterfly-hair-claw-colorful-rhinestone-flying-butterfly-hairpin-women-elegent-shark-clip-ponytail-clip-ladies-hair-accessories?variant=27b76a49-8a77-471a-bcd3-470f1f978b48","available_quantity":999999999,"options":[{"name":"Qty","value":"2pcs"}],"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.