Forum Moderators: buckworks

Message Too Old, No Replies

Embedded Currency Conversion

how can a newbie do it?

         

Mr_Busby

4:31 am on Dec 8, 2003 (gmt 0)

10+ Year Member



Hello;

I have an online store and want to include an up-to-date 'approximate US price' below each product (30 or so per page), which I now list in my local currency. (I'm using html)

I have heard that others use some kind of currency table which they manually update as the exchange rate changes, which keep their prices up to date.

However I'm completely stumped and can't find any resources on the web which can help.

Any ideas? Thanks.

Essex_boy

8:07 am on Dec 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try XE.com they have a currency convertor for free that does exactly what your asking for.

Mr_Busby

11:52 pm on Dec 8, 2003 (gmt 0)

10+ Year Member



Thanks, but I don't think XE will work because I don't want the customer to have to click on 'convert' to see the US price. Plus I don't have room to stick their converter under each product. I want the US price to be displayed at all times beneath my AUD price.

I don't mind updating the exchange rate manually every couple of days so the solution doesn't necessarily have to connect to an external currency site.

killroy

11:59 pm on Dec 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use XE to update a currency DB daily and use that for life price conversion...

SN

jatar_k

12:03 am on Dec 9, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



do you have any scripting language that you can use?

The math is simple enough.

You store the rate somewhere (db or file) and then when you generate the page it just grabs the current rate multiplies it and displays the output on the page somewhere.

Mr_Busby

12:22 am on Dec 9, 2003 (gmt 0)

10+ Year Member



Sounds like we're getting on the right track...

However I'm a complete newbie (I really mean it) and don't know any scripting languages. I just use MS Frontpage to do my website.

I appreciate your help guys.

jatar_k

12:46 am on Dec 9, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



maybe frontpage can do the calculation for you with some javascript and then write it onto the page. Not sure, I have never used frontpage.