BackToShipping.php 557 B

12345678910111213141516171819202122
  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 BackToShipping extends \Magento\Multishipping\Controller\Checkout
  10. {
  11. /**
  12. * @return void
  13. */
  14. public function execute()
  15. {
  16. $this->_getState()->setActiveStep(State::STEP_SHIPPING);
  17. $this->_getState()->unsCompleteStep(State::STEP_BILLING);
  18. $this->_redirect('*/*/shipping');
  19. }
  20. }