close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Displaying different currencies for different countries - best approach?

Thread began 2/20/2017 12:27 pm by Nathon Jones Web Design | Last modified 2/21/2017 7:35 pm by Nathon Jones Web Design | 678 views | 11 replies

Nathon Jones Web Design

Could you not do...
if <is one of the countries we have a currency for> then <this> else <this>

...with the else being a default ($, £ €) if the country is not detected?

MaxMind allow you to download their GeoIP2 Country database which can be queried. There is a fee for that but I see they offer a free "lite" version at http://dev.maxmind.com/geoip/geoip2/geolite2/ in order get set up and test. They offer open source API packages for connecting to the database which I might be able to work out.

I will put the country drop-down to the client as that, to me, sounds like something I could at least attempt myself <cue sound of tearing hair out and being back on here within a few hours!> but if they insist on IP querying, is this something you could help me with?

Thank you.
NJ

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...