web stats

Fill the form & Get Installation Support

Connect With Us


Connect With Us


How to get shipping and billing address by id in magento 2?

Here we are going to explain, how to get billing and shipping address by customer id in Magento 2?

We need to create a module for that.

Let’s call it – Magemonkeys_Customeraddress

The next step is to create a block file – Block/Address.php

Then, we need to call block function in phtml file w we can create view/customeraddress.phtml file

Last, but not least, clear your cache to check the output.

Was this article helpful?
Fill the below form if you have any Magento programming need.


Recent Articles

Author Info

Author Image

Hire P. Garchar

Get a Free Quote