I'm really sorry to post this request, normally I solder through until I understand a module enough to implement a solution. But in the case of the Currency API module, I've failed to gain an understanding of it.
Could somebody please point me in the right direction? I want to use the currency API module to set up either of two scenarios:
1 - the user enters a currency value into a Money Field on a custom content type using their local currency. Then drupal standardises that value to make it searchable and comparable with all of the other nodes of that content type using search API. Finally the end user is able to set a local currency for their account and all of the nodes of that content type are converted to show values - from the money field - in their chosen currency.
If not possible, then
2 - The user enters their value into the money field in USD. This enables the standard search and compare through Search API as everything is in the same currency anyway. But the users can set a local currency for their account so that all of the nodes of that content type are converted to show values - from the money field - in their chosen currency.
Are either of these scenarios possible? I have the Money and Currency modules installed, am i missing something? How should I configure these to work with either of those scenarios or am I barking up the wrong tree?
I've tried to search for recipes or other solutions and failed to find anything similar to these scenarios.
I'd be grateful to hear anybody's input.
Comments
Comment #1
xanoCurrency exchange rate retrieval is currently an API, with only the additional submodule that provides a practical (albeit very limited) use case. There is no integration with the Money field module I am aware of. If there is, it is part of the Money field module and not of Currency and I would advise you to ask for support on the issue queue there.
Comment #2
cockers commentedThanks for the pointer Xano. I have checked the money module and you're right - I got the wrong end of the stick. It requires Currency to get a list of currencies and their symbols - nothing more.
For anyone looking for something similar to what I'm doing I think I might have found a completely different solution with Commerce Multicurrency: http://mcaleaa.wordpress.com/2012/04/08/drupal-commerce-multicurrency-re...... it's early days in my research, but I'm guessing I'd enable the Price Field, and then use something like this multicurrency recipe. I was concerned about installing a whole cart, but I've realised that I could just enable the Price Field (leaving the rest disabled) and then follow this recipe.
Thanks again Xano, a reply within 24 hours is fantastic support!
Comment #3
xanoI'm not sure whether you are actually using Drupal Commerce or not, but if you are, you can also use Currency for Drupal Commerce.
Comment #4
cockers commentedInteresting! Thanks again Xano. May I ask, which do you think would be better for my case, Currency for Drupal Commerce or Commerce Multicurrency?
The end goal would be some sort of automatic local conversion? Maybe even searches in local currencies using search API too?