tomino015 Posted January 24, 2013 Share Posted January 24, 2013 Hi, I would like to ask if there is anyone who could help me with my problem. The thing is, that we all know, that in prestashop, we can customize a default currency for the whole e-shop and also we can add other currencies through which prestashop automatically calculates prices to these currencies from the default one. I need to achieve that I put prices in administration in U.S Dollars and that in e-shop they would show as Euros (and calculate via current ratio). The only problem I see is that if I set default currency as USD the default currency in e-shop is also USD, the other currency is only available only if you click the roll menu. And this is what I need to achieve - set currency in administration for USD and set default currency EUR in e-shop. I also got some idea, set the default currency as USD. Add another currency EUR, set a ratio for calculation from USD to EUR. And edit some file (don't know which) so e-shop picks automatically EUR. I just don't know where, what and how to add/edit. Is there anyone that could help me with my issue please. I use prestashop 1.4.8 I really appreciate any help! Thank you. 1 Link to comment Share on other sites More sharing options...
El Patron Posted January 24, 2013 Share Posted January 24, 2013 What countries do you sell to? i.e. what countries do you have set up for selection at customer registration? Link to comment Share on other sites More sharing options...
tomino015 Posted January 24, 2013 Author Share Posted January 24, 2013 Thank you for your answer. Right now, I have a setting to sell worldwide. And to every country, I have set default currency Eur. Though doesn't work this way.. Link to comment Share on other sites More sharing options...
El Patron Posted January 24, 2013 Share Posted January 24, 2013 I always take a look at these sort of posts because I have a couple modules that allow you to localize. For you the geo targeting pro module would solve your issue, i.e. if from eeuu, you can have the default currency set to usd. You can do this for any number of countries/currencies you have defined in your native prestashop...See my signature and make sure to check out the user guide.. That being said, while you are visiting my site, change currencies, and tell me if you notice something cool about the decimals. This is a new module and solves the issue of currency conversion with decimal values. Link to comment Share on other sites More sharing options...
passie Posted January 26, 2013 Share Posted January 26, 2013 in the blockcurrencies.tpl file is a javascript function javascript:setCurrency({$f_currency.id_currency}, whic is called when you change the currency manually when picking one. I assume one could call this function from somewhere when the user opens the front page for the first time or so. No idea where to put it exactly though, (and make sure it's only done one time. Otherwise the user gets annoyed when it changed it manually to another currency!) Anyone any idea where to put it? My 2 cents, Pascal Link to comment Share on other sites More sharing options...
PascalVG Posted January 28, 2013 Share Posted January 28, 2013 Looks like frontcontroller.php initiates the currency. It reads it from a cookie, if it exists. Not sure though where it is set to a 'default' when the cookie doesn't exist yet. This seems to be the place to change it to your wished for currency, as it sets it one time only, when initializing for the first time. Link to comment Share on other sites More sharing options...
SteliosAl Posted February 1, 2013 Share Posted February 1, 2013 Guys please help with my currency block issue posted here: http://www.prestashop.com/forums/topic/221234-prestashop-1531-currency-block-issue/ One of the few bugs that is stopping me from putting my site online! Link to comment Share on other sites More sharing options...
zsedc Posted August 7, 2013 Share Posted August 7, 2013 I have the same problem: http://www.prestashop.com/forums/topic/266553-multistore-and-wrong-front-office-currency/page__p__1330657#entry1330657 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now