Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2 prices are shown only with one digit after decimal #10

Open
involatus opened this issue Nov 25, 2020 · 10 comments
Open

Magento 2 prices are shown only with one digit after decimal #10

involatus opened this issue Nov 25, 2020 · 10 comments

Comments

@involatus
Copy link

The language Pack changes how the prices are shown on the product page and in the checkout process. The prices are only shown with one digit after the decimal. In the gridview the prices are correctly shown with two digits after decimal.
See screenshot here: https://ibb.co/rkYyG9x

Please contact me to give you a live preview.

@nickw108
Copy link
Member

Thanks for the pointer. This is only a fork from de_DE, not sure if they have the same problem. Let me pull the changes from upstream, then you can test again.

@nickw108
Copy link
Member

If synced from upstream and pushed the changes. May I ask you to check again now?

@involatus
Copy link
Author

I updated the package. I now have openstream/mage2-locale-de-ch | Language | 1.63.0 | Openstream installed.
Sadly the prices are still displayed with only one digit.
With a clean installation and the Ultimo theme this didn't happen.

@nickw108
Copy link
Member

We had the same issue with a client project and installed https://github.com/lillik/magento2-price-decimal to "fix" the problem. Are you sure that the reason is this de_CH module?

@involatus
Copy link
Author

The only other Extensions installed is cleverreach and the utlimo theme. Nevertheless I could fix it as well with this additional extension. Not the prettiest way but it worked. Thank you for your help.

@nickw108
Copy link
Member

I asked my colleague to look into it, but I can't promise anything. If anyone else reads this and wants to debug this further and create a pull request, feel free to do so.

@pixelhed
Copy link

@involatus the problem @nickw108 was referring to was with centos, do you use it?

@involatus
Copy link
Author

@involatus the problem @nickw108 was referring to was with centos, do you use it?

Yes correct, installed version is CentOS Linux 7 (Core)

@nickw108
Copy link
Member

More details here magento/magento2#12090.

@pixelhed
Copy link

@involatus just install https://github.com/lillik/magento2-price-decimal it will fix the problem with Centos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants