How To Add Reference IDs To Header In Magento 2 Sales Document

Posted by

In the header of sales documents that accompany an order, the Order ID and customer IP address can be included. In Magento 2 default, both the Order ID and customer IP address display in the header of invoices, credit memos, and shipment packing slips.

PDF Print-outs add referrence ids magento 2
PDF Print-outs

In this post, we will show you how to add reference IDs to Header. There are two part in this tutorial: change the Order ID settting and change the customer IP address setting.

Follow these steps to change the Order ID settting:

  1. On the Admin sidebar, click Stores. After that below Settings, select Configuration.
  2. In the panel on the left below Sales, select PDF Print-outs.
  3. Open the Invoice tab.
Invoice add reference IDs magento 2
Invoice
  1. Set Display Order ID in Header following your preference.
  2. Repeat for the Shipment and Credit Memo tabs.
  3. Click Save Config after completed.

Follow these steps to change the customer IP address setting:

  1. On the Admin sidebar, click Stores. After that below Settings, select Configuration.
  2. In the panel on the left below Sales, select Sales.
  3. Open the General tab.
General add reference ids magento 2
General
  1. Set Hide Customer IP to your preference.
  2. When complete, click Save Config.

Above is a tutorial on how to change the Order ID setting and the customer IP address setting. We hope that you can find the way to to add reference IDs to Header using information from this post. If you have any question, feel free to leave a comment. Like, share the post if you find useful information in this article. Don’t forget to subscribe Mageguides to read more tutorial post. In the next article, we will describe the Address Templates and how to change the order of address fields in Magento 2 Customer Address Templates. Thanks for reading this post.

Leave a Reply

Your email address will not be published. Required fields are marked *