-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.1 visual swatch changes only the first picture of product #6195
Comments
Isssue is similar to this one here: |
Olena--can you check on this one? Seems like a duplicate. |
Yeah, it seems to be a duplicate, but I think the other one was closed without providing a real solution. :( |
I'm having this same issue. |
@tkacheva Where would a merchant customize the gallery modes? Is this something they can do from the admin, or would a developer need to make (possibly in the I was working with a merchant yesterday and uncovered that the Blank and Luma themes handle this differently: The Luma theme has the issue discussed in this issue. However the Blank theme works as you would expect: when a swatch is selected, all of the images of the simple product are shown in the gallery, not just the first one. So there is clearly something happening in the Luma theme that is causing different behavior from the Blank theme. |
@tkacheva |
@erikhansen @tkacheva |
Any update on this one? |
@ps202 @erikhansen Work in progress |
@tkacheva |
@tkacheva Change these to false:
|
@ps202 Well done. It's working now |
👍 Thanks for the fix |
…dded to configurable options - Implement new behavior for a gallery on configurable product
…dded to configurable options - Remove redundant configuration for the Swatches module. - Add descrtiption of the "gallerySwitchStrategy" option.
…dded to configurable options
…ll images added to configurable options - for 2.1.x
…ll images added to configurable options - for 2.1.x Merge remote-tracking branch 'mainline/2.1-develop' into pr-2.1-develop # Conflicts: # app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js
After implementing this solution images are now switching fine when selecting color swatches but we have video that's not showing now.When page load first time its show for couple of seconds and then it goes although we have assign video to simple products as well. |
…all images added to configurable options to 2.0.x
…all images added to configurable options to 2.0.x
Just FYI, it appears that the way to change this functionality in your theme has changed a bit. The
The default is It appears that the Swatches module knows to look for this single setting, and you only need to set it on the ConfigurableProduct module. |
Magento 2.4.2 the same problem exists. Do you have a solution? |
Hi everyboby, It works fine. |
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
Expected result
Actual result
Configurable product with simple images:
Images in the configurable product:
Images in the simple product:
Default product view:
Product view after clicking on the swatch:
Gallery view after clicking on the swatch:
The text was updated successfully, but these errors were encountered: