${function() {
const variantData = data.variant || {"id":"b234d8e9-617a-4a39-95f2-8ba83a9d1694","product_id":"9188aa20-2811-4b3f-8908-b0029489f226","title":"500-milliamps","weight_unit":"kg","inventory_quantity":1000,"sku":"MMUCOCEFKKL-500-milliamps","barcode":"","position":1,"option1":"500-milliamps","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/72ce4a639c4ef1442da1ac1f9287bdf7.png","path":"72ce4a639c4ef1442da1ac1f9287bdf7.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.99","retail_price":"0","available":true,"url":"\/products\/new-multifunctional-mini-work-lantern-usb-charging-outdoor-camping-emergency-flashlight-keychain-light-waterproof-super-bright?variant=b234d8e9-617a-4a39-95f2-8ba83a9d1694","available_quantity":999999999,"options":[{"name":"Specifications","value":"500-milliamps"}],"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.