${function() {
const variantData = data.variant || {"id":"5880f262-1bba-44e6-ae8d-b2a1abbef67e","product_id":"b685d8c4-566e-4d39-a400-41f2ee916d11","title":"Green With Filter","weight_unit":"kg","inventory_quantity":1000,"sku":"MBFAWBFDC-Green With Filter","barcode":"","position":1,"option1":"Green With Filter","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/456cf660392f8e65de509567e1648dff.jpg","path":"456cf660392f8e65de509567e1648dff.jpg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.97,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.97","retail_price":"0","available":true,"url":"\/products\/mobile-bacteria-free-ahp-water-bottles-for-dogs-cats?variant=5880f262-1bba-44e6-ae8d-b2a1abbef67e","available_quantity":999999999,"options":[{"name":"Color","value":"Green With Filter"}],"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.