MiniVend Akopia Services

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

Using the euro...



******    message to minivend-users from Thomas Walter <tw@mail.itreff.de>     ******

Hiho minivendors

After reading many suggestion on how to implement the euro using [calc],
[currency],... 
- this is what I did (I am not sure if doing it like this is the best
way, but it works for me...):

In the catalog.cfg:
----- snipp -----
# to define the euro-Settings (PriceDivide is for converting from DM)
Locale eur_EUR PriceDivide         1.95583
Locale eur_EUR p_cs_precedes       0
# this is great - you can even use HTML-Tags to display an euro-image
Locale eur_EUR currency_symbol     "<IMG src="/path/to/image/euro.gif">"
Locale eur_EUR p_sep_by_space      2
Locale eur_EUR mon_decimal_point   ,

# and the DM
Locale de_DE
Locale de_DE p_cs_precedes  0
Locale de_DE p_sep_by_space 2
----- snipp -----

And on my pages (this is from the results-page) I use this to display
the DM and the euro:

----- snipp -----
[item-price]<br><!-- german is default -->
[setlocale eur_EUR]
  [currency convert=1][item-field price][/currency]<br><!-- the euro -->
[setlocale]
----- snipp -----

Any questions? -> read the docs about "Internationalization"

   regards
       Balu

Greetings go to 
  Mike - thanx for this great shopsystem -,
  Birgitt - for always telling me how young I am ;-) - and
  Frank - for the help with my categories-listing...
-
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: