Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: January 16, 2010: Important security update
 
Pages: [1]
  Print  
Author Topic: IOS select currency problem  (Read 275 times)
jason
Newbie
*
Offline Offline

Posts: 10


« on: July 20, 2010, 04:08:27 PM »

In default IOS currency goobal setting Has "TWD" support.

after set, the Elxis CMS system said " Sysytem not supported"

How can I fix that??

Thanks for your great help
 
Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 5791



WWW
« Reply #1 on: July 20, 2010, 05:42:12 PM »

What exactly you can not do? Set as default IOSR currency the TWD?
Logged

Elxis Team | Is Open Source | IOS Reservations | IOS Eshop
jason
Newbie
*
Offline Offline

Posts: 10


« Reply #2 on: July 21, 2010, 03:50:34 AM »

component-->IOs reservations-->configuration-->General seeting-->currency---->I set "TWDTaiwan Dollar"

component-->IOs reservations-->configuration-->Front Page-->Select currency--> set "Yes"

module-->Set module-->IOSR select currency-->Module detail-->set Position "user1" parameters set " show exchange set "Yes'

after go tto "home page'" , select currency is there,  but only message as flows

   "System default currency is not supported by IOS Reservations exchange rates system. "

so my problem is they can be set, but not support by IOS exchange rates system

It seems need to set exchange rate somewhere I dont know 
Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 5791



WWW
« Reply #3 on: July 21, 2010, 01:42:25 PM »

You can add TWD in IOSR exchange rates system by inserting one new row at the corresponding database table (via phpmyadmin) but the rates will not be updated automatically as ECB does not provide information for the EUR-TWD exchange rates. So, you will have to set manually the rate for TWD and do that again each time this changes.
Logged

Elxis Team | Is Open Source | IOS Reservations | IOS Eshop
jason
Newbie
*
Offline Offline

Posts: 10


« Reply #4 on: July 21, 2010, 03:09:41 PM »

Thanks, very helpful 
Logged
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 5791



WWW
« Reply #5 on: July 21, 2010, 07:06:54 PM »

Some more info:
related database table: elx_res_exchange
Today's EUR to TWD exchange rate:  1 : 41.1366

So, create a new entry in table elx_res_exchange like this:

35, TWD, 41.1366, 1451577600

Source: http://www.exchange-rates.org/Rate/EUR/TWD

In order for IOSR not to update automatically and continuously the exchange rate for TWD (as this will fail) I have set the timestamp (last column in table elx_res_exchange = lastupdate) to a future date (1451577600 = December 31, 2015 10:00:00)
« Last Edit: July 21, 2010, 07:15:35 PM by datahell » Logged

Elxis Team | Is Open Source | IOS Reservations | IOS Eshop
jason
Newbie
*
Offline Offline

Posts: 10


« Reply #6 on: July 22, 2010, 05:08:13 AM »

Sorry bother you again.

I already added the exchange rate in mysql. It's ok.

but after that ,It seems more place need to be amended.

1)  the selctlist need to add "TWD-New Taiwan Dollars" , no "TWD" on the list.

2)  need to tell PhP code to do calculation for default currency and TWD.

Thanks again.
Logged
Pages: [1]
  Print  
 
Jump to: