[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Multiple Databases in 1 Catalog
Hi Chris -
> Is there a way to have 1 catalog with multiple databases in it
> to reduce the number of catalogs on a system?
> For example, we have minivend 3.14 running on a unix system and
> have 3 different companies wanting to sell products. (Computers and
> parts, clothing and handmade signs) All completely unrelated. Can we
> just add a database entry to the catalog.cfg for each of these?
> Database computers computers.asc TAB
> Database clothing clothing.asc TAB
> Database signs signs.asc TAB
In addition to these Database directives, you also need to specify:
ProductFiles computers clothing signs
> My guess according to the documentation is that this can't be
> done, this is only for one database and many "tables" within that
> database. (products, and its pricing and its inventory)
Look in the docs in the "The Product Database" section:
As of MiniVend 3.0, more than one database may be used as a products
database. If the catalog directive ProductFiles is set to a
space-separated list of valid MiniVend database identifiers, those
databases will be searched (in the order specified) for any items that
are ordered, or for product information (as in the [price code] and
[field code] tags).
Larry Leszczynski
larryl@furph.com
--
furph, Inc. WWW/Unix/Windows Solutions 734-513-7763 (voice)
info@furph.com http://www.furph.com 734-513-7759 (FAX)