Hide additional fields in invoice (pro version)

[ad_1]

= 1.3.8 =
* Fix: Display custom checkout fields in email by default

Because of this change, few lines were removed in class-wooccm-fields-invoices.php, and those are checks if field should be shown in invoice:

empty($field[‘hide_invoice’])

Because of that, those fields are now visible in invoice no matter what. They are set as hidden fields in invoice and that worked fine until this version. So, it seems that this change simply ignores your settings for that field. Adding this code back, it solves the issue.
So, is there a new way to hide the fields from invoice, or is this a bug?
Here is screenshot on how my Display tab looks like for my field that’s visible in the invoice:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer