Page 1 of 1
Os commerce help
Posted: Mon Mar 05, 2007 5:39 am
by jito
Hi,
have two currency types in my oscommerce based shopping cart. The default one is showing for every user, but i want to make it location specific. How is it possible?
Regards.
Posted: Mon Mar 05, 2007 6:26 am
by onion2k
You'll need to use some sort of IP geolocation database and look up _SERVER['REMOTE_ADDR']. Someone might have already written the code for osCommerce, you'd be best off asking on their support forums.
Posted: Mon Mar 05, 2007 6:43 am
by jito
Yes, i know it's possible with $_SERVER['REMOTE_ADDR'] and a IP database, but the problem is that this is my first day with oscommerce, and i find it difficult to change the code. Actually i can't find where to change. Another problem is that i don't have time. That's why i'm here, if anybody faced the same problem before me.
I tried their forum already, but don't have any responce.
Thnks.