[
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.