${function() {
const variantData = data.variant || {"id":"0bc5fbaf-5e22-451b-b0cc-0244aa8e48e6","product_id":"c1c272d2-34f1-443f-aead-f415abf0220a","title":"Ancient-Silver + Colorful","weight_unit":"kg","inventory_quantity":256,"sku":"FXHE2208171003-Ancient-Silver + Colorful","barcode":"","position":2,"option1":"Ancient-Silver + Colorful","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/217da4cd4d2036f3030dbf9997181c14.jpeg","path":"217da4cd4d2036f3030dbf9997181c14.jpeg","width":800,"height":800,"alt":"Exaggerated retro hollow imitation agate earrings ethnic style colorful agate earrings","aspect_ratio":1},"wholesale_price":[{"price":17.45,"min_quantity":1}],"weight":"0.05","compare_at_price":"32.31","price":"17.45","retail_price":"32.31","available":true,"url":"\/products\/exaggerated-retro-hollow-imitation-agate-earrings-ethnic-style-colorful-agate-earrings?variant=0bc5fbaf-5e22-451b-b0cc-0244aa8e48e6","available_quantity":999999999,"options":[{"name":"color","value":"Ancient-Silver + Colorful"}],"off_ratio":46,"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.