Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
133 Vistas

Hello everyone,

I hope you’re doing well.

I’ve created a website where product prices are displayed in two currencies (Dinar and Euro). I’d like to know how I can make the prices appear in Dinars for Algerian visitors and in Euros for French visitors, for example.

Thanks in advance for your help!

Avatar
Descartar
Mejor respuesta

Hi,

You can use Country Groups with Pricelists in Odoo to automatically show prices in the right currency. For example, you can create a pricelist in Euro and link it to a country group containing France, and another pricelist in Dinar linked to a country group containing Algeria. When a visitor from France opens your website, they will see prices in Euros, and when a visitor from Algeria opens it, they will see prices in Dinars. This is the standard Odoo way to manage country-specific currencies without extra coding.


For the setup, the price list refers to the following solved forum that explains how to set the country group to the price list.

https://www.odoo.com/id_ID/forum/help-1/how-to-set-currency-on-website-based-on-country-262004


For more information.


https://www.youtube.com/watch?v=eS7stEuhMSE

https://www.cybrosys.com/blog/how-to-manage-sales-in-customer-currency-with-odoo-18-pricelist


Hope it helps

Avatar
Descartar
Mejor respuesta

Create a Pricelist for each currency in Sales -> Products -> Pricelist and set the Country Group and Website (and Currency) accordingly:


For testing purpose you may set Selectable to true as well, so you can switch the Pricelist directly from within the shop.

Note, for this to work, Odoo needs to know where a customer is coming from. This is either based on the customers address - i.e. it must be a logged in customer with an address - or the IP address (might not be accurate).
See also: https://www.odoo.com/documentation/18.0/applications/websites/ecommerce/products/price_management.html#pricelists

Alternatively you could create a second website with a dedicated Pricelist (and therefore Currency) for each website.

Avatar
Descartar