Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Instant Website: Realty/Listings/Auto:
currency issues

 

 


panthony
User

Oct 26, 2009, 12:08 PM

Post #1 of 6 (4467 views)
Shortcut
currency issues Can't Post

We have house listing prices in 3 different currencies: ANG (local currency), Euro's and Dollars. How can the site accommodate all 3 of them? Anybody has a clue?
kind regards
Anthony


Donna
Staff / Moderator


Oct 27, 2009, 4:43 PM

Post #2 of 6 (4451 views)
Shortcut
Re: [panthony] currency issues [In reply to] Can't Post

Hi Anthony!

That depends on how you want them displayed. Do you want your end users to be able to click on a link and show only their currency? Or do you want all of the currencies displayed at once? Where are they getting the currencies from, will they be entered in by you, or do you want to use some sort of online currency converter?

Let me know a few details about how you'd like the site to handle multiple currencies, and we can show you some ways to set that up. :)

Donna

--
support@interactivetools.com


panthony
User

Oct 28, 2009, 7:54 AM

Post #3 of 6 (4430 views)
Shortcut
Re: [Donna] currency issues [In reply to] Can't Post

Hi Donna
We will input them ourselves. We have a real estate office in Curacao, Netherlands Antilles. We work with people from the island, people from Europe and the USA. Asking prices of properties will be in the local currency ANG (Antillian Guilders) or in Euro's or in US Dollars so these are the currencies we want to display. How can we do that?
kind regards
Anthony


Donna
Staff / Moderator


Oct 29, 2009, 2:24 PM

Post #4 of 6 (4398 views)
Shortcut
Re: [panthony] currency issues [In reply to] Can't Post

Hi Anthony!

In that case, you would just need to create two more price fields, so you could use one for each currency.

Doing this will add new fields, which you can see via the Code Generator. In the Code Generator, look for your new field names, and you'll see the code you need to add. It will look something like this on a detail page:

<?php echo $listingsRecord['fieldname'] ?>

(Note: That won't be it exactly, make sure you grab the code directly from your own code generator.)

Then, copy & paste this directly into your template wherever you want the price to show up.

For example, say you have a listing page, and the current code around the displayed price is this:


Code
Price: <?php echo $listingsRecord['price'] ?>


To display three different currencies, you could do something like this:


Code
Price in US: <?php echo $listingsRecord['price'] ?><br /> 
Price in ANG: <?php echo $listingsRecord['ang'] ?><br />
Price in Euro's: <?php echo $listingsRecord['euro'] ?><br />


Does that make sense?

Donna

--
support@interactivetools.com


panthony
User

Oct 30, 2009, 10:55 AM

Post #5 of 6 (4373 views)
Shortcut
Re: [Donna] currency issues [In reply to] Can't Post

Hi Donna, that would be a solution to show it but it won't show up in <?php echo number_format($listing['price']) ?> when we want to have a price related search query. We want to show listing in a price order.

kind regards
Anthony


Donna
Staff / Moderator


Oct 30, 2009, 2:29 PM

Post #6 of 6 (4369 views)
Shortcut
Re: [panthony] currency issues [In reply to] Can't Post

Hi Anthony,

You can have those show up in whatever format you want, and you can still search on those fields exactly the same as you would any other price field. There's nothing special about them except they hold different numbers. :) Anything you can do with the price field, you could do with those new currency fields as well.

Donna

--
support@interactivetools.com