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

Trailing zeros cut off even when they are part of the price #2015

Closed
szlegradi opened this issue Dec 18, 2012 · 1 comment
Closed

Trailing zeros cut off even when they are part of the price #2015

szlegradi opened this issue Dec 18, 2012 · 1 comment

Comments

@szlegradi
Copy link
Contributor

Hello,

I have found an interesting thing while building a shop with WooCommerce.

My price formatting options are the following:

Currency position: right (with space)
Thousands separator: [space]
Decimal seperator: .
Number of decimals: 0
Trailing zeros: checked

If I add a product to the cart that ends with zeros (for example 40 000 HUF), everything looks fine (in the cart and on the order review page) until I click the order button. On the thank you page it shows only 4 HUF and this value gets recorded to the database as well.

If I change the price to 40 005 HUF then it is working correctly.

For now, I've changed the number of decimals to 2 so it works, but I don't really want to show these.

I am using WordPress 3.4.2 and WooCommerce 1.6.6 and tried it with the default theme and a custom theme (Flexishop - http://themeforest.net/item/wp-flexishop-2-a-flexible-woocommerce-theme/2080989).

@mikejolley
Copy link
Member

Fixed in 2.0

kalessil pushed a commit that referenced this issue Jun 30, 2021
…2015)

* Add "update business details" task to the main setup task list.

* Add CTA text for task.

* Incomplete tasks should be in the WC Admin extension list.
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

2 participants