News:

Looking for documentation? Take a look on our wiki

Main Menu

(SOLVED) Change currency based on user field

Started by benedex82, June 21, 2013, 14:58:50 PM

Previous topic - Next topic

benedex82

Hello...

I need to change the currency accordingly to a field in the user profile. I have created a drop-down field with currencies but I need to connect it to the global currency used in VM. (I need this on the backend because it will be handled by the administrator)

I need to know:

- how to retrieve the user field (I've tried something but I've not found any method to retrieve that)
- how to change the global currency (I've look into class CurrencyDisplay but without results...)


Thank you very much