Adding a currency
There are two hooks you can use to add and manipulate currencies:
-
jigoshop_currencies -
jigoshop_currency_symbol
To add a currency to the options dropdown in the backend, add
something like this to:
wp-contents/themes/YourTheme/functions.php:
function jigoshop_add_my_currency( $currencies ) {
$currencies['SIM'] = 'Simoleans (§)';
asort($currencies);
return $currencies;
}
add_filter('jigoshop_currencies', 'jigoshop_add_my_currency', 1, 1);
And to set the symbol up:
function jigoshop_add_my_currency_symbol( $currency_symbol, $currency ) {
if ($currency=='SIM') $currency_symbol = '§';
return $currency_symbol;
}
add_filter('jigoshop_currency_symbol', 'jigoshop_add_my_currency_symbol', 1, 2);
-
Getting Started
-
Jigoshop Settings
-
Creating Products
-
Using Jigoshop
-
Customize Jigoshop
-
Testings - in case of problems on Jigoshop web site
-
FAQ - Jigoshop plugin user questions
- Add a new tab to a product page / Custom tabs on product pages?
- Adding a Continue Shopping button to the single product page
- Adding Product Category Terms in a dropdown box for Custom Post Meta
- Add Alternate text on product picture and title
- Adding buttons / info to the end of each product
- View all (171 more)
-
FAQ - Jigoshop extensions user questions
-
API
-
Screencasts