[ic] several product files

Mike Heins interchange-users@interchange.redhat.com
Wed May 8 11:51:01 2002


Quoting Markus Herrchen (mh@simultec.ch):
> 
> >>
> >> IC 4.8.3 on RH  7.1
> >>
> >> I tried to define different product files by adding the following
> lines
> >> to catalog.cfg:
> >>
> >> ProductFiles    products_a products_b
> >> Database   products_a products_a.txt TAB
> >> Database   products_a IMPORT_ONCE 1
> >> Database   products_b products_b.txt TAB
> >> Database   products_b IMPORT_ONCE 1
> >>
> >> I added the right super categories in area.txt and categories in
> >> cat.txt.
> >> The component category_verical displays everything right,
> >> but when i click on the category, the search displays only the
> >> right item code, but no item field like name or description are
> shown.
> >>
> >> Any suggestion what i make wrong?
> 
> >I cannot understand exactly what you are saying, but I will guess you
> >need to change any instances of [item-data products description] to
> >[item-field description].
> 
> Sorry, i missed to say that the page which is not displaying right is
> the result.html page:
> the tag [item-code] works fine,  but for example the tags
> [item-description],
> [item-field category], [item-price] ... show nothing!
> 
> In the URL of the result.html page i have the following search
> parameters:
> .../scan/fi=products_a/st=db/co=yes/sf=category/se=xxx/va=banner_image%3d/va=banner_text%3d.html?...

With that, you will never get products_b stuff. But [item-price],
[item-field category], etc will work just fine. Try putting this
in a page

    [page
        href=scan
        arg="
            ra=yes
            ml=500
        "
    ]Test</A>

and clicking on the resulting link. If that works fine, showing products
from both tables (assuming there are less than 500 in products_a), then
I don't know what your problem is. If it does not work fine, something
is strange with your database.

-- 
3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mike@valuemedia.com>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown