How to force base currency to be used at checkout

Started by SarahB, May 19, 2017, 12:27:46 PM

Previous topic - Next topic

SarahB

Hi, I've seen posts from people with a similar problem but no solutions seemed to have so far been offered.
The base currency of my site is euros and the product prices can be displayed in euros or pounds.
What I want to do is force the base currency (euros) to be used at the checkout.
Does anyone know how to do this?
Thanks or your help.
Sarah.

eCommerce Core

If you see similar posts, you can post on of them rather than creating duplicate posts.

Anyways, if you are looking to display prices in multiple currency with switcher, this is currently possible.
If you want to force "Add to Cart" add product with fixed currency, it is not possible without code change.

You can add override for $session['currency'] in cart controller
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/checkout/cart.php

Just need to find appropriate place to do this.


"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

Forum Rules Code of conduct
AbanteCart.com 2010 -