From bfee22492dd62149b4e203b9dba8dedc787397d6 Mon Sep 17 00:00:00 2001 From: Suraj Khurana Date: Sat, 22 Dec 2018 10:15:31 +0000 Subject: [PATCH] Fixed: Quantity of the product added in the cart should not be negative. (OFBIZ-10668) Thanks Dikpal Kanungo for reporting and Prakhar Kumar for providing the patch. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release17.12@1849533 13f79535-47bb-0310-9956-ffa450edef68 --- ecommerce/template/cart/ShowCart.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecommerce/template/cart/ShowCart.ftl b/ecommerce/template/cart/ShowCart.ftl index d6c6947b1..81ec7df92 100644 --- a/ecommerce/template/cart/ShowCart.ftl +++ b/ecommerce/template/cart/ShowCart.ftl @@ -445,13 +445,13 @@ under the License. + value="${cartLine.getQuantity()?string.number}" min="1" /> <#else><#-- fixedAssetExist --> + value="${cartLine.getQuantity()?string.number}" min="1" />