Boost your customer loyalty effortlessly Learn more

Shopping cart

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

magento-2-tutorial
how-to
add
order
ID
customer
IP
address

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

Ref: Magento 2 user guide.

PDF Invoice samples for Magento 2

mageplaza pdf invoice

Want to apply these above Invoice templates for your store?

See how

Please leave comments if you have any questions, feedbacks.

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

You also may like these Magento 2 Extensions

One Step Checkout

$199
77 reviews

Layered Navigation

$99
44 reviews

SEO

FREE
29 reviews

Better Blog

FREE
58 reviews

Gift Card

$199
5 reviews

Reward Points

$149
4 reviews

Affiliate

$149
12 reviews