diff --git a/erpnext/templates/generators/item/item_add_to_cart.html b/erpnext/templates/generators/item/item_add_to_cart.html index f4a31a7e73d..2a70d8dbe9e 100644 --- a/erpnext/templates/generators/item/item_add_to_cart.html +++ b/erpnext/templates/generators/item/item_add_to_cart.html @@ -27,6 +27,7 @@ {% endif %} {% endif %} + {% if product_info.price and (cart_settings.allow_items_not_in_stock or product_info.in_stock) %}
+ {% endif %} @@ -64,4 +66,4 @@ }); -{% endif %} \ No newline at end of file +{% endif %}