This documentation is for the older version of the WooCommerce PDF Invoices, Packing Slips, Delivery Notes, and Shipping Labels plugin. If you are using the new version of the plugin, please note that this documentation no longer applies to you. Find the relevant documentation from here :

WooCommerce PDF Invoices, packing slips and credit notes plugin | WooCommerce Shipping labels, Dispatch labels and Delivery notes plugin | WooCommerce Address labels plugin | WooCommerce Picklists plugin | WooCommerce Proforma invoices plugin | Customizer for WooCommerce PDF Invoices

Home > Docs > WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels > How to Provide ‘WooCommerce Invoice/Packing slip’ Print Access for Custom User Roles

How to Provide ‘WooCommerce Invoice/Packing slip’ Print Access for Custom User Roles

Last updated on November 12, 2024

By default, the WooCommerce PDF Invoice/Packing Slip plugin allows document print provisions only for admin or users with access.

There can be instances where normal users, other than the admin, need provisions for printing documents. In that case, one can make use of the below-given code snippet to provide print access for respective users.

Go to Appearance > Editor > Theme Functions (functions.php) and insert the following code snippet.

‘WooCommerce PDF Invoice/Packing Slip’ plugin along with the above code snippet, will allow you to grant print permission for required user roles.