You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, for customizable drop-down option "Color(id = 1), with values Red(id = 1), Green(id = 2)" UUID for Color:Red will looks like `"Y3VzdG9tLW9wdGlvbi8xLzE=" => base64("custom-option/1/1")`
59
+
For example, for customizable drop-down option "Color(id = 1), with values Red(id = 1), Green(id = 2)" id_v2 for Color:Red will looks like `"Y3VzdG9tLW9wdGlvbi8xLzE=" => base64("custom-option/1/1")`
58
60
59
-
Here is a GQL query that shows how to add a new field "uuid: String!" to cover existing cases:
61
+
Here is a GQL query that shows how to add a new field "id_v2: String!" to cover existing cases:
60
62
61
63
62
64
```graphql
@@ -71,15 +73,15 @@ query {
71
73
...onCustomizableRadioOption {
72
74
title
73
75
value {
74
-
uuid # introduce new UUID field in CustomizableRadioValue
76
+
id_v2 # introduce new id_v2 field in CustomizableRadioValue
75
77
option_type_id
76
78
title
77
79
}
78
80
}
79
81
...onCustomizableDropDownOption {
80
82
title
81
83
value {
82
-
uuid # introduce new UUID field in CustomizableDropDownValue
84
+
id_v2 # introduce new id_v2 field in CustomizableDropDownValue
83
85
# see \Magento\QuoteGraphQl\Model\Cart\BuyRequest\CustomizableOptionsDataProvider
84
86
option_type_id
85
87
title
@@ -90,15 +92,15 @@ query {
90
92
} ...onConfigurableProduct {
91
93
variants {
92
94
attributes {
93
-
uuid # introduce new UUID field in ConfigurableAttributeOption (format: configurable/<attribute-id>/<value_index>)
95
+
id_v2 # introduce new id_v2 field in ConfigurableAttributeOption (format: configurable/<attribute-id>/<value_index>)
94
96
# see \Magento\ConfigurableProductGraphQl\Model\Cart\BuyRequest\SuperAttributeDataProvider
95
97
code
96
98
value_index
97
99
}
98
100
}
99
101
} ...onDownloadableProduct {
100
102
downloadable_product_links {
101
-
uuid # introduce new UUID field in DownloadableProductLinks (format: downloadable/link/<link_id>)
103
+
id_v2 # introduce new id_v2 field in DownloadableProductLinks (format: downloadable/link/<link_id>)
102
104
# see \Magento\DownloadableGraphQl\Model\Cart\BuyRequest\DownloadableLinksDataProvider
103
105
title
104
106
}
@@ -107,15 +109,15 @@ query {
107
109
sku
108
110
title
109
111
options {
110
-
uuid # introduce new UUID field in BundleItemOption (format: bundle/<option-id>/<option-value-id>/<option-quantity>)
112
+
id_v2 # introduce new id_v2 field in BundleItemOption (format: bundle/<option-id>/<option-value-id>/<option-quantity>)
111
113
# see \Magento\BundleGraphQl\Model\Cart\BuyRequest\BundleDataProvider
112
114
id
113
115
label
114
116
}
115
117
}
116
118
} ...onGiftCardProduct {
117
119
giftcard_amounts {
118
-
uuid # introduce new UUID field in GiftCardAmounts (format: giftcard/...TBD)
120
+
id_v2 # introduce new id_v2 field in GiftCardAmounts (format: giftcard/...TBD)
119
121
# see \Magento\GiftCard\Model\Quote\Item\CartItemProcessor::convertToBuyRequest
0 commit comments