${function() {
const variantData = data.variant || {"id":"54fc4c70-fc45-48a7-8561-63fec57b20b2","product_id":"68667a1b-f4ee-4b51-91b4-5a5d23cd6aa7","title":"As shown","weight_unit":"kg","inventory_quantity":1000,"sku":"Angle-Grinder-Conversion-As-shown","barcode":"","position":1,"option1":"As shown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3345839a4d2c2e1df9de4ba96d958920.jpeg","path":"3345839a4d2c2e1df9de4ba96d958920.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/angle-grinder-conversion-universal-head-adapter-m10-m14-thread-for-100-115-125-type-angle-grinder-polisher-polishing-oscillating?variant=54fc4c70-fc45-48a7-8561-63fec57b20b2","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"}],"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.