-
Notifications
You must be signed in to change notification settings - Fork 153
customizable_options.values contains everything but value(s) #712
customizable_options.values contains everything but value(s) #712
Conversation
…l, small_image is requested
…thumbnail, small_image is requested" This reverts commit c9fad69.
app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/Product.php
Outdated
Show resolved
Hide resolved
@TomashKhamlai |
@naydav, value is {
"data": {
"addVirtualProductsToCart": {
"cart": {
"items": [
{
"id": "4",
"quantity": 1,
"customizable_options": [
{
"id": 1,
"label": "Multiple",
"values": [
{
"id": 6,
"value": null,
"label": "Opt-multiple-1"
},
{
"id": 6,
"value": null,
"label": "Opt-multiple-2"
}
]
}
],
"product": {
"sku": "Virtual-Product-281557499732285-multiple"
}
}
]
}
}
}
} |
class app/code/Magento/QuoteGraphQl/Model/CartItem/DataProvider/CustomizableOptionValue/Multiple.php has missed param 'value' in returned data |
@naydav |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@XxXgeoXxX there might be some issues with tests if they didn't fail before the fix. Could you please re-check it. Thanks.
8825931
to
5343ce2
Compare
5343ce2
to
a3fafa3
Compare
Hi @lenaorobei, thank you for the review.
|
Hi @XxXgeoXxX, thank you for your contribution! |
Description (*)
Original Issue: #698
according to the issue #474 and PR #525
The field 'value' was moved to 'CartItemSelectedOptionValuePrice'
I debugged and rechecked all product custom options and field 'value' is missed and always return NULL.
Contribution checklist (*)