One of the issues with this module is how you can see all the secondary level options disappear on the document.ready event, which can detract from the user experience.

I understand that it's built that way so that if the browser doesn't have javascript, it degrades gracefully. So for the no-javascript case, I was thinking one possible work around might be to do a form_alter hook, that just displays the 1st level attribute options. But instead of an 'add to cart' button, it could be tweaked so that it's a 'configure options' button (or some other, better label). And on the form submit, instead of adding the item to the cart, it just sets the option on the attribute, and redisplays the web page with the additional, 2nd level options, and so on until all the attributes have an option selected.

At that point it would do the 'add to cart' functionality.

Then, for the javascript-enabled cases, maybe it could use ajax to rebuild the form attributes.

Comments

trobey’s picture

Version: » 7.x-1.x-dev
Status: Active » Closed (fixed)

The infrastructure has been rewritten so the dependent attributes are not present in the initial product display. This avoids seeing them disappear on the initial display. Support for people without Javascript is no longer included and, if needed, should be filed as a separate issue.