Author |
Topic |
|
Edgware
Starting Member
7 Posts |
Posted - July 08 2007 : 07:42:10
|
Hi,
Currently on VPASP prices are shown like this : "€29,90" for example.
In Europe, the Euro sign is placed after the amount, so the correct value should be : "29,90€".
Is there a way to put the currency sign after the price ?
I have made a research in the code, but I haven't found where VPASP formats and displays the price of a product.
Thanks in advance if someone can help me ! |
|
slapolice
Starting Member
Canada
8 Posts |
Posted - July 09 2007 : 15:45:49
|
Good question!!! I would like the answer too because it is the same in Canada.. specially in French. |
|
|
Scooter
VP-CART New User
USA
102 Posts |
Posted - July 09 2007 : 22:18:02
|
I make this change. Will move all currency symbols to the end of the price so may not be best for all peoples.
In shopproductsubs2.asp find this:
Function ShopFormatCurrency (amount, decimalpoint)
Now find this:
shopformatcurrency=GetSess("Newcurrencysymbol") & formatNumber (tamount, decimalpoint)
Change to
shopformatcurrency= formatNumber (tamount, decimalpoint) & GetSess("Newcurrencysymbol") ' shopformatcurrency=GetSess("Newcurrencysymbol") & formatNumber (tamount, decimalpoint)
Now find this
shopformatcurrency=getconfig("XCurrencySymbol") & formatNumber (tamount, decimalpoint)
Change to
' shopformatcurrency=getconfig("XCurrencySymbol") & formatNumber (tamount, decimalpoint) shopformatcurrency= formatNumber (tamount, decimalpoint) & getconfig("XCurrencySymbol")
Should work way you want.
Thanx S.
|
|
|
Edgware
Starting Member
7 Posts |
Posted - July 10 2007 : 09:16:59
|
Thanks Scooter for your code ! |
|
|
slapolice
Starting Member
Canada
8 Posts |
Posted - July 24 2007 : 14:09:47
|
There is not way to get the $ after the amount in french .. and before the amount in English... for exemple!?
ALSO, it is possible to change $CAN to $CAD. The appropriate canadian dollar symbol is CAD, not CAN.. like US. We do not say $USA, we say $USD! ??? |
|
|
support
Administrator
4679 Posts |
Posted - July 25 2007 : 02:17:14
|
Hi there,
You can change this in the online admin.
Occasional Tasks > International > Currency Tables
With having the currency symbol change from back to front it would require some custom logic to allow for this. by default VP-ASP only displays in the one format.
Someone on the forum may have already coded for this?
Thanks Cam
VP-ASP Support
|
|
|
|
Topic |
|