How to expand/collapse attribute lists?
I'm trying to set up a new Zen Cart store, but have not been able to solve a major issue. Our products are sofas (etc.) for which the customer needs to choose the Body fabric, then the pillow fabric, then the wood finish, etc. Since there are 100's of fabrics to choose from for the body and then 100's of fabrics to choose from for the pillows, the normal product page display would be HUGE, and very confusing!
So, I'm thinking that we just show a list of the option names (like "Select a fabric for the Body", "Select a fabric for the Pillows", "Select a Wood Finish", etc.), and when the customer clicks on the option name (let's say for the Body fabric), that option "expands" to display all the fabric swatches from which the customer can make his/her selection. Once the selection is made, the display collapses back to just the list, and the customer can click on the next option (like the pillow fabrics), and so on.
There are several js scripts available for the expand/collapse part, but my questions are:
1. In which file(s) would we add the script, and where?
2. How could we prevent standard Zen Cart from wanting to display all the swatch images anyway?
Actually, an even better solution would be for the various option names to appear as separate tabs, like "Body Fabrics", "Pillow Fabrics", etc. on the product page, and for the option values (swatch images) to be displayed only when the appropriate tab is opened. Unfortunately, the Tabbed Products Pro mod can't do this, but if anyone has any ideas to get us in the right direction, it would be much appreciated.
Thanks!
RAB
Why is it I'm always surprised when something actually works?
Bookmarks