close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Prices displayed in different currencies

Thread began 7/31/2012 3:18 pm by bill3786 | Last modified 8/01/2012 12:04 pm by bill3786 | 404 views | 1 replies


Prices displayed in different currencies

During development the client requested the following system for the site.

Product prices are to be shown in sterling or euros and have separate columns in the database. The product and detail pages have show regions with if/else statements controlling what prices are displayed depending on the users country at login.

The sterling prices (if) are shown if the users country is UK and euro prices (else) are shown if the users country is not UK. All UK customers pay through the site using Worldpay and all non-UK customers are not shown an add to cart button and are instructed to order and pay by phone.

This system is working well on the live site but the client has now asked for separate prices for USA, Japan and Russia and these customers will also be instructed to order and pay by phone. Adding the new database columns and all the extra backend stuff is easily achieved although time consuming.

The setting up of the new show regions for the different prices on the Product Results and Product Detail pages is more complex and I dont think can be done with if/else statements. Am I correct in setting it out this way or is there an alternative/better option.

1. UK Sterling prices show region - if statement - equals country UK
2. USA dollar show region - if statement - equals country USA
3. Japanese Yen show region - if statement - equals country Japan
4. Russian Ruble show region - if statement - equals country Russia
5. All other countries will show Euro - if statement - not equals countries UK, USA, Japan and Russia.

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





Ease of use


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...