Skip to content

Magento 2.1 visual swatch changes only the first picture of product #6195

Closed
@ps202

Description

@ps202

Preconditions

Operating System: Ubuntu 15.10

PHP 5.6.11-1ubuntu3.4 (cli)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

mysql Ver 14.14 Distrib 5.6.31, for debian-linux-gnu (x86_64) using EditLine wrapper

Magento 2.1.0 CE

Steps to reproduce

  1. Install Magento
  2. Create one configurable product with 2 images
  3. Create configurations (simple products) for that configurable product (color, size for example)
  4. Add 2 images to each simple product
  5. Browse to the product and use the visual swatches to change the color

Expected result

  1. Clicking on the swatches should change BOTH images

Actual result

  1. Only the FIRST image changes, second image stays as it was before. Stepping through the images is weird, because first image is for example red, second white...

Configurable product with simple images:
1

Images in the configurable product:
2

Images in the simple product:
3

Default product view:
4

Product view after clicking on the swatch:
5

Gallery view after clicking on the swatch:
6

Metadata

Metadata

Assignees

Labels

Issue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions