3

I want to update the currency and the rates for admin based on the user for which locale is set. For eg., if the locale is French, the currency should be French, but if the user is logged in from US locale it should be USD. The areas which I am referring to are, Dashboard, Orders grid/view, Products grid view.

enter image description here

  • Single store, multiple store views, single website – Gagan Dec 15 '17 at 6:40
  • Updated question with screenshot – Gagan Dec 15 '17 at 6:46
  • Do you have any option to set locale per user? – Priyank Dec 15 '17 at 6:55
  • Yes it is default! – Gagan Dec 15 '17 at 6:58
  • When you create a new admin user, there is an option in admin to choose locale. I repeat I am referring to admin interface – Gagan Dec 15 '17 at 7:03
0

Yes this can be achieved by doing some customisation.

  1. Add a currency drop-down in add/edit user form at admin.
  2. Add and admin event observe for

contoller_action_predispatch

Then in this observer get selected currency for current admin and apply that currency to store manager object.

So this will be applicable for all admin pages.

0

You can change locale from admin under System -> Configuration -> General and currency from System -> Configuration -> Currency setup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.