Jump to content

Language set currencies...


Recommended Posts

Is it possible to remove the currencies link and let the country selection decide the currencies.

example: if i chose the german flag/country the currencies will be euro, and if i chose Swedish flag/country the currencie will be SEK ??

Link to comment
Share on other sites

Is it possible to remove the currencies link and let the country selection decide the currencies.

example: if i chose the german flag/country the currencies will be euro, and if i chose Swedish flag/country the currencie will be SEK ??


Sound like something I also want.

Have you also found any card-transations module that works for the swedish payment?

Vi behöver även ett Svenskt forum...
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
  • 9 months later...

"Have you also found any card-transations module that works for the swedish payment?"
payex works great!

I am currently working on a payson module but it's for a client and can't share it unfortunately. It's basically similar with the paypal module (redirect version not WPP or express). pretty easy to create

Link to comment
Share on other sites

"Is it possible to remove the currencies link and let the country selection decide the currencies."

let's assume you have 2 languages: english with the id of 1 and swedish with the id of 2
and 2 currencies
USD with id=1
SEK with id=3


1. you can remove the currency block so currencies won't be displayed anymore
2. in classes Tools.php after:

$cookie->id_lang = $id_lang;



add:

switch($id_lang) {
 case '1':
   $cookie->id_currency=1; //1 is the currency id for selected language_id1
break;
 case '2':
   $cookie->id_currency=3; //3 is the currency id for selected language_id=2
break;
}





not tested (lack of time) but should work

Link to comment
Share on other sites

  • 3 weeks later...

To Shykoo - it is more complex than it looks.

To Radu - I have 5 currencies and 5 flags. The task is to eliminate the currencies and have the flag buttons choose the language and the currency. For example. Pressing on the british flag will choose English as language and £ as currency. Pressing on the Swedish flag will choose Swedish as language and SEK as currency.

ThanX

Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks later...
  • 3 weeks later...

I came over this one:
http://www.presto-changeo.com/prestashop-free-modules/21-location-detection.html

It enables me to remove the currency block and let the flag choose the language and the IP location or browser language choose the currency.
I like that feature but in a perfect world I would also like to let the language-flags decide what the currency should be.
In that case I could set up my store with redirections like:

store.com goes to store.com/lang-en/ and have the currency dollar
store.fr goes to sore.com/lang-fr/ and have the currency euro
store.se goes to store.com/lang-se/ and have the currency SEK

Any solution to that?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...