[jira] Created: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart

Nicolas Malin (Jira)
strange behavior of OFBIZ adding product to the shopping cart
-------------------------------------------------------------

                 Key: OFBIZ-2088
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
             Project: OFBiz
          Issue Type: Bug
          Components: specialpurpose/webpos
    Affects Versions: SVN trunk
            Reporter: youssef khaye


when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."


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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart

Nicolas Malin (Jira)

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

youssef khaye updated OFBIZ-2088:
---------------------------------

    Attachment: WebPosPatch.txt

After a breef look in depth of things, I figured out that the method "addToCart" of the class org.ofbiz.order.shoppingcart.ShoppingCartEvents did not search for a field productGoodIdentification which contains the new productId as defined in the form.
I suggest the attached patch, wich assing the value of productGoodIdentification, if existing, to productId.
Best regards.

> strange behavior of OFBIZ adding product to the shopping cart
> -------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart from WebPos

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacques Le Roux updated OFBIZ-2088:
-----------------------------------

    Summary: strange behavior of OFBIZ adding product to the shopping cart from WebPos  (was: strange behavior of OFBIZ adding product to the shopping cart)

> strange behavior of OFBIZ adding product to the shopping cart from WebPos
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2088) strange behavior of OFBIZ adding product to the shopping cart from WebPos

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Marco Risaliti reassigned OFBIZ-2088:
-------------------------------------

    Assignee: Marco Risaliti

> strange behavior of OFBIZ adding product to the shopping cart from WebPos
> -------------------------------------------------------------------------
>
>                 Key: OFBIZ-2088
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2088
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: youssef khaye
>            Assignee: Marco Risaliti
>         Attachments: WebPosPatch.txt
>
>
> when I click on add to cart affter adding a productId in the form the Webpos increments the quantity of a diffrent product in the cart(actually the first one is always incremented even i already have the same product in the cart), if the cart was empty it show an error "No product information passed, not adding anything to cart."

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