${function() {
const variantData = data.variant || {"id":"c41e3f8a-8cfc-4744-b7ad-64adad03a458","product_id":"f6ac78c9-5143-49d3-a15c-209bbac9a1f4","title":"pink clear","weight_unit":"kg","inventory_quantity":1000,"sku":"Double-Row-Crystal-bracelet-pink-clear","barcode":"","position":1,"option1":"pink clear","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1d4acc6f32796f40c6ce809ef8e8ed8.jpeg","path":"c1d4acc6f32796f40c6ce809ef8e8ed8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/ruifan-double-row-pink-purple-clear-shining-crystal-adjustable-beaded-strand-bracelets-for-women-party-fashion-jewelry-ybr461?variant=c41e3f8a-8cfc-4744-b7ad-64adad03a458","available_quantity":999999999,"options":[{"name":"Metal Color","value":"pink clear"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.