Remove decimals from Product prices in WooCommerce

Remove decimals from Product prices in WooCommerce 1

Under General Settings in WooCommerce Settings screen, you will find options to set your store Currency, Currency position, Decimal separator and Number of decimals for your store. Here Number of decimals allows you to Choose the number of digits to appear after the decimal separator.

Based on selected option, it will display prices through out your website with decimals (like $ 121.00). In order to remove decimals from displaying in your product price, add below code in functions.php file of your website theme.

Share

Disclaimer: *This post may contain affiliate links. I may earn a small commission when you click on the links and buy the products with no additional cost to you. Thank you.

WooCommerce

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

8 Comments
Oldest
Newest
Inline Feedbacks
View all comments