Trial_and_Error
Starting Member
36 Posts |
Posted - June 17 2009 : 13:16:02
|
Hello,
In the tmp_custumeremail.htm, all prices, subtotals and totals are displayed using the shopformatcurrency function.
I did not change the code for the shopformatcurrency function in shopproductsubs2.asp and I can't figure out where the code is that displays a "?"sign in front of my prices. Am I overlooking something?
My xcurrencysymbol is set at "€" in my database and I suppose my currency table is set up correctly (cid=EUR, fullunitname=EURO, conversuinvalue=1,currencysymbol=€
The code for the shopformatcurrency code is below.
Thanks for any help?
Trial_and_error
Function ShopFormatCurrency (amount, decimalpoint) ' Handle 0 and garbage prices dim tamount tamount=amount if GetSess("Fullunitname")<>"" then tamount=Currencypriceconvert(tamount) end if If not isnumeric(tamount) then tamount=0 end if if tamount=0 then if getconfig("xprice0")<>"" then shopformatcurrency=Getconfig("xprice0") exit function end if end if if GetSess("Newcurrencysymbol")<>"" then shopformatcurrency=GetSess("Newcurrencysymbol") & formatNumber (tamount, decimalpoint) elseif getconfig("XCurrencySymbol") <> "" then shopformatcurrency=getconfig("XCurrencySymbol") & formatNumber (tamount, decimalpoint) else shopformatcurrency="$" & formatNumber (tamount, decimalpoint) end if end function |
|