${function() {
const variantData = data.variant || {"id":"8c48f162-8acf-4ed4-81ef-4f3c92256b36","product_id":"01f991a6-c975-4d50-95f6-07d67acfbfd9","title":"Blue (Straight Plug Model-Not Rechargeable)","weight_unit":"kg","inventory_quantity":1000,"sku":"a-Blue (Straight Plug Model-Not Rechargeable)-A00215151","barcode":"","position":1,"option1":"Blue (Straight Plug Model-Not Rechargeable)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e91ec633cae11b3c21a43acf3426804a.jpeg","path":"e91ec633cae11b3c21a43acf3426804a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.98,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"32.98","retail_price":"39.99","available":true,"url":"\/products\/dual-use-kitchen-fan?variant=8c48f162-8acf-4ed4-81ef-4f3c92256b36","available_quantity":1000,"options":[{"name":"Color","value":"Blue (Straight Plug Model-Not Rechargeable)"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.