MiniVend Akopia Services

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

Re: Q: Euro



******    message to minivend-users from rho@Austria.EU.net (Robert Barta)     ******

> ******    message to minivend-users from Dennis Daniel <daniel@dfki.de>     ******
> 
> Hi, 
> 
> I think this question was asked before, 
> I must have missed the answer, if there
> was any.
> 
> In Europe the EURO, a european wide currency,
> was introduced. Now every prices must also
> be calculated in this new currency.
> 
> Now my question. How can I divide my total-cost, 
> with 1.955 (exchange rate in Germany),
> and show it in the checkout.html

As stated in the docs (yes, this time the docs are OK :-) you can get the unformatted cost via

  [total-cost what-is-the-name-of-my-basket noformat]
                                            ^^^^^^^^

You now can either use this inside a [perl] to do every trick

    [currency][perl arg="scratch" interpolate=1]do whatever with [total-cost bayer noformat];[/perl][/currency]

[currency] formats according to your locale. Or use a [calc]....[/calc] for simple calculations.

\rho

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