This extension leaves products from chosen product categories or product tags out of the documents issued by the Pro plugin, for example gift cards or products invoiced elsewhere.

After buying this extension, you’ll need to install it on your website and then activate it by inserting the license key from the email you got when you bought the plugin, or from your account on our plugin store, in the plugin settings at WooCommerce > InvoiceXpress Pro > Licensing and API > Exclude categories/tags License key.

Then edit each category at Products > Categories, or each tag at Products > Tags, check Exclude term from invoicing and save. Order lines with a product in an excluded category or tag are left out of the documents.

Excluding a parent category does not exclude products that are only in its subcategories: exclude each subcategory you want left out.

For developers

To exclude the products only from some document types, use the invoicexpress_woocommerce_exccat_exclude_types filter: it returns the document types the exclusion does not apply to (see this example).

What happens if the license expires?

If this extension’s license expires, the extension keeps working with the exclusions already saved, and you stop receiving updates and technical support for it. The Exclude term from invoicing option on categories and tags stays visible but read only until the license is renewed, and the license key can always be changed. While the license of the Pro plugin itself is expired, the option is read only too.