Closed
Description
Preconditions (*)
- Magento version 2.4.2
- Configure a bundle product to have multiple selection options
Steps to reproduce (*)
- use the addProductsToCart mutation
- Try to add the bundle product to cart with at least 2 selections for checkbox or multiple selection options
- Check the cart and see if the multi-selection option has all the sent selections
- I use this mutation:
{
"operationName": "addProductToCart",
"variables": {
"cartId": "B6S7atkjsvbtcG4xmOt4QqbMAq1LBZwR",
"cartItems": [
{
"sku": "24-WG080",
"quantity": 1,
"selected_options": [
"YnVuZGxlLzEvMS8x",
"YnVuZGxlLzIvNC8x",
"YnVuZGxlLzMvNS8x",
"YnVuZGxlLzMvNy8x",
"YnVuZGxlLzQvOC8x"
]
}
]
},
"query": "mutation addProductToCart($cartId:String!$cartItems:[CartItemInput!]!){addProductsToCart(cartId:$cartId cartItems:$cartItems){cart{id __typename}__typename}}"
}
- the 3rd and 4th entry from
selected_options
refer to the samebundle_option_id
but use differentbundle_option_selection_id
because it is multiple selection:bundle/3/5/1
andbundle/3/7/1
Expected result (*)
- All the selections from a multi-selection field should be present in the cart
Actual result (*)
- only the last selection is added to cart with the bundle
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done