You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Stephen Rufle (JIRA)" <ji...@apache.org> on 2008/12/26 16:39:44 UTC

[jira] Updated: (OFBIZ-2105) ShoppingCart.addOrIncreaseItem

     [ https://issues.apache.org/jira/browse/OFBIZ-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Rufle updated OFBIZ-2105:
---------------------------------

    Attachment: 2008-12-23_001_shoppingcart_package.patch

Adds checkItemsExists parameter to ShoppingCart.addOrIncreaseItem . I also changed calls to this method to default to true which was the previous default behavior. There was a dev list thread about white space issues, but I removed those from my current patch 

Check for tab to spaces issues in 
applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCart.java
applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartEvents.java
applications\order\src\org\ofbiz\order\shoppingcart\ShoppingCartHelper.java
applications\order\src\org\ofbiz\order\shoppinglist\ShoppingListEvents.java
applications\order\src\org\ofbiz\order\shoppinglist\ShoppingListServices.java

> ShoppingCart.addOrIncreaseItem
> ------------------------------
>
>                 Key: OFBIZ-2105
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2105
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: Windows XP
>            Reporter: Stephen Rufle
>             Fix For: SVN trunk
>
>         Attachments: 2008-12-23_001_shoppingcart_package.patch
>
>
> Adding a parameter to ShoppingCart.addOrIncreaseItem(... ,
> boolean checkItemsExists) this allows for the adding of a new line item instead of just increasing the quantity.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.