Open
Description
Preconditions and environment
- Magento version: 2.x.x (specify exact version, e.g. 2.4.8)
- PHP version: (e.g. 8.1)
- Elasticsearch/OpenSearch version: (if relevant)
- Environment: (e.g. local/dev/staging, Docker, WSL, etc.)
Steps to reproduce
- Add a product with customizable options to the wishlist using GraphQL mutation
addProductsToWishlist
.
mutation AddToWishlist {
addProductsToWishlist(
wishlistId: "90"
wishlistItems: [
{
sku: "24-UG05"
quantity: 1
selected_options: []
entered_options: [
{ uid: "Y3VzdG9tLW9wdGlvbi8yNw==", value: "19" }
{ uid: " Y3VzdG9tLW9wdGlvbi81Mw==", value: "30" }
]
}
]
) {
wishlist {
id
items_count
items {
id
product {
name
}
}
}
}
}
- Attempt to add the wishlist item to the cart using the GraphQL mutation
addWishlistItemsToCart
.
mutation {
addWishlistItemsToCart(wishlistId: 90, wishlistItemIds: ["917"]) {
status
add_wishlist_items_to_cart_user_errors {
wishlistItemId
code
message
}
}
}
Expected result
The wishlist product is properly added to the cart along with the customizable options selected in the wishlist.
Actual result
The mutation does not return an error, but the customizable options are not added properly — only the base product is added to the cart without the selected customizable options.
Additional information
Using GraphQL, I'm unable to add a product with customizable options to the cart from the wishlist — only the base product is added, and the selected options are not included.
Release note
No response
Triage and priority
- 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
Ready for Development