Skip to content

Wrong gallery main image and active preview after updating for configurable products. #26856

Closed
@sergiy-v

Description

@sergiy-v

Wrong gallery main image and active preview after gallery data updating for configurable products.

Preconditions

  1. Magento 2.4

Steps to reproduce

  1. Create a configurable product (the color attribute uses for example) with associated products:
  • product with 'Black' color
  • product with 'White' color
  1. Add image and video for each products like on the screenshot below.

Screen Shot 2020-02-13 at 11 36 56 AM

Expected result

  1. Expected result for case when the color attribute has 'Dropdown' type.

Screen Shot 2020-02-13 at 11 49 44 AM

  1. Expected result for case when the color attribute has 'Visual Swatch' type.

Screen Shot 2020-02-13 at 12 05 47 PM

Actual result

  1. Actual result for case when the color attribute has 'Dropdown' type. Wrong main image and active preview for 'Black' option.

Screen Shot 2020-02-13 at 11 45 04 AM

  1. 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.

Screen Shot 2020-02-13 at 11 55 47 AM

Metadata

Metadata

Assignees

Labels

Component: ConfigurableProductFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: 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 developmentReported on 2.4.0Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions