Adding a currency

To add a currency to your store using an XML file:

  1. Create an XML file that uses the wc.dtd as shown in the following example:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE import SYSTEM "wcs.dtd">
    <import>
    <!-- Insert currency asset information here  -->
    </import>
    
  2. Within the import element, add CURLIST elements followed by CURCONVERT elements.

    You must populate these columns of the CURLIST table:

    • storeent_id
    • fromcurr
    • tocurr
    • curconvert_id

    You must populate these columns of the CURCONVERT table:

  3. Optionally, if you want to display prices both in the shopping currency, and a counter currency (for example, display prices in both the Netherlands guilder and the euro), you must also add information to the CURCVLIST table.

    You must populate these columns of the CURCVLIST table:

  4. Run the ID Resolver utility to resolve entities in the XML file.
  5. Run the Load utility against your XML file to load your data into the target database.

Feedback