Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix options in variants #8

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

alexookah
Copy link

@alexookah alexookah commented Dec 30, 2023

After checking the other draft PR
I tested out and created a PR that defines the variant.options when creating/updating a product.

I assume that there has been medusa core changes where when creating a variant you have also to supply the options.

After making the sync to work I realised that the variant options were duplicated. So I removed the function that re-creates the variants that are created in the createProduct.
I didnt remove the updateVariant options. I think it can stay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant