Skip to content

Magento2 how to show custom addresses in shipping address at checkout page with module

How can I override the shipping block and show my custom shipping addresses there with the module?

I have one custom table which has addresses with website id. I need to display that address in the shipping address section website-wise. It will show the address to the user which are related to that website on the checkout page.

i.e. if i have 2 address in my custom table for website dev. then
when I come to the checkout page of the dev website. I need to show that 2
addresses there for the user to select anyone and do the checkout
process.

I have multiple addresses that need to be shown in front, so, user can select any one and go through.

I have one idea that I want to override the shipping address block and show there drop down of all addresses which are saved, then on the selection of address filled the shipping address form in hidden and fire save shipping address event. will it be useful?