Categories

Featured templates

Jigoshop. How to add new currency

Norman Fisher October 22, 2012
Rating: 5.0/5. From 2 votes.
Please wait...

This tutorial is going to show you how to add a new currency to your Jigoshop template.

  1. Open a file called functions.php on your server located under wp-contents/themes/theme###/
  2. Add the following at the end of the file before ?>
  3. function jigoshop_add_my_currency( $currencies ) {
         $currencies['ARS'] = ' Argentine peso ($)';
         asort($currencies);
         return $currencies;
    }
    add_filter('jigoshop_currencies', 'jigoshop_add_my_currency', 1, 1);

    You need to change currency code, currency name and currency sign: ARS and Argentine peso ($).

    Note, $ is the HTML number of currency symbol, you can find HTML number of your currency at: http://www.ascii.cl/htmlcodes.htm

  4. To add the currency symbol, add the following to the same file:
  5. function jigoshop_add_my_currency_symbol( $currency_symbol, $currency ) {
        if ($currency=='ARS') $currency_symbol = '$';
        return $currency_symbol;
    }
    add_filter('jigoshop_currency_symbol', 'jigoshop_add_my_currency_symbol', 1, 2);'jigoshop_add_my_currency_symbol', 1, 2); 

    You need to change currency code and currency sign: ARS and $.

  6. Save the changes, from your WordPress admin panel go to the menu Jigoshop-> Settings.
  7. Select the new currency in the Currency drop-down  and click “Save Shop Changes” at the bottom.

Feel free to check the detailed video tutorial below:

Jigoshop. How to add new currency

Wordpress Pro Themes
This entry was posted in Jigoshop Tutorials and tagged add, currency, Jigoshop. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket