Results 1 to 1 of 1

Thread: Currency lists

  1. #1
    Join Date
    Jun 2005
    Posts
    7

    Default Multiple Currency Exchange Rates

    This addon lets you list the price with various other currencies below it. For example, if the listed price is in $ dollars, it will show the dollar amount and it can also display the Euro, and Pound values.

    it gets the exchange rates from the European central bank's daily exchange rate XML (36 Currencies available) file which is parsed by this addon, so the currencies other than the base currency are always shown with up to date data without manual modifications.

    the addon uses the template tag

    {addon_xchangeRate_price}

    which is replaced by the templating engine with

    HTML Code:
    <ul class="xchangeCurr"> 
    <li class="price">R 2,500,000</li> 
    <li class="otherCurr">$&nbsp;392,288</li> 
    <li class="otherCurr">&euro;&nbsp;325,199</li> 
    <li class="otherCurr">&pound;&nbsp;221,981</li> 
    </ul>

    UPDATE v1.0.1: Settings have been moved to admin section. Also the rates are now only retrieved once a day from the ECB and stored in database till the next update. Makes it quicker, and puts less strain on ECB server.

    UPDATE v1.0.2: Made it more secure, now only administrators can make changes to the currencies.

    Roadmap:
    • Add a tag for a currency convertor using popup
    Attached Files
    Last edited by potsed; 10-05-2005 at 04:42 PM. Reason: Updated v1.0.2

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts