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