I'm trying to use this module as a way of defining what the default currency should be for each locale on my Drupal Commerce site. There are two pieces of the puzzle currently missing to achieve this are as follows:
1. A hook_commerce_default_currency() implementation which sets the site default currency to that selected on the locale
2. (A nice to have) Instead of a textfield on the locale languages edit form, why not have a select displaying the currency codes which are enabled in commerce?
I'm just wondering - is there any reason this module would not do both of these out of the box?
Comments
Comment #2
jamsilver commentedSimple patch attached.
I've used the select_or_other module (if it is enabled) to allow users to specify a non-commerce currency should that be desired.
Comment #3
jamsilver commentedComment #4
james.williamsThree years later, still looks great to me, thanks! I'm going to use this on a new project :-D
Comment #5
james.williams