Remove WooCommerce prices without XX.00 decimal places
Remove WordPress WooCommerce Decimal Places Decimal Places 00

Ugly and without added value are the .00 at the end of round prices. Especially for sales psychological reasons (neuromarketing), prices with .00 decimal places should not be displayed in the WooCommerce shop, or should be displayed without the decimal places.

Simply hide .00 decimal places in the WooCommerce shop

Under „General“ in the WooCommerce settings, there is a section called Currency Options (at the very bottom). Here you can set the business currency and how the currency symbol should be positioned. You can also specify how many decimal places prices should be displayed with.

Wordpress Woocommerce Dezimalstellen Einstellungen

At first glance, this setting seems to be just a display option. A setting that makes your prices look a little nicer. However, setting the decimal places to 0 can lead to real problems for you and your business! Because two decimal places are standard and mandatory.

Simply remove .00 from prices (decimal places) everywhere in WooCommerce

Fortunately, there are ways to avoid displaying decimal places as long as they are whole number prices. Set the decimal places in the currency settings to 2 and insert this code snippet into your theme’s functions.php or a separate plugin.

add_filter( 'woocommerce_price_trim_zeros', '__return_true' );

Simply insert this code into the functions.php of the (child) template and you’re done! Alternatively, install the Code Snippets plugin and insert the code there.



With this code, 49.00 will be displayed as 49. If you only have whole number prices in your shop and display prices including VAT, all products as well as shipping costs, VAT, etc. will be displayed with two decimal places, and for whole numbers, without the annoying .00.

Decimal places in WooCommerce

If you set the number of decimal places to 0, WooCommerce rounds product prices. Or more precisely, the ratio between net price and VAT. If you use an external payment provider that sends each order line individually to the payment provider, or has a branch that connects to your accounting / ERP system, the calculation of the order total may differ between the systems.

Therefore, we must leave 2 decimal places in the WooCommerce shop settings, but we can influence with a small function that these decimal places are removed when they are .00.

Why is this even bad?
99.00 Euros look like more than 99, and our brain and our shipping interpret numbers with . or , as always larger, even though they are not.

This has no impact on the calculation of prices and VAT in your shop, but due to psychology, without the need to display unnecessary decimal places, it can lead to more sales through more conversions.

Become more visible on Google & Social Media?

In a free strategy consultation for data-driven online marketing, we uncover your untapped potential, review any existing ad accounts if necessary, examine your SEO ranking and visibility, and determine which strategy is appropriate for your budget and which active measures will lead to more inquiries or sales.

visible-online-marketing-seo-sea-social-media-optimization-consulting-advertising-web

✅ More visibility & perception through targeted placement
✅ More visitors > prospects > customers > revenue
✅ Reach target groups scalably with SEA
✅ Act and grow sustainably with SEO
🫵 Maximum success with our hybrid strategy

💪 More than 15 years of experience across industries in over 1,000+ projects demonstrable!

Request a marketing strategy consultation now

and become sustainably visible!

High Performer Europe Agency Logo
trusted shop partner qualified expert
Google Partner
Bing Ads Microsoft MSA Partner Badge Agency Pictibe
Meta Business Partner Social Media Ads Agency Badge
Seo Top 100
Wa Advertising Agency De

If you are interested in „More sales with sales psychology“, please visit our dedicated subpage on Neuromarketing in online marketing.

As a WordPress & WooCommerce agency, we are happy to help you with other topics, questions, and problems.

Florian Ibe

Your contact partner for WordPress & WooCommerce shops:

E-Mail: fi@vastcob.com

Florian Ibe



The 5 best tips for WordPress
Register now and secure these valuable free tips like 968 others!
Florian
Florian
has found his calling through passion. Fundamentally honest and direct, he advises everyone from sole proprietors to founders and startups, as well as business and management levels of SMEs. As a consultant, he understands how to reduce complex relationships to their essence and develop a direct message for customers and employees with a sustainable strategy and optimization.

Leave a Reply

Your email address will not be published. Required fields are marked *


Probably the newest best tool & software offers with a lifetime license

Our recommendation:

Screenshot of bit.ly

Pay once for software access & enjoy it for a lifetime