Hi @henrihappy,
I’m really sorry about my confusion.
The setting that controls this lives in WooCommerce > Settings > Tax, where you most likely have “Yes, enter prices inclusive of tax” selected & “Display prices during cart and checkout” set to “Excluding tax”.
To give you more information, WooCommerce support may not have been entirely accurate when they said it was a PDF invoice issue because we actually get that information directly from WooCommerce itself, formatted like that.
You could remove the text with the following code snippet, though please note that this will remove the suffix from other parts where WooCommerce displays this as well (on the my account order page and in the emails). With that said, here’s that sweet snippet:
add_filter( 'woocommerce_order_subtotal_to_display', function( $subtotal, $compound, $order ){
return preg_replace('/<small[\s\S]+?small>/', '', $subtotal);
}, 10, 3 );
If you haven’t used hooks before, read this guide: https://docs.wpovernight.com/general/how-to-use-filters/
-
This reply was modified 3 years, 9 months ago by Darren Peyou.