Change the currency prefix

Complete the following steps to change the prefix of the currency amount:

  1. To change a positive currency prefix, use the following line in a mass loadable file:
    <curfmtdesc storeent_id="-1" setccurr="USD"
    language_id="&en_US;"
    
    numbrusg_id="-3" currencyprefixpos="F"/>
    

    Where:

    storeent_id

    The store or store group ID.

    setccurr

    The three-character ISO 4217 currency code representing the currency you want to format. This code must appear in the SETCCURR column of the
    SETCURR table.

    language_id

    The language ID of the format record.

    numbrusg_id

    The ID of the number usage.

    currencyprefixpos

    The string you want to display to the left of the amount.

    To change a negative currency prefix, use the following line in a mass loadable file:

    <curfmtdesc storeent_id="-1" setccurr="USD"
    language_id="&en_US;"
    
    numbrusg_id="-3" currencyprefixneg="-"/>
    

    Where:

    storeent_id

    The store or store group ID.

    setccurr

    The three-character ISO 4217 currency code representing the currency you want to format. This code must appear in the SETCCURR column of the
    SETCURR table.

    language_id

    The language ID of the format record.

    numbrusg_id

    The ID of the number usage.

    currencyprefixneg

    The string you want to display to the left of the amount.

  2. Load the data to the WebSphere Commerce database. For instructions on how to load the data to the database, see Loading the data to the WebSphere Commerce database.

If the currency data for the Korean currency (KRW) uses an image for the currency symbol, the image is specified using a relative URL. The URL (<IMG src=images/won.gif align=bottom>) is relative to the page that contains the formatted currency. The image may not resolve to the directory that contains the image supplied by WebSphere Commerce, located in the web/images directory of the install directory. You can change the currency data in the
CURFMTDESC table to use an absolute URL (that resolves to a directory containing the won.gif) or ensure that the won.gif is copied to a subdirectory called images in all directories containing JSP files that may reference the Korean currency.

Related concepts

Related tasks

Related reference