Are you looking to add order ID in invoice in Magento 2? Or may be looking to add an IP address in invoice in Magento 2?
Whatever the way, you are adding more information to the invoice. Giving the invoice more search attributes so one can easily find the invoices.
In this quick tutorial, we will learn to add order ID and customer IP address in Invoice.
How to Add Order ID in Invoice?
Follow the steps to Add Order ID in Invoice:
- Login to Magento dashboard
- Navigate to Stores > Settings > Configuration
- Select PDF Print-outs from the Sales under left panel
There would be Invoice, Shipment, and Credit Memo sections. Enable Order ID in all sections by selecting Yes from the dropdown menu.
Click Save Changes to save the changes.
How to Add Customer IP Address in Invoice?
Follow the steps to Add Order ID in Invoice:
- Login to Magento dashboard
- Navigate to Stores > Settings > Configuration
- Select Sales under the Sales section from left side panel
- Expand the General section
Select the No from the dropdown to show the IP address in invoices.
Click Save Changes to save the changes.
Why Add Order ID and IP Address in Invoice in Magento 2?
Adding Order ID and IP Address in invoices adds a new dimension to the customer’s information and helps in segmentation.
Let’s say there are two customers with the same name ordering the same products. Wouldn’t it be difficult to find one?
In that case, you can use Order IP or customer IP Address to narrow down the search and find the individual customer.
More Tutorials:
- 6 Types of Products in Magento 2
- How to setup Advanced Pricing in Magento 2?
- How to Change Favicon in Magento 2 Store?
End Note
That’s it. You have successfully added the Order ID and IP Address in invoice in Magento 2.
If you encounter any error following this tutorial, please let me know in the comment section.