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

support arbitrary order of variants of a product #193

Open
stmeissner opened this issue Feb 2, 2018 · 2 comments
Open

support arbitrary order of variants of a product #193

stmeissner opened this issue Feb 2, 2018 · 2 comments

Comments

@stmeissner
Copy link

stmeissner commented Feb 2, 2018

Description

Right now the variants of product have to be listed in incremental order in the file to to be imported.

Expected Behavior

Variants given in arbitrary order should be accepted by the importer tool:

id variantID
product-A 3
product-A 4
product-A 1
product-A 2

Current Behavior

In the current state it is not possible to import or update products when the variant IDs are not given in incremental order.

id variantID
product-A 1
product-A 2
product-A 3
product-A 4

Context

Clients have to take extra effort to prepare the import file getting the sorting right. This is could be more user-friendly since the tool has all the information to create/update the product. The order of the variants shouldn't really matter.

@wizzy25
Copy link
Contributor

wizzy25 commented Feb 5, 2018

@stmeissner Thanks for creating this issue. I'd like to have some more details of this; like what happens if the masterVariant (first variant) id is 1 and the other variants are in any arbitrary order?

@wizzy25
Copy link
Contributor

wizzy25 commented Feb 6, 2018

Could this be related to #189? Cc @VasumathiJayakumar @Oehmi

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

No branches or pull requests

2 participants