cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2: Round up foreign currency. How to do it?

Magento 2: Round up foreign currency. How to do it?

Hi,

In Magento 2, how do we show prices in other currencies than the base currency rounded up?

Thanks! :_)

3 REPLIES

Re: Magento 2: Round up foreign currency. How to do it?

Hi @lisali,

 

You can create another store view and set a different currency (and language if you want but this isn't mandatory).

Then you can set the base currency and the converstion rate.

 

Here's the official documentation: http://docs.magento.com/m2/ce/user_guide/stores/currency-overview.html

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Magento 2: Round up foreign currency. How to do it?

Hi,

 

Thanks for your message, but I'm asking specifically about currency rounding. For example, when foreign currencies are calculated using today's exchange rate, the price may be shown as $14.40. I want that to show as $15. How do I do that?

 

Many thanks! Smiley Happy

Re: Magento 2: Round up foreign currency. How to do it?

Sorry, my bad.

 

I'm not sure that you can achieve that behavior just by configuration. (I'm pretty sure that you won't get it at least you change code).

This won't be just a visual change. You'll need to apply the round up everywhere becasu the payment gateways, ,etc ,etc.

 

I have no idea but I guess that you shold start to investigate inside Magento\Directory\Model\PriceCurrency or somewhere near there.

 

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"