ChrisColeman Posted April 30 Share Posted April 30 I would like to display the symbol of the default currency in a plugin. Many Thank Yous. Chris. Â Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 30 Share Posted April 30 Specifically, for the default currency, try this: $code = $GLOBALS['config']->get('config', 'default_currency'); $result = $GLOBALS['db']->select('CubeCart_currency', '*', array('code' => $code) $default_currency_symbol_left = $result[0]['symbol_left']; $default_currency_symbol_right = $result[0]['symbol_right']; Â Quote Link to comment Share on other sites More sharing options...
ChrisColeman Posted May 1 Author Share Posted May 1 Perfect. Â Thank You. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.