How to Add Order ID, Customer IP Address in Invoice in Magento 2

The Most Popular Extension Builder for Magento 2

With a big catalog of 234+ extensions for your online store

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

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

How to Add Order ID Customer IP Address in Invoice

  • Open the Shipment section
  • Choose Yes for Display Order ID in Header

How to Add Order ID Customer IP Address in Invoice

  • Open the Credit Memo section
  • Choose Yes for Display Order ID in Header

How to Add Order ID Customer IP Address in Invoice

  • 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.

How to Add Order ID Customer IP Address in Invoice

  • Choose No for Hide Customer IP
  • When complete, click Save Config.

If it’s hard to customize the invoice template, we’d highly recommend the best PDF Invoice solution here

Related topics

Looking for
Customization & Development Services?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service

Explore Our Products:

Subscribe

Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

comment
iphone
go up