WooCommerce integration

Order settings

The order PDF document configuration page is located at

WP Admin > WooCommerce > Oxilayer PDF Invoice > Order

The order PDF document can also be used as a proforma PDF.

General Settings

  • Is Active - Enable or disable all functionality related to order PDF. If this option is disabled, all other options below on the configuration page will also be disabled.
  • Next Order ID - Custom order increment ID. This allows you to replace the default WooCommerce order ID. Here, you can set the next order ID and format. Your next order will use this current increment ID and automatically increase by +1 for the next order. All digits must be at the end. Here are some examples: SS-0000001, ORD4000001.
  • Replace Default Order ID with Order Increment ID - replace the default WooCommerce order ID (#95) with a custom order increment ID (ORD4000001).

PDF Template Settings

PDF Template - Here, you can choose a template for the order PDF document. Only templates of the 'order' type are listed here. If the list is empty, you will need to create a new order PDF template at:

WP Admin > WooCommerce > Oxilayer PDF Invoice > PDF Templates > Create New Template

Our extension allows you to use different templates according to payment or shipping methods. We recommend setting a general template for all payment and shipping methods initially and then configuring specific templates if needed.

File Settings

  • Order PDF Name - This is the PDF file name for the order document. You can use the following variables in the file name: {date}, {id}, {increment_id}. The name must include a file extension. The default value is: order_{id}.pdf.
  • Order List PDF name - This is the PDF file name for the order collection, which is used in bulk actions when multiple order PDFs are merged into a single document. Available variable: {date}. The default value is: order_{date}.pdf.

Email Attachment Settings

Here, you can choose the email templates to which the order PDF document should be attached. The list is dynamic and depends on the available email templates.

Frontend UI Settings

  • Display Print Icon in Frontend Order List - enable/disable the print order PDF function on the customer's order list page
  • Display Print Button in Frontend Order View Page - enable/disable the print order PDF function on the customer's order view page.

Admin UI Settings

  • Display Print Icon in Order List - enable/disable the print order PDF icon in the admin orders list 'Documents' column.
  • Display Print Button in Order View Page - enable/disable the 'Print order' button in the admin order view page.