Closed
Description
When using a configurable product, the image order changes when clicking on swatches.
Preconditions
- Magento CE 2.0.7 OR Magento CE 2.0.8
- PHP 7.0.6
Steps to reproduce
- Create Simple Product (necessary workaround to set attribute_set) and fill out informations and upload many images (e.g. 6 images)
- Create configuration for this simple product and upload many images (e.g. 6 images)
- Navigate to product on storefront
- Click on color swatch and click on the same swatch again
- => image order changed
Expected result
- The image order set on admin backend should be the same order shown on storefront.
Actual result
- The image order set on admin backend is DIFFERENT compared to the image order on storefront.
My procedure (with screenshots):
- Create simple product and upload images
- Simple product on storefront:
- Create configuration for this simple product:
- Pick one virtual product of this configuration and upload images for this:
- Configurable Product on storefront:
- Choose specific color:
- Click on this color again to un-select it
=> Order of images changed! Compare steps 5 and 7
Another example:
Image order of virtual product in configurable product is different in backend and frontend:
In this example it is not necessary to change colors or other options. The order of a specific virtual / simple product in configurable product is wrong.
We tried to clean cache, image cache, etc... but nothing helped.