Magento Tutorials

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

Hello Magento Friends,

Today’s article is about How to Add Order ID, Customer IP Address in Invoice in Magento 2. In case you missed checking out on our previously published blog, Set up Free SMS Notification for Magento 2 store.

Introduction:

Order ID and Customer IP Address play an important role in uncommon situations. Supposingly, you have more than one customer with the same name. In this situation, there is difficulty in identifying the order documents of a particular customer. If you have an order ID and customer IP address the task becomes simple and smooth.

Order ID and Customer IP Address are shown in the documents like invoice, shipment and credit memo. Here are the steps for How to Add Order ID and Customer IP Address in Invoice in Magento 2.

Steps to Add Order ID in Invoice in Magento 2:

Step 1: From the Admin Dashboard, navigate to Stores > Settings > Configuration.

Step 2: From the left pane, expand the Sales option and select PDF Print-outs.

Step 3: Enlarge the Invoice tab and set Yes to Display Order ID in the Header field.

Step 4: Enlarge the Shipment tab and set Yes to Display Order ID in the Header field.

Step 5: Enlarge the Credit Memo tab and set Yes to Display Order ID in the Header field.

 

When done, click Save Config.

Steps to Add Customer IP Address in Invoice in Magento 2:

Step 1: From the Admin Dashboard, navigate to Stores > Settings > Configuration.

Step 2: From the left pane, expand the Sales option and select Sales.

Step 3: Enlarge the General tab and set No to Hide Customer IP field.

At last, click Save Config.

Conclusion:

Thereby, you can add order ID and customer IP address in the invoice in Magento 2. If you face any challenges with the implementation of the above steps, just mention them in the comment part below. Share the tutorial with your Magento friends to help them out. For more Magento solutions stay in touch with us.

Happy Reading

Click to rate this post!
[Total: 4 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer?‍? and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy? & Helping? Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books? or Traveling?. Also, he is Speaker at Magento Meetups.

Recent Posts

How to Add Tooltip in Checkout Shipping Field in Magento 2?

Hello Magento Friends, In today’s blog, I will explain How to Add Tooltip in Checkout…

3 days ago

How to Integrate and Use MongoDB with Laravel?

MongoDB is a popular NoSQL database that offers flexibility and scalability when handling modern web…

4 days ago

NodeJS | Callback Function

In NodeJS, callbacks empower developers to execute asynchronous operations like reading files, handling requests, and…

5 days ago

How to Show SKU in Order Summary in Magento 2?

Hello Magento Friends, In today’s blog, we will learn How to Show SKU in Order…

7 days ago

Best Colors to Use for CTA Buttons

The "Buy Now" and "Add to Cart" buttons serve as the primary call-to-action (CTA) elements…

1 week ago

Magento 2: How to Save Custom Field Value to quote_address for Multi-Shipping Orders

Hello Magento Friends, In Magento 2, the checkout process allows customers to choose multiple shipping…

1 week ago