Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] two tables in database



******    message to minivend-users from jojo@buchonline.net     ******

On  3 Aug, Diane Wardlow wrote:
> ******    message to minivend-users from "Diane Wardlow" <dianew@iwhome.com>     ******
> 
> Hi,
> 
> I've come a long way with Minivend - and I'm on the last hurdle I hope.
> I've read the docs and searched the archive... I've obviously missed
> something because I'm not able to pull up the second table.
> The database has two tables: products and subcat
> I thought I would be able to pull up subcat with this code.
> 
> [data base="subcat" field="descriptions" key="[item-field subcat]"
> 
> It didn't work.  I think this might have something to do with ProductFiles
> or having to put something else in the catalog.cfg file.  We're using
> Minivend 3.14 and mysql for this catalog.
> 
> The database has subcat in the products.asc - I need it to go to the second
> table to pick up the correct information.

Try

[data table="subcat" column="descriptions" key="[item-field subcat]"]

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: