2

I have created provision for customer to be able to select a shipping address before login in. And I would like only that shipping address to appear and don't want customer to be able to change it to any other shipping address or add any new address.

I am not able to find from where the address collection is coming where I can write my code to restrict it returning only the previously selected address.

1

If I understand correctly, you can do this by (just) configuring the settings in Stores > Configuration > Sales > Multishipping Settings and turn those off.

  • Thank you, but I would like to have only one address displayed during checkout. And that address may not necessarily be the default address. So I would need to some logical modification from where Magento is fetching shipping address in checkout page – Dharam Nov 11 '16 at 3:12
  • @Dharam - I also want to show only one address in checkout page. Did you find a solution. – Lasantha Apr 18 '18 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.