Website Currency Change
I was wondering if any of you guys could point me in the right direction for this.
At the moment I run a website which offers the pricing in USD, GBP and EUR. But they go to different directory's at the moment e.g. /USD/pagename /GBP/pagename etc
I was wondering if there was a bit of code released so it'd be like domain.com/?currency=usd or something
Such a vague question. Do you really think someone can possibly understand your situation from this post? You are the one manipulating the paths and the urls - why ask us?
PS - If you're posting here you should be using:
at the top of ALL php code while you develop it!
Well, there are many variables in play here (no pun intended), but such things are often handled on the web server side via url rewriting, e.g. http://httpd.apache.org/docs/current...d_rewrite.html
Sorry I thought it made sense,
Originally Posted by ginerjm
I am looking for some code which will make the website instead of going to use /USD/ use ?curr=usd (I don't mind what it says in front of "=usd")
Yourdomain.com/USD/page will be yourdomain.com/page?curr=usd (it will rely on cookies a little to remember the currency) I'd prefer it to use HTML instead of the database for the currency changer so I can manually do it instead of how WHMCS does it. Actually WHMCS is a good preview of it when you hit order on one of their products you can choose the currencies setup.
I've got some url rewriting already but I'll check it out thanks.
Originally Posted by NogDog
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)