In the current implementation of productdisplayitem.main.tsx, if a user has more than just the default cart, adding an item with Cart Item Modifiers to your cart will fail. This is caused by using the selected carts additemstocart resource which does not support Cart Item Modifiers, as opposed to the items addtocartforms resource which does.
Steps to reproduce:
Log in as an Authenticated User
Create a second cart
Try to add a product with Cart Item Modifiers to the cart
Observed Results:
We get the message Item '' is a configurable product. Please add it individually using 'additemtocart' form.
Expected Results:
That it gets added to the cart with the appropriate Cart Item Modifier values
Relevant Code:
The function that calls the additemstocart resource.
Step 3: Describe the problem:
In the current implementation of productdisplayitem.main.tsx, if a user has more than just the default cart, adding an item with Cart Item Modifiers to your cart will fail. This is caused by using the selected carts
additemstocart
resource which does not support Cart Item Modifiers, as opposed to the itemsaddtocartforms
resource which does.Steps to reproduce:
Observed Results:
We get the message Item '' is a configurable product. Please add it individually using 'additemtocart' form.
Expected Results:
That it gets added to the cart with the appropriate Cart Item Modifier values
Relevant Code:
The function that calls the additemstocart resource.