8 – “+ Enter a new address” drop-down option from payment information not working as expected on order information page


On order information page I have 2 section – “Shipping information” which works ok and “Payment information” which doesn’t work always.

If user is new and doesn’t have any address saved yet, when he reaches order information page that block is working ok. When I check off “My billing information is the same as my shipping information.” checkbox that section unfolds and fields for entering new address are there so in that case it works ok. Drop-down for selecting existing or creating new address is not shown, which is correct I guess, since there is no existing address to select.

But if user already have some address saved in Address book when I get to the same page, uncheck “My billing information is the same as my shipping information” and select “+ Enter a new address” (now drop-down exists, talking about lower, Payment information section) instead of getting a form for entering new address this whole section just folds (closes) and “My billing information is the same as my shipping information.” checkbox becomes checked again?

Basically, when Address book is not empty on order information page is possible to create new address only from upper Shipping information section. Lower Payment information, makes some AJAX call, response is 200, html is there but instead of opening the form for entering new address whole section just folds?!