Switcher icon indicating copy to clipboard operation
Switcher copied to clipboard

Swatches Not Changing Main Product Image

Open 2dogrc opened this issue 8 years ago • 6 comments

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.

2dogrc avatar Aug 22 '16 01:08 2dogrc

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.

tzyganu avatar Aug 22 '16 06:08 tzyganu

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

2dogrc avatar Aug 23 '16 14:08 2dogrc

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

tzyganu avatar Aug 29 '16 14:08 tzyganu

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?

2dogrc avatar Aug 29 '16 15:08 2dogrc

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?

lgoulart avatar Sep 12 '16 22:09 lgoulart

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

tzyganu avatar Sep 20 '16 07:09 tzyganu