Add __typename to variant options to allow adding the selected variant to the cart

This commit is contained in:
tniezg 2021-08-17 18:42:57 +02:00
parent 28ee2eb064
commit b38d15e1ee

View File

@ -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: [],