VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: clivio on March 06, 2014, 16:26:55 PM

Title: Two currencies with two languages problem
Post by: clivio on March 06, 2014, 16:26:55 PM
I use Virtuemart  with two languages - polish and czech. There is a problem. I configured two currencies. It is configured properly because I checked it in many sources, for example here: http://www.templatemonster.com/help/virtuemart-2-x-how-to-manage-currencies.html

When I'm in polish version (screen1.png), I set currency to polish zloty. Then I go to czech version (screen 2) and set currency to czech koruna. When I save, in both versions (polish and czech) the currency is set czech koruna.

So I did it backwards. First I set czech koruna in czech version, then polish zloty in polish version and saved. After doing that the polish zloty is set in both languages.

To sum up, I cannot set different currencies for each language. I'll be very grateful for help.




[attachment cleanup by admin]
Title: Re: Two currencies with two languages problem
Post by: jjk on March 06, 2014, 20:58:17 PM
Your screenshot looks like you are still using an old version of VirtueMart. Latest stable version is 2.0.26d.
It does not work the way you are trying to do it. But you can do the following:

- add both currencies to the 'List of accepted currencies' in Shop > Vendor tab
- use two copies of the Module VirtueMart Currency Selector, set one to polish language and one to czech language and publish both in one of your template's module positions.

Afterwards the customers can select the the currency from a dropdown list.
Title: Re: Two currencies with two languages problem
Post by: clivio on March 06, 2014, 21:01:58 PM
Thanks for the quick response. I'll do as you say.

Yes, it isn't the newest version, I'll wait with update until migration to Joomla 3.
Title: Re: Two currencies with two languages problem
Post by: jjk on March 06, 2014, 21:26:35 PM
Quote from: clivio on March 06, 2014, 21:01:58 PM
Yes, it isn't the newest version, I'll wait with update until migration to Joomla 3.

Might be safer to update to the latest stable versions of Joomla (they published a security release today) and VirtueMart first, because Joomla 2.5 is pretty stable. Joomla 3 currently still is a developer's playground and is slower than J2.5.19.
Title: Re: Two currencies with two languages problem
Post by: clivio on March 06, 2014, 21:31:43 PM
You're right. I think I update virtuemart. Thank you. I'll let you know tomorrow.
Title: Re: Two currencies with two languages problem
Post by: jjk on March 06, 2014, 21:40:23 PM
Quote from: clivio on March 06, 2014, 21:31:43 PM
You're right. I think I update virtuemart. Thank you. I'll let you know tomorrow.
Backup first!
;)
Title: Re: Two currencies with two languages problem
Post by: clivio on March 06, 2014, 21:48:59 PM
Really?  ;D

I already made a simulation on a copy of my website on other server. There are some small problems but I think I'll manage. For example Virtuemart disappeared from components list but I turned on xmap plugin for virtuemart and it is back again :)

If I have any problems, I'll come back here tomorrow :)
Title: Re: Two currencies with two languages problem
Post by: clivio on March 10, 2014, 22:09:13 PM
I updated virtuemart and the multicurrency setting works good. But when someone change version from polish to czech he or she has to change currency manually using currency selector. Is it possible that the currency will change automatically after changing language version?