From 72fdc1302c685e1cc6d2adebd04abfd800d3e740 Mon Sep 17 00:00:00 2001 From: marination Date: Thu, 6 Aug 2020 17:34:38 +0530 Subject: [PATCH] fix: product action instead of info --- erpnext/templates/generators/item/item_configure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/templates/generators/item/item_configure.js b/erpnext/templates/generators/item/item_configure.js index 284eb25218..a27c8300dd 100644 --- a/erpnext/templates/generators/item/item_configure.js +++ b/erpnext/templates/generators/item/item_configure.js @@ -202,7 +202,7 @@ class ItemConfigure { add_to_cart = `${__('Add to cart')}`; product_action = in_stock ? add_to_cart : `${__('Not in Stock')}`; } else { - product_info = ''; + product_action = ''; } const item_add_to_cart = one_item ? `