Skip to content

Imported configurable products with multiple super attributes do not retain super attribute ordering #6079

@dimunation

Description

@dimunation

Imported configurable products with multiple configurable attributes do not retain the configurable attribute order after exporting and importing. I'm unable to find a mechanism to control catalog_product_super_attribute position values using the CSV product import and export system, either through the configurable_variation_labels CSV field, or the ordering of the attributes within the configurable_variations CSV field.

Preconditions

Magento CE Version 2.0.7

Steps to reproduce

  1. Create at least two product attributes suitable for product configuration in a configurable product.
  2. Produts -> Catalog -> Add New Product. Enter any required product data fields.
  3. Configurations -> Create Configurations
  4. Select at least two product attributes. Select "Next".
  5. Change the order of the attributes by dragging the first attribute below the second.
  6. Select at least one attribute value for each attribute. Select "Next".
  7. Skip all bulk images, price, and quantity data.
  8. Generate products and save the configurable product.
  9. Export product data to CSV.
  10. Delete the new configurable and virtual / simple products, re-index and clear cache.
  11. Import the product data from step 9, re-index and clear cache.

Expected result

  1. Product super attribute order on the front-end product page should match the original product attribute order after export and import.
  2. The catalog_product_super_attribute table should match the original position values for the previously created product after importing.

Actual result

  1. View front-end product page and note the attribute sort ordering does not match the order selected in step 5.
  2. Examine catalog_product_super_attribute table and note that the position values do not match the original attribute positions defined when creating the product configurations.
  3. In product export CSV, the configurable_variation_labels field does not affect the position of the super attributes for the imported products.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releasebug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions