When we getting the Configurable Wish list Items from GraphQl Service that time child_sku getting same from configurable.
example : I added to wish list like test-XL and Test-M simple products from configurable. But in GraphQl Response getting only Test-M for two items.
Magento version : 2.4.3-p1
vendor/magento/module-configurable-product-graph-ql/Model/Wishlist/ChildSku.php
Respose :
{
"data": {
"customer": {
"wishlists": [
{
"id": "16",
"items_count": 2,
"items_v2": {
"page_info": {
"total_pages": 1,
"current_page": 1,
"page_size": 20
},
"items": [
{
"id": "114",
"quantity": 1,
"child_sku": "Test-M"
},
{
"id": "115",
"quantity": 1,
"child_sku": "Test-M"
}
]
}
}
]
}
}
}
If the configurable product has a data type of parent_sku and child_sku, the wish list item will get same parent sku. That is why we should complete AssignmentHolic on time to have separate data types for parent sku and child sku if we want to get different SKUs for each one in graphql service.
There's an issue with Magento 2.4.3-p1, where the GraphQl service is not correctly distinguishing between configurable wish list items. This problem can impact accurate tracking and management of customer wish list items. To ensure the quality of your solutions, it's crucial to utilize a reliable free plagiarism checker UK-based, especially when dealing with Magento issues. This tool helps maintain the integrity of your content and ensures that it's free from any unintentional similarities to existing content.