Hi,
The module seems to be just what I need but I can't get it to work correctly. I attached 2 files with the problem. I have 2 attributes ( size and color ). Each size hase different collors so I made an attribute color for each selected size. When I edit the dependencies like in the screenshot. Every color attribute shows on the product page, regardless of the size chosen. I can't figure out what I'm doing wrong :(
Can anyone please help me with this ?

Thanks !

Comments

trobey’s picture

The clue here is the "Choose" button in the second screenshot. This only appears if Javascript is not enabled in your browser.

It looks like I need to add some translations to some of the strings.

stijnparidaens’s picture

StatusFileSize
new88.38 KB

Hi Trobey,

According to my browser settings, javascript is enabled :s I work with firefox standard, I also tried it with Chrome but it's the same.
Any idea how I can fix this problem with or without the "choose" button ?

trobey’s picture

There could be a bug in the Javascript code that results in an error when it is loaded. I just checked version 6.x-1.x-dev and the Javascript code is loading for me. Perhaps your file got corrupted? Are you using a different version? If you have Firebug you can enable the console when the page is loaded and it should display any Javascript errors. You can also contact me offline and I can help you debug this problem.

trobey’s picture

Assigned: stijnparidaens » Unassigned
Status: Active » Closed (works as designed)

With stijnparidaens' assistance, this was traced down to a conflict with the Better select module in some configurations. The Better select module changes the multiple select boxes to checkboxes in the uc_dropdown_attributes administrative interface. This saves different information to the database then the multiple select boxes (which enables all options and not just those that are checked). To avoid this problem, check the Node form only box in the Better select configuration. It does not have to be checked once the attribute dependencies have been saved. Although I could make some code changes to the uc_dropdown_attributes module to avoid the conflict it would take some work and it does not seem reasonable to expect uc_dropdown_attributes to work when another module is making changes to the uc_dropdown_attributes administrative form.