Comments Ramon started the conversation3 weeks ago on August 3, 2025 at 10:21pmHow can I remove decimal points from product prices displayed with FBT?Attached files: Woo - Frequently Bought Together 2025-08-03 ERROR Decimals on Prices.jpg 1,513Dustin replied3 weeks ago on August 4, 2025 at 3:06amHi Ramon, Please add the custom code below. (How to add custom code? ↗): add_filter( 'woocommerce_price_trim_zeros', '__return_true' );Best regards,DustinRamon replied3 weeks ago on August 4, 2025 at 11:01amCan I add that to "Quick CSS"? Otherwise, if adding via Code Snippets, what type of code should I choose?:HTMLCSSJavaScriptPHP 1,513Dustin replied3 weeks ago on August 5, 2025 at 7:55amThis is a PHP snippet and can't be added to Quick CSS. Please add this snippet to the Code Snippets plugin or the theme's functions.php (https://wpclever.net/faqs/add-custom-code/). Best regards,Dustin Sign in to reply ...
How can I remove decimal points from product prices displayed with FBT?
Attached files: Woo - Frequently Bought Together 2025-08-03 ERROR Decimals on Prices.jpg
Hi Ramon,
Please add the custom code below. (How to add custom code? ↗):
Best regards,
Dustin
Can I add that to "Quick CSS"? Otherwise, if adding via Code Snippets, what type of code should I choose?:
This is a PHP snippet and can't be added to Quick CSS. Please add this snippet to the Code Snippets plugin or the theme's functions.php (https://wpclever.net/faqs/add-custom-code/).
Best regards,
Dustin