Akopia Akopia Services

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

Re: [mv] sanity check - multi products db's / [item-*]



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

On  2 Aug, Dave Barr wrote:
> ******    message to minivend-users from Dave Barr <barrd@cricinfo.com>     ******
> 
> Hi All,
> 
> [Debian 2.2 / Minivend 4.04]
> 
> I need a quick sanity check here phuleeeze.....  ;)
> 
> I have set up 6 shops, all sharing the same HTML files, and sharing a 
> common products file (as well as shipping, & userdb). However each 
> shop has its own products file and using the ProductFiles directive I 
> have managed to get each shop to read the common products file and 
> its own personalised one.
> 
> The problem;
> 
> No matter what I try, any tag of the form [item-*] (in a loop 
> routine) results in 0.00 being displayed wether [item-price], 

Try 

[item-price noformat=1]

to see, what you get!


> [item-subtotal] etc from the personalised products database (the 
> common products file works just fine...).
> 
> Both databases have been properly assigned in the catalog.cfg files 
> (they won't work as SQL dbs, so therefore have been configured for 
> dbm). I even added the PriceField directive even though the price 
> field *is* the default of price -- to no avail.
> 
> Am I missing something really obvious here?
> As usual, any help, abuse, or comments most welcome...
> With regards
> Dave (the slightly confused)
> 
> P.S. If I remove the common products database and only run the 
> personalised products database (in the ProductFiles directive) it 
> works just fine...?!?
> 
> P.P.S. Changing it to any form of:
> [currency][calc][item-field price][/calc][/currency]  etc etc

Try

[currency][calc][item-field price norformat=1][/calc][/currency]

, but if your price field look like "$ 123.45", it will cause "0,00".
Try "123.45" only!

 
> Won't suffice as changing the quantity number (i.e. in basket.html) 
> won't be reflected with the correct price.... :(
> ...and anyway still won't fix [item-subtotal].


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: