[ 
https://issues.apache.org/jira/browse/OFBIZ-11970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421353#comment-17421353
 ] 

ASF subversion and git services commented on OFBIZ-11970:
---------------------------------------------------------

Commit df7ae11c73055050d30564df7af4872718e26616 in ofbiz-plugins's branch 
refs/heads/release18.12 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=df7ae11 ]

Fixed: Add to cart is not working for products with selectable features 
(OFBIZ-11970)

Two issues were present, first was due to incorrect markup and the second was 
due to ajax request and response view of the additem request.
In additem request last saved view or the view of the last request is rendered 
on successful operation and in this case the last request/view is the one which 
is used to render UOM dropdown.

Thanks: Akash Jain and Ravi Lodhi


> Add to cart is not working for products with selectable features
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-11970
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11970
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>            Reporter: Ravi Lodhi
>            Assignee: Nicolas Malin
>            Priority: Major
>         Attachments: addToCartProductWithVariantExplosionError.png
>
>
> Issue-1: Steps to regenerate:
> 1. Visit the [https://demo-trunk.ofbiz.apache.org/ecommerce/control/main].
>  2. Select the "Giant Widget with feature explosion" from the Popular 
> Categories section on home page. You will be redirected to product detail 
> page.
>  3. Select color and size from the respective dropdowns and click on Add To 
> Cart button.
>  4. Product is not getting added in cart.
> Error on browser console:
> {code:java}
> getJs?name=ProductDetail:52 Uncaught TypeError: Cannot read property 'value' 
> of undefined
>  at addItem (getJs?name=ProductDetail:52)
>  at <anonymous>:1:12
> addItem @ getJs?name=ProductDetail:52
> (anonymous) @ VM1370:1
> {code}
>  
>  
> Expected: Product should be added successfully.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to