Skip to content

Simple product images lose sort order when uploaded through "Create Configurations" wizard #9884

@AlekosDordas

Description

@AlekosDordas

Preconditions

  1. Magento CE 2.1.6
  2. PHP 7.0.18
  3. mysql Ver 15.1 Distrib 10.1.16-MariaDB

Steps to reproduce

  1. Admin Panel > Catalog > New product
  2. Fill required fields
  3. Configurations > Create Configurations
  4. Select attributes (ie. size + color) > Select Values
  5. At Step3, select "Apply unique images by attribute to each SKU" and choose one attribute.
  6. Upload 4 images to each attribute value
  7. Change their sort order by drag 'n dropping
  8. Click Next > Next and then save the product

Expected result

  1. The simple products (that have just been created) should have their images in the sort order that have been set during the Step3 of the configurable product "Create configuration" wizard.

Actual result

  1. The simple products (that have just been created) lost their image sort order that have been set during the Step3 of the configurable product "Create configuration" wizard.

magento2issuess1
magento2issuess2
magento2issuess3

Additional information

This also happens if you try to edit configurations of an existing configurable product.
It does not happen when you reorder simple product images from simple products page. It only happens when you reorder images from configurable product "Create Configurations" wizard, or "Edit configurations" wizard, at Step3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: 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 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporttriage wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions