need4speed Posted August 13, 2010 Share Posted August 13, 2010 I have added 2 currencies to my webshop DKK and EURO - DKK is the standard euroBut It should only be possible to pay in DKK.Is that possible? Link to comment Share on other sites More sharing options...
rocky Posted August 14, 2010 Share Posted August 14, 2010 If you want both DKK and EURO in the Back Office, but only DKK in the Front Office, go to Payment > Currencies and set the default currency to DKK, then go to the Modules tab and uninstall the currency block. Customer will then use DKK and not be able to change the currency to EURO.Alternatively, if you want the customers to be able to view prices on your website in DKK and EURO currencies, but only pay with DKK, then go to the Payment tab and untick EURO for every payment method in the "Currency restrictions" section. Link to comment Share on other sites More sharing options...
need4speed Posted August 14, 2010 Author Share Posted August 14, 2010 Yeah I saw it was possible if you change the restriction settings.But If the customer change from DKK to EURO and then go the checkout the system willl say something like:There isnt any payment option for this country.So then he need to switch back to DKK before he can pay but that is not very userfriendly and Im sure alot of customers will quit the webshop because of that. Link to comment Share on other sites More sharing options...
rocky Posted August 14, 2010 Share Posted August 14, 2010 There are two things you could do to solve that issue. You can change the message to tell the customer to switch the currency before checking out, or you can wriite code to automatically switch the currency, though that may be confusing for the customer. Link to comment Share on other sites More sharing options...
need4speed Posted August 15, 2010 Author Share Posted August 15, 2010 Is it something you can mak for me? for money of cause. Its a little urgent before the shop can launch. Link to comment Share on other sites More sharing options...
rocky Posted August 15, 2010 Share Posted August 15, 2010 It should be a simple change to your shop. Which of the two options do you want done? Link to comment Share on other sites More sharing options...
need4speed Posted August 16, 2010 Author Share Posted August 16, 2010 The coding solution. Where it switch automatic to dkk. Link to comment Share on other sites More sharing options...
rocky Posted August 16, 2010 Share Posted August 16, 2010 Change line 417 of order.php (in PrestaShop v1.3.1) from: $cookie->checkedTOS = '1'; to: $cookie->checkedTOS = '1'; $cookie->id_currency = 2; Change 2 to the ID of the DKK currency. Link to comment Share on other sites More sharing options...
need4speed Posted August 16, 2010 Author Share Posted August 16, 2010 I will test it.Thanks Link to comment Share on other sites More sharing options...
need4speed Posted August 16, 2010 Author Share Posted August 16, 2010 Im using the One Page Checkout v1.1.6 module.So I guess its a different file which I need to edit. But it seems also like the code is called something else.Have you experience with this One Page Checkout extension? Link to comment Share on other sites More sharing options...
rocky Posted August 16, 2010 Share Posted August 16, 2010 No, I don't. I'm not sure how it's implemented. That makes it hard to help. I guess you'll have to make the entire checkout DKK instead of just the payment step. Is it possible for you to disable the currency option so that DKK is the only option, then write code that displays the price as both DDK and EURO? Link to comment Share on other sites More sharing options...
need4speed Posted August 16, 2010 Author Share Posted August 16, 2010 Yeah that could be an option.But I think there will be too many prices if I have both prices activated on the same time.Because I also have the price with and without taxes. Link to comment Share on other sites More sharing options...
need4speed Posted August 16, 2010 Author Share Posted August 16, 2010 I just got an idea maybe its possible to run the currency change script on the order.php page.[removed]setCurrency(1)[removed] Then it will allways change to DKK. Link to comment Share on other sites More sharing options...
utopiasl Posted April 27, 2011 Share Posted April 27, 2011 Dear Rocky,I too need the exact same solution. I want my customers to browse my catalog in their own currency (as it will be easier for them to compare prices this way), but once they order and confirm, the eventual payment will only be in my default currency.I tried to do the changes you mentioned, but I am using prestashop v1.4 so the coding was totally different. Could you please update your answer to match the new version?Thank youUditha Link to comment Share on other sites More sharing options...
hennoure Posted December 10, 2012 Share Posted December 10, 2012 hi everybody , i'm also very interested in that solution : borwsing in any currency and payement in the default currency . any help ? 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