MiniVend Akopia Services

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

Multiple databases, multiple fly-pages



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

List,

I have two db's, products.asc and color.asc.  My store, for each product,
displays a table of small thumbnail colors.  The idea is for the shopper to
click on a color and have a page load that shows the full-size color
swatch, a text description, and a cross-referenced list of products
available in that particular color.

Here's the problem.  How do I get a reference from colors.asc to load into
a flypage?  Currently minivend is looking for a static page.

Here's my code:

<TABLE BORDER=2 CELLSPACING=3 CELLPADDING=3 COLS=10>
<TR>
   [loop arg=[item-field color]]
        <TD align=center>
        [page chart/[loop-code]][comment] Needs to be loaded into a
flypage! [/comment]
        [if file
/var/lib/httpd/htdocs/yamamoto/order/images/chart/[loop-code].jpg]
                <IMG SRC="/order/images/chart/[loop-code].jpg"
        [else]
                <IMG SRC="/order/images/chart/999.jpg"
        [/else]
        [/if]
 WIDTH="40" HEIGHT="46" BORDER="0" ALT="[loop-data color
description]">[/page]<BR>
        [loop-code]</TD>
        [calc] return '</TR><TR>' if '[loop-increment]' % 10 eq 0[/calc]
   [/loop]
</TR>
</TABLE>

Thanks!

-Ryan

-
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: