How to prevent rounding during currency conversion to GBP in my store?

How to prevent rounding during currency conversion to GBP in my store?

trihemm41
Visitor
1 0 0

Hi Everyone - 

 

We have a store that is based in Euros, and we would like to also offer GBP. I have it set up so that we can use GBP, however when you set currency conversion per shopify's help page, it auto rounds the GBP to the nearest Pound - Shopify does make that clear, so it's not a surprise, just unwanted. This throws off the price by more than we want it to. Is there a snippet of code I could add somewhere to prevent rounding when converting to GBP? 

 

Here is the help page I'm referencing : https://help.shopify.com/en/manual/payments/shopify-payments/multi-currency/conversions

 

Thanks!

Replies 17 (17)

Brie
Shopify Staff
571 48 113

Hi, @trihemm41

 

Thank you for reaching out to the community about this. At the current time, these rounding rules are set when selling in multiple currencies with Shopify Payments. This is because it keeps the prices stable and consistent between different currencies; as well, these will always round up (not down) so that you aren't losing any funds.

 

If you'd like to send along your store's URL here, I would be happy to input a feature request for you so that the team knows this is something you'd like to be able to change on the platform. Let me know if you have any further questions about that! 

Brie | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Rianne_Zuijderd
Excursionist
12 0 7

At the current time, these rounding rules are set when selling in multiple currencies with Shopify Payments. This is because it keeps the prices stable and consistent between different currencies; as well, these will always round up (not down) so that you aren't losing any funds 

I wish this was true, but not all currencies are consistent in rounding. Almost every currency that I use in my shop rounds up which is great, except for the EURO currency which for some reason is set in Shopify to round to .95 instead of .00

This is really strange and not consistent, plus it's not suitable for my higher priced items and looks kinda cheap. Is there any way around this? Can you perhaps also make a feature request for my shop? @Brie

Thanks!

Brie
Shopify Staff
571 48 113

Hi, @Rianne_Zuijderd!

This is expected behaviour - if you navigate to Settings > Payments > Manage (under Shopify Payments), you can scroll down to the Enabled Currencies section and click on Euros. This should display that prices in Euros will be rounded up to the nearest price ending in .95. This recommendation is based on EUR pricing preferences, however you are able to change this rounding rule if you wish. Currently custom rounding rules are available if you are on the Shopify, Advanced Shopify, or Shopify Plus plans. Let me know if you have any further questions about that. 

Brie | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Smeelah
Navigator
374 1 116

Hi Brie,

 

How exactly would I change the rounding rules for Euro so that it rounds up to 1.0 and not .95? The current setting is causing me some problems but I only see the option to adjust the exchange rate and not the rounding rules.

 

Thank you!

 

Catrine
Visitor
1 0 1

Hello! 
Is there any updates on making the automatic rounding not go up and making things "more expensive" in another currency.

We are a company based in both Finland (EUR) and Sweden (SEK) and has chosen to communicate all our RRP to B2B customers as 100 SEK / 10 EUR. But now, If I sell something on the website for 100 SEK it will appear as 10,25 EUR. It would be fine on more expensive items seeing as the added 0,25 EUR is so small in comparison but when we sell little things (our cheapest item will be 20 SEK / 2 EUR) it will actually put the price point significantly higher. 

Is there a workaround?

Our site isn't live and is currently password protected, otherwise I would write out the URL here. 

birdietam
Tourist
6 0 39

I also sell from Sweden and the rounding significantly changes my prices for my low priced items. Please allow us a way to round to the nearest tenth instead of whole number.

Emily
Shopify Staff (Retired)
1457 105 199

Hey, @birdietam.

 

Thank you for connecting with us and bringing this to our attention.

 

Currently, we do not have a way to change the rounding process from the nearest whole number to the nearest tenth. I have provided this feedback to our team as I understand how important this feature is and how helpful it would be for your business. I did, however, find a currency converter app that allows advanced price rounding that should allow you to change the rounding to the nearest tenth. I recommend looking into this app to see if it has all the features you are looking for, as this would be the best option for you right now. 

 

Please let me know if you have any further questions!

 

Emily | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Smeelah
Navigator
374 1 116

Hi @mingw 

I used your code and find it helpful to both display the simpler rounded price on the site, while charging the customer the true lower price.

 

However, I hoped to removed the trailing zeroes while displaying the rounded price but I also need to show the currency code. Particularly as my shop is in Canadian dollars and I often sell in US dollars. Is this not truly not possible?

 

"Make sure to turn off Show currency codes in your theme settings, as Shopify's "money_with_currency" filter auto-adds trailing 0s when adding currency codes to foreign currencies."

mingw
Shopify Partner
12 1 6

If you choose to show currency code there are specific trailing rules to follow for every currency (e.g., two trailing 0s for USD, no trailing 0s for JPY), and hence Shopify by design won't let you set your own rules if Show currency codes is enabled.

Smeelah
Navigator
374 1 116

...which are not necessary when rounding (except in the checkout), but alas.

 

Thank you for confirming that limitation!

Levia
Excursionist
15 0 3

Hi Mingw, I tried to follow your directions have the EURO rounded to .00 instead of .95 but couldn't find a file price.liquid. I only found a file unit-price.liquid and this is the code from it:

 

{%- if variant.unit_price_measurement -%}
{%- capture unit_price_base_unit -%}
{%- if variant.unit_price_measurement -%}
{%- if variant.unit_price_measurement.reference_value != 1 -%}
{{- variant.unit_price_measurement.reference_value -}}
{%- endif -%}
{{- variant.unit_price_measurement.reference_unit -}}
{%- endif -%}
{%- endcapture -%}
<div class="unit-price {{ class }}">
<span class="unit-price__price theme-money">{{ variant.unit_price | money }}</span>
<span class="unit-price__separator">{{ 'products.product.unit_price_separator' | t }}</span>
<span class="unit-price__unit">{{ unit_price_base_unit }}</span>
</div>
{%- endif -%}

 

 

I'm using the Shopify Markets and would love the EURO to round up to .00. 

I already talked with Shopify customer service and they were clueless and just told me maybe in future is possible. 

Would appreciate any help. Thanks!

Levia
Excursionist
15 0 3

So I re-read your post and if I understand correcty it's actually to remove the dicimals instead to round to .00? is that correct? In any case I'm happy with either option.

mingw
Shopify Partner
12 1 6

The first step is about rounding, and the second step is about removing trailing decimals. Unfortunately, both steps need to be done in price.liquid, so changing things in unit-price.liquid won't make any difference.

 

If you can't find price.liquid, I suggest you set customized integer prices for Euro markets instead in Shopify Markets.

Levia
Excursionist
15 0 3

Thank for the reply. Also the worry for the Euro would be that if it gets rounded to .95 instead of .00 removing the decimals would not show the .95 but the customer would still be charged that. Am I correct? But yet it seems like I need to just custom set the Euro prices. 

Also if my Theme (Symmetry 2.0) code doesn't have price.liquid section in the code, where would all this code be alternatively?

 

Thank you 🙂

 

mingw
Shopify Partner
12 1 6

Yes, the customer will still be charged .95. Shopify does not allow customization for the price displayed at the checkout.

For paid third-party themes such as Symmetry it's better to consult the theme developer about this.

N3ur054p13n
Visitor
1 0 0

This rounding issue is problematic... Because the prices are not accurate and in my case I have noticed the auto conversion across different currencies is off by over $10 dollars.. I'll explain a little. Say I have a product listed in USD for $49.95. my selling price for AUD would be $76.49 based on the direct exchange rate, with rounding it would be $77AUD yet Shopify payments is changing this price to $63AUD. Now if I convert back to USD I get $41.14USD. Selling this product to Australian audiences loses me around 9 dollars profit per unit according to how Shopify is handling the currency conversion. I have tried uploading fixed prices via CSV for each market I'm selling in but the prices are not showing when viewed on the browser.