How to Print Order Invoices PDF / Edit Them

1. Print order invoices

  1. Select ‘Orders’ post type from the drop-down.
  2. Select the orders you want to print.
  3. Click on the ‘Print Invoice’ button at the top.
  4. Adjust the print settings as needed.

All your order invoices will be printed in PDF format.

2. Adding company logo for printing order invoices

  1. Suppose you want to print your order invoices with your company logo on them.
  2. Hover over the ‘Settings’ (gear icon) at the top right corner.
  3. Click on the ‘General Settings’ link from the drop-down menu. This will open a slide-over panel.
  4. Search for Company logo for print invoice setting.

    Company logo for print invoice

  5. Click on the camera icon to open the WordPress media library. You can either select an existing company logo or upload a new one.
  6. Click on Save. That’s it!

All your order invoices will be printed in PDF format having your company logo.

3. Edit order invoice PDF?

All the overridable template files can be found within the /smart-manager-for-wp-e-commerce/pro/templates directory.

The order invoice PDFs are generated via an existing template that is located in the templates directory of Smart Manager. If you want to edit or modify the content or change the layout of the order invoice PDF, there are two ways to do it.

1. Apply change in file (Upgrade-unsafe):

  1. Open file smart-manager-for-wp-e-commerce/pro/templates/order-invoice.php.
  2. Modify its content and style as needed.
    Note: This method is not recommended as you’ll lose all the changes once you update Smart Manager plugin to a new version.

2. Use another template file (Upgrade-safe):

  1. Use your own template in place of the default one provided by Smart Manager.
  2. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.

    Example: To override the PDF template of the invoice,
    copy: wp-content/plugins/smart-manager-for-wp-e-commerce/pro/templates/order-invoice.php to wp-content/themes/yourtheme/woocommerce/smart-manager-for-wp-e-commerce/order-invoice.php.

  3. The copied file will now override the Smart Manager’s default template file.

Smart Manager will use your template file (if found) for generating all order invoice PDFs.

Note: Above mentioned features are available in Pro version only.

Try the live demo