Hi,
There are two solutions:
- if you change your checkout workflow to have the "login" block on its own step, once the user registers/logs in the checkout will automatically move to the next step and that will require a full page change.
- Supposing you have the address and login blocks on the same step, when you register/login, the login block refreshs itself to be empty, and the empty address block refreshes itself to display the address block interface. This last part is done by the code:
window.Oby.registerAjax(['checkout.user.updated','checkout.address.updated'], function(params){
window.checkout.refreshAddress(<?php echo (int)$this->step; ?>, <?php echo (int)$this->module_position; ?>);
});
in the file show_block_address that you can edit via the menu Display>Views.
So you can change that code to:
window.Oby.registerAjax(['checkout.user.updated','checkout.address.updated'], function(params){
window.location.reload(true);
});
It will force the page to reload after the login.