BackToBilling.php 592 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\Multishipping\Controller\Checkout;
  8. use Magento\Multishipping\Model\Checkout\Type\Multishipping\State;
  9. class BackToBilling extends \Magento\Multishipping\Controller\Checkout
  10. {
  11. /**
  12. * Back to billing action
  13. *
  14. * @return void
  15. */
  16. public function execute()
  17. {
  18. $this->_getState()->setActiveStep(State::STEP_BILLING);
  19. $this->_getState()->unsCompleteStep(State::STEP_OVERVIEW);
  20. $this->_redirect('*/*/billing');
  21. }
  22. }