Tags/topics: 
2
Answers
Vote up!
1
Vote down!

Why is Iraqi Dinar not available as a currency in Drupal Commerce?

While installing eCommerce Kickstart, I was represented with the default currency, and I have not found the currency I need for the website I am trying to build.
Iraqi Dinar: IQD seems not to be included in Drupal or Drupal Commerce.
Is there any specific reason? Or was it missed by mistake?
I am a newbie, would you guide me on how to contribute it myself to Drupal? Or if should I report this elsewhere?

Thanks

Asked by: postscripter
on October 4, 2015

2 Answers

Vote up!
1
Vote down!

Sounds like a bug. All the currencies in ISO 4217 should be in the list, but IQD is definitely missing from the source code.

You should post a bug report at https://www.drupal.org/project/commerce

If you need to fix it right now ( which you probably do ) then you need
hook_commerce_currency_info_alter() , which may make no sense if you've never needed to build a drupal module before. It's a quick job so post back if you get stuck.

Andy @ BlueFusion
Posted: Oct 12, 2015
骚虎视频_骚虎app