tzyganu / Switcher

Configurable products switcher
MIT License
171 stars 71 forks source link

Swatches Not Changing Main Product Image #163

Open 2dogrc opened 8 years ago

2dogrc commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

tzyganu commented 8 years ago

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

2dogrc commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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