Closed
Description
Wrong gallery main image and active preview after gallery data updating for configurable products.
Preconditions
- Magento 2.4
Steps to reproduce
- Create a configurable product (the
color
attribute uses for example) with associated products:
- product with 'Black' color
- product with 'White' color
- Add image and video for each products like on the screenshot below.
Expected result
- Expected result for case when the
color
attribute has 'Dropdown' type.
- Expected result for case when the
color
attribute has 'Visual Swatch' type.
Actual result
- Actual result for case when the
color
attribute has 'Dropdown' type. Wrong main image and active preview for 'Black' option.
- Actual result for case when the
color
attribute has 'Visual Swatch' type. Wrong main image and active preview for 'White' option. Swatch logic always use first image after gallery updating.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentIndicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branch