[ic] Need More Options (sub-options?)

Kevin Walsh interchange-users@icdevgroup.org
Sat Jan 4 14:44:01 2003


Michael C. Ibarra [ibarra@hawk.com] wrote:
>
> I've got some items that have options to them, easy. The problem
> that I am having is creating further options based on the options
> selected. For instance, you've chosen Luggage-A, Luggage-A comes
> with the option a handle option, if you've chosen handle option
> X, then you are further queried for options on the lining of this
> luggage, if you've chosen handle option Z, then you are queried for
> the lining of this luggage PLUS the outer finish.
>
> I hope this all make sense.
>
It sounds like an over-complication to me.  I'd propose a bunch of
<select> lists, something like this:

    Handle options:
        No handle
        Brown Handle
        Green Handle
        Anti-grav unit
        Jet pack

    Lining options:
        No lining
        Furry lining
        Leather lining
        Unspecified sticky green lining
        Lined using yesterday's newspaper

    Outer finish:
        Grey plastic
        Green
        Blue
        Metal
        Wooden

    Other options:
        Plutonium power cell (only available with the anti-grav unit)
        Hair brush (only available with the furry lining)
        £1,000,000 in used notes (costs extra)

If the choice of handle really does determine the choice of 'outer
finish' then you could:

    1) direct the user to a list of options on a second page
    2) modify the available options using JavaScript, or
    3) code the "handle" options to include the "finish" options

Perhaps if you posted a list of options, and their relationship to one
another would, it would make it easier to come up with implementation
ideas.

--
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/