Skip to content
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

Swatches Not Changing Main Product Image #163

Open
2dogrc opened this issue Aug 22, 2016 · 6 comments
Open

Swatches Not Changing Main Product Image #163

2dogrc opened this issue Aug 22, 2016 · 6 comments
Labels

Comments

@2dogrc
Copy link

2dogrc commented Aug 22, 2016

Hello,
I have the module installed and it is working mostly well. It shows up okay on the frontend and configuration was a breeze. However when I select a swatch to change the main image I get a javascript error in my debug panel and the image does not change.
"VM555:1 Uncaught TypeError: Cannot read property 'setStyle' of null(anonymous function) @ VM555:1(anonymous function) @ b461415….js:416"

This is a product example. I am running 1.8.1. Any help would be great.

@tzyganu
Copy link
Owner

tzyganu commented Aug 22, 2016

You should try to debug this using the unminified version of the js files.
The only code I found related to setStyle is this. You can try to see why $(selectid) returns null. I was not able to reproduce this.

@2dogrc
Copy link
Author

2dogrc commented Aug 23, 2016

I really wish i knew what that meant! My programming skills are about the 5th grade level :).

@tzyganu
Copy link
Owner

tzyganu commented Aug 29, 2016

@2dogrc In this case I don't know how much I can help. The configuration of the extension requires some developer skills.

@2dogrc
Copy link
Author

2dogrc commented Aug 29, 2016

Well, I appreciate the extension and would not mind paying for some support. I think that would be cheaper then the headaches with installed 1.9 to get all the features. Is that an option?

@lgoulart
Copy link

Hey there,

the image is not changing when I select a attribute, but I'm not getting javascript error. What do I do about it?

@tzyganu
Copy link
Owner

tzyganu commented Sep 20, 2016

Read this, maybe it helps: https://github.com/tzyganu/Switcher/wiki/configuration

@tzyganu tzyganu added wontfix and removed wontfix labels Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants