To Get real order ID from order increment id in Magento: lets assume your order increment id is #

Copy to Clipboard

You can get order details by order increment ID as follow:

Copy to Clipboard

If you know the real order ID you can get order details by using following code:

Copy to Clipboard

About Author:

Kalpesh Chavada

Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.

Kalpesh Author