[ic] Interchange color/size/etc options.
adam at khouse.org
Wed Apr 8 22:18:56 UTC 2009
Steve Graham wrote:
>> Yes, it is a "live" catalog, I don't have a test one. The error.log
>> with debug on is where I've been getting the error data from.
>> Side note --- I gave up on getting the admin interface working, and
>> just INSERT'ed a color option into the options table, copying from the
>> demo database. The option shows up as expected in the admin interface
>> once done. However, I get zero indication anywhere in the store that
>> there is any "options" for it at all (in other words, the user never
>> gets asked anything picking the color). Let me guess, I have to
>> write a bunch of ITL into my pages to make it work? :(
>> Adam Lambert
> For starters
> Check catalog.cfg for this:
> OptionsEnable option_type
> Check your products database for the field option_type
> Each item should have Simple, or Matrix or Null in this field to enable the
> code in flypage.html etc...
> The ITL should already be in the default catalog.
> Start with flypage.html for .....
> then your shopping cart, and checkout pages, email receipts...
> It really depends on how your code displays the items on the web site, it
> could be completely custom, but not too difficult to add.
> The code in the standard catalog has not changed much, it should give the
> necessary clues on how to render the information.
No, I have no "option_type" field in my products table, no any
mention of OptionsEnable in catalog.cfg. Further, there is nothing my
flypage that even mentions 'option', so no, I don't have that either.
And if I touch the products table, I have a day (or two's) work ahead of
me doing code audits of non-Interchange code we have here that might (or
might not) be affected. :(
I think I'm going to just put this little nightmare on the shelf for
the day (maybe the week) and go do something that doesn't make me want
to shave my head and go be a monk so I don't have to deal with computers
for a living.
Koinonia House, Inc.
adam at khouse.org
More information about the interchange-users