[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Question on loop-price and multiple products databases.
****** message to minivend-users from Ceres <jfrye@ehg.net> ******
Hello Everyone,
I am using a second products database for a warehouse reduction sale.
I have run into a problem working with this second products database. I
have it defined in catalog.cfg as:
Database products products.asc TAB
Database sale_items sale.asc TAB
ProductFiles products sale_items
Using the simple browse.html page I can loop through the sale_items
database with:
[tag each sale_items]
[sort sale_items:category sale_items:price:rn]
[loop-next][calc]'[loop-field category]' eq 'Accessory'[/calc][/loop- next]
[loop-change 1]
[condition][loop-field category][/condition]
<TABLE WIDTH="80%"><TR BGCOLOR="#cccccc" TEXT="WHITE"><TD ALIGN=CENTER>
<BR><H1>[loop-field category]</H1>
</TD></TR></TABLE>
[/loop-change 1]
<P>
[if_loop_field image]
<IMG SRC="[loop_field image]">
<P>
[/if_loop_field]
<H2>[loop-description]</H2>
<P>
[L]Catalog[/L] [L]Number[/L]: [loop-code]
<P>
[L]Price[/L]: [loop-price]
<P>
[page [loop-code]]<IMG BORDER=0 SRC="details.gif" ALT="[L]More Info[/ L]">[/page]
[order [loop-code]]<IMG BORDER=0 SRC="ordernow.gif" ALT="[L]ORDER NOW[/ L]">[/order]
[/tag]
All the loop tags are working accept loop-price. I get $0.00 returned on
the browse page and when ordering $0.00 returns on the basket page.
On the mail list archive I found the info on setting up multiple
product databases but no references to this problem. Error log shows
nothing. Does loop-price not work in this situation or have I missed
something in setting this up?
Thanks in Advance
--
Jayme Frye
Sys Admin
Epsen Hillmer Graphics Co.
402-342-7000
jfrye@ehg.net
-
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