Documentation/Print Invoice, Packing Slip, Delivery Note & Label for WooCommerce/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

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.

  • Was this article helpful?
  • YesNo