[ic] Sorting Options

cameron interchange-users@icdevgroup.org
Sun Jun 30 06:31:05 2002


I'm sure I'm missing something simple, but when I have multiple options 
for a product, I use a two digit sort (e.g. option a = 01, option b = 
02, etc.).  This feature is built into the options table, but the 
foundation demo doesn't use this field when diplaying options.  Here is 
the code I use on my results page:

[if-item-data options o_enable]
[if-item-data !options o_modular]
             
[table-organize
                  cols=2
                  table='width="150"'
                  td.0='align="right"'
                  td.1='align="left"'
                  ]
                  [item-options td=1 tr=1 label=1 price=1]
[/table-organize]
               
[/if-item-data]
[/if-item-data]

What do I need to add to make the options sorted by their sort field?

-Cameron