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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user