VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Acolytte on February 02, 2014, 20:23:18 PM

Title: Automatic setting of currency
Post by: Acolytte on February 02, 2014, 20:23:18 PM
I am using only two currencies and i need them to be automaticly set. Is there any solution?
(I have Rupostel's One Page Checkout)
Title: Re: Automatic setting of currency
Post by: jenkinhill on February 03, 2014, 00:13:36 AM
VirtueMart 2.x.x handles muti-currencies automatically. http://docs.virtuemart.net/manual/21-configuration-menu/67-currencies.html
Title: Re: Automatic setting of currency
Post by: Acolytte on February 03, 2014, 21:42:21 PM
The problem is, when i acces the webpage from Slovakia (i am from Czech Republic), the prices are still in Kc (Czech Republic) and not in Euro. That is the reason why i am using VM Currency Selector module. Its is not happening automaticly. Is it done by some sort of plugin or did i made mistake there?
Title: Re: Automatic setting of currency
Post by: jenkinhill on February 03, 2014, 23:30:45 PM
The default currency displayed is the one configured  in the vendor tab  -  http://docs.virtuemart.net/component/flexicontent/37-configuration/92-how-to-change-the-shop-default-currency.html

If you want the prices to display in Euros and not CZK you should select your currency in the frontend using the VM - Currencies Selector module. This module should be configured in the backend.
Title: Re: Automatic setting of currency
Post by: Acolytte on February 04, 2014, 16:55:46 PM
is this the right section of forum? i am asking for help. IS there actualy some option or module that could DO the one thing: "Automaticly set currency based on country". I have my default currency set, i have module to change currency to euros. It is not done automaticly, that is the problem.
Title: Re: Automatic setting of currency
Post by: jenkinhill on February 04, 2014, 17:25:10 PM
So how are you going to know what country the visitor is from before they register on the site? Once they are registered & logged in then you could use some scripting to change the currency "automatically", but not before. Unless maybe you do an IP lookup and use a geolocator, but someone would have to program that, and geolocation based on IP is not always accurate..
Title: Re: Automatic setting of currency
Post by: Acolytte on February 04, 2014, 19:12:32 PM
I have Rupostel's One Page Checkout, assigning shopper group based on country. So, there is not any mod or virtuemart option. Thank you, case closed
Title: Re: Automatic setting of currency
Post by: Csabesz on March 13, 2014, 14:41:24 PM
Hello,

"Once they are registered & logged in then you could use some scripting to change the currency "automatically", but not before."
how can be done this, I need to change default currency depending on shopper group, I have 2 currencies USD and EUR and 2 shopper groups one for USD and other for EUR prices and no prices for guests.
I need to show prices in currency belonging to the shopper group automatically after login and they cannot change the currency.
I hope understandably what I need and somebody can help me with this.
Title: Re: Automatic setting of currency
Post by: jenkinhill on March 13, 2014, 15:01:19 PM
I don't think anyone has made some code for this, so you will have to write a plugin for it - or commission a developer to do so.
Title: Re: Automatic setting of currency
Post by: Csabesz on March 13, 2014, 15:40:51 PM
OK,

thanks