All things Shopify and commerce
Hello All,
I'm facing an issue with my website when it displaying the currency it shows it with 3 digits,
For Example Total Price: 30.490 and I want to round the currency based on the below role :
- 30.52 first number after the dot >= 5 round to ceil so it became: 31
- 30.44 first number after the dot < 5 round to floor so it became: 30
I don't want my currency to be shown as decimal places, I want it to be shown as rounded to the nearest whole number but based on the mentioned role.
Do you want to show rounded prices on the product pages but still keep the decimal part at checkout? If so then you can change the currency formatting in general settings to use {{amount_no_decimals}} instead of {{amount}}.
However, if you want to have rounded prices also at checkout, then you'd need to update your product prices in the Shopify admin. How many products do you have and how often do the prices change? If it's too much of manual work then I can help you to automate rounding the prices.
@LukaszWiktor Thank you so much for your support, to be honest, I'm using a multi-currency on my website the main one which is the USD already rounded as the previous steps u have mentioned
but when I switch the currency it keeps showing without rounding.
I mean in USD it Rounded but in other currency, it's not. what do u think
Oh, I see. Do you use an app for multi-currency? Or do you use multiple currencies in Shopify Payments?
I'm Using multiple currencies in Shopify Payments, what do u think?
Also, do u have any steps to optimize the speed of my website?
If you are using Shopify Payments then you can use rounding rules.
As for the page speed, it depends on the theme you use and installed apps. What's your website URL?
@LukaszWiktor Thank you so much for your kind support but, Is there's any other possible way as we have added the multi-currency by the "theme application" we used,
is it do-able by your side?
my web site URL:
what do u think?
I've just sent you an access request from my Shopify Partner dashboard. I can have a look if it's possible to fix the currency rounding on your website.
Approved can u plz check and let me know
@LukaszWiktor also, you may need to change on theme.js code supported by the theme application?
Thanks @waelzawa. I updated the currency formats in your theme file. Prices in JOD and IDQ are now being displayed in full amounts (no decimal digits).
@LukaszWiktor BTW, Have u checked the speed of our website? what do u think?
The speed is super low, Do u have any suggestions to improve the speed of the website?
please let me see your feedback regarding this.
Thank you so much.
Thank You for your help, i used it for my store and it solved my problem and i have been looking for this solution for a very long time.
Really appreciate your good work.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024