mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 04:01:21 +00:00
Add __typename to variant options to allow adding the selected variant to the cart
This commit is contained in:
parent
28ee2eb064
commit
b38d15e1ee
@ -42,6 +42,7 @@ const expandOptions = (
|
|||||||
}
|
}
|
||||||
|
|
||||||
option = {
|
option = {
|
||||||
|
__typename: 'MultipleChoiceOption',
|
||||||
id: spreeOptionType.id,
|
id: spreeOptionType.id,
|
||||||
displayName: spreeOptionType.attributes.presentation,
|
displayName: spreeOptionType.attributes.presentation,
|
||||||
values: [],
|
values: [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user