How to Add Order ID, Customer IP Address in Invoice in Magento 2
August 19, 2019
- 1 min read
In this post, you will be instructed how to add Order ID and Customer IP Address in Invoice in Magento 2. The order ID and customer IP address will be shown in the header of sales documents like invoice, shipment and credit memo. Just follow the simple guide to allow displaying Order ID and Customer IP in your sale documents.
How to Add Order ID, Customer IP Address in Invoice in Magento 2
How to display the Order ID
- On the Admin panel, click Stores > Settings > Configuration.
- In the panel on the left under Sales, select PDF Print-outs.
- Open the Invoice section.
- Choose Yes for Display Order ID in Header
- Open the Shipment section
- Choose Yes for Display Order ID in Header
- Open the Credit Memo section
- Choose Yes for Display Order ID in Header
- When complete, click Save Config.
How to display the customer IP address
- On the Admin panel, click Stores > Settings > Configuration.
- In the panel on the left under Sales, choose Sales.
- Open the General section.
- Choose No for Hide Customer IP
- When complete, click Save Config.
Comment(s)