Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

support arbitrary order of variants of a product #193

@stmeissner

Description

@stmeissner

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions