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
This commit is contained in:
Suraj Khurana
2018-12-22 10:15:31 +00:00
parent 0cb5d81015
commit bfee22492d
+2 -2
View File
@@ -445,13 +445,13 @@ under the License.
<td>
</#if>
<input class="inputBox form-control" type="number" name="update_${cartLineIndex}"
value="${cartLine.getQuantity()?string.number}" />
value="${cartLine.getQuantity()?string.number}" min="1" />
</td>
</tr>
</table>
<#else><#-- fixedAssetExist -->
<input class="inputBox form-control" type="number" name="update_${cartLineIndex}"
value="${cartLine.getQuantity()?string.number}" />
value="${cartLine.getQuantity()?string.number}" min="1" />
</#if>
</#if>
</td>