[ic] options list sorting

kerry kerry at basicq.com
Thu Jan 29 19:33:10 UTC 2009


> Quoting Steve Graham (icdev at mrlock.com):
>> >>>
>> >>
>> >> I see now that you are using simple options. You are going to have
>> >> to put the sort field in catalog.cfg via:
>> >>
>> >> Options simple sort o_sort
>> >
>> > Tried this and it is still pulling up in random order.
>> > I saw something in an older post saying to set sort=1 or sort=o_sort.
>> I am
>> > not sure what file they were reffering to, but don't think it was the
>> > catalof.cfg file.
>> >
>> > Kerry
>>
>>
>> I use this field in my 5.4 catalog, and the only directive I see in
>> catalog.cfg is
>> ## This sets the type of options pertaining to the product
>> OptionsEnable option_type
>>
>> and this on my fly page:  (maybe this is the key....)
>>
>>   [table-organize cols=2 table=' ' font="size=1" pretty=1]
>> 			[item-options td=1 label=1 bold=1 price=1 sort=o_sort
>> blank_label="--select--"]
>> 		  [/table-organize]
>
> Yes that will work.
>
> But if you put the catalog.cfg directive in, it should do that by
> default without sort=o_sort.
>
> I think I put in the wrong thing:
>
>   Options Simple sort o_sort
>
> Note the case change.
>
I tried Steve's change and it did not work. (I had left your original,
Mike, in catalog.cfg)  But, when I changed the case of Simple, it looks
like that did the trick. (I removed the sort=o_sort before updating)
Thanks to both of you for your help.

Kerry



More information about the interchange-users mailing list