${function() {
const variantData = data.variant || {"id":"a7cfc02b-9d95-412f-b2d2-a6e8daaaee14","product_id":"c8c724c0-4453-42ba-9ee2-5e0269dfa9af","title":"Blue","weight_unit":"kg","inventory_quantity":1999886,"sku":"Lin211204913-Blue","barcode":"","position":2,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/22607cb458db854e554bff23866fc2bc.jpeg","path":"22607cb458db854e554bff23866fc2bc.jpeg","width":1001,"height":1001,"alt":"Exaggerated Metal Collar Necklace and Earring Set","aspect_ratio":1},"wholesale_price":[{"price":33.44,"min_quantity":1}],"weight":"0.06","compare_at_price":"64.31","price":"33.44","retail_price":"64.31","available":true,"url":"\/products\/exaggerated-metal-collar-necklace-and-earring-set-e8rc?variant=a7cfc02b-9d95-412f-b2d2-a6e8daaaee14","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"}],"off_ratio":48,"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.