${function() {
const variantData = data.variant || {"id":"25714bf4-4d79-4c28-94d8-9ff86899269e","product_id":"ce7d7143-56ee-4f4b-960f-9d5664f83ad1","title":"Gold","weight_unit":"kg","inventory_quantity":1000,"sku":"GCCTE-Gold-1Pair","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/35654b902c7e51360324b763a2659143.jpeg","path":"35654b902c7e51360324b763a2659143.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\/gold-color-circle-tassel-earrings?variant=25714bf4-4d79-4c28-94d8-9ff86899269e","available_quantity":999999999,"options":[{"name":"Metal Color","value":"Gold"}],"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.