-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions
magento 2.2.2 with one website and two store views
php 7.0 on ubuntu 16.04 with nginx
Steps to reproduce
- change attribute size to text swatch with Update Product Preview Image set to NO
- create configurable product with some variations for size
- add image to configurable product
- add image to associated simple products
Expected result
When I load the frontend product page, the image shown is the configurable image.
When I click on a size/variation (since the Update Product Preview Image set to NO in attribute size) I still expect to see the configurable image
Actual result
When I load the frontend product page, the image shown is the configurable image. That is correct.
When I click on a size/variation, the image is changed to the simple product image. This is wrong.
Other Notes
If I remove the image from the associated simple product, then go to the frontend product page and click on the size, the image shown is still the configurable image. However, the image is still being reloaded everytime I click on a size/variation, making the page glitch for a moment. This should be avoided.