[ic] Displaying Euro in random component

Barry Flanagan interchange-users@interchange.redhat.com
Tue Aug 14 11:15:01 2001


Hi,

We have set up our Interchange (4.8.1) server to display prices in both the
local currency and in Euro. This works fine in flypage and results, but the
random component dsoesn't work correctly  - it always diplays the Eiro price
as "0.00"

Here is the code from the random component:

 <tr>
          <td align="center">
            Our Price: <b>[loop-price]</b>
          </td>
                <td>([setlocale en_EU][currency convert=1][loop-price][/currency])[setlocale]</td>
        </tr>


...which should print

Our Price: IR£2.95 (Euro 3.15)


Am I missing something here?

Thanks in advance.

-Barry Flanagan