[ic] Interchange color/size/etc options.

Adam Lambert adam at khouse.org
Tue Apr 7 23:50:13 UTC 2009


Steve Graham wrote:
>>    Yes, the demo version looked great.  I wish mine would do that.
>> :)    Version is 5.4.1, if I'm not mistaken.  Also, in further digging,
>> I am starting to suspect that I am missing the "options" table in my
>> database.   Anyone know where I could find the schema to create it?
>>
>>
>> Thanks,
>>
>> -- 
>> Adam Lambert
>>     
>
> Logs are your best friend, and you are in luck, I am using 5.4, but I have 
> customized some of the tables, I don't think I have messed with options, so 
> give this a
> try:
> -- --------------------------------------------------------
>
>   
Log files say (even after I created the "options" table):

<SNIP a bunch of IP/date/path/etc data>  Safe: No options db? at (tag
'cgi') line 4.
>
>
>         $id = $CGI->{item_id};
>
>         my $db = $Db{$CGI->{mv_data_table}}
>                 or die "No options db?";
>
>         $CGI->{ui_data_fields} = 'code products:description o_enable
o_matrix o_modular';
>         if($db->record_exists($id) and $db->field($id, 'o_modular')) {
>                 $CGI->{ui_data_fields} .= ' sku o_master';
>                 $CGI->{ui_options_modular} = 1;
>         }
>         return;
>


-- 
Adam Lambert
Koinonia House, Inc.
adam at khouse.org




More information about the interchange-users mailing list