Hello, ladies and gentlemen! In this article, I’ll show you how to disable cents display in product prices. No coding is needed—at least in WooCommerce versions 5+—just a simple settings tweak. Let me explain how.
Disabling Decimal Prices in WooCommerce
If your store doesn’t require prices with cents, the default format may be annoying.
Here’s how to fix it.
Сначала переходим в панель администратора WordPress → Настройки WC → Основные.
Scroll down to the bottom until you find the “Currency Options” section. Locate the “Number of Decimals” field and set it to zero.
Click “Save Changes.” That’s it! Cents will no longer be displayed in prices.
As you can see, it’s simple — no coding required, despite what some sites may suggest.
That’s all for now. Wishing you all the best and much success!