MiniVend Akopia Services

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

Re: [mv] Locale price_picture reacts a little late [solution]



Hi,

I thought I was the only one who experienced this strange behaviour but a
question from Victor Nolton, posted oktober 3 1999, seems to point to the
same thing. This motivated me to post this workaround but the bug remains.
It doesn't solve everthing yet.

Starting with:
[setlocale locale="language code" currency="currency code" persist=1]
things seem to work better for the currency presentation if you use a
different code scheme for the language code and currency code. For example
use "en_US" for text in english and "enUS" for $ presentation. The same for
German (de_DE) and Deutsch Marks (deDE).

In your catalog.cfg you need to define the Locale parameter for the
currencies enUS and deDE. en_US and de_DE need to be initialised with some
fake definition to avoid minivend to give error messages on non existing
local settings:
Locale en_US PriceField  blabla1
Locale de_DE PriceField  blabla2

If you do this the currency presentation works fine directly after changes.
The language settings will not, sometimes.

Regards,
Bas


----- Original Message -----
From: B.J. Bezemer <bas.bezemer@wxs.nl>
To: <minivend-users@minivend.com>
Sent: woensdag 17 november 1999 15:51
Subject: [mv] Locale price_picture reacts a little late


> ******    message to minivend-users from "B.J. Bezemer"
<bas.bezemer@wxs.nl>     ******
>
> Hi all,
>
> In my shop I have connected the locale settings to the country the order
> should be sent to. On the checkout page (like simple-demo starts with
> basket summary followed by checkout form) the costumer can select the
> country of delivery from a drop down list. After pushing the
> "update"-button (or automatic submition by onChange-javascript call on
> drop down list), the prices in the [item-list] have numerically changed
> to the values of the country selected, but the presentation has not. So
> if you changed the country of delivery from US to France the price
> presentation changes as follows:
> $ 1.00   ---->  $ 6.50  (made the conversion factor up)
> To have the prices represented like "6.50 fr" takes another "update
> form" action or visiting any other page. Does anyone know how to get
> everything right on the first update.
>
> I'm using the standard Locale setting is in the documentation
> (p_cs_precedes p_sep_by_space mon_decimal_point mon_thousands_sep) for
> every currency, use [setlocale locale=etc. currency=etc. persist=1] on
> the top of the page, tried both  PriceDivide and separate price fields
> in the products database. Minivend 3.14
>
> Bas Bezemer
> -
> 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: