How to Add Order ID and IP Address in Invoice in Magento 2?

How to Add Order ID in Invoice in Magento 2

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:

  1. Login to Magento dashboard
  2. Navigate to Stores > Settings > Configuration
  1. 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:

  1. Login to Magento dashboard
  2. Navigate to Stores > Settings > Configuration
  3. Select Sales under the Sales section from left side panel
  1. 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:

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.

Latest Magento Tips, Guides, & News

Stay updated with new stuff in the Magento ecosystem including exclusive deals, how-to articles, new plugins, and more. 100% Magento Goodness, a promise!

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top

🎉 CYBER MONDAY SAVINGS 🎉

75% OFF on
ALL PLANS

Receive the coupon as soon as you
submit the email address. 🚀