SaveBilling.php 664 B

12345678910111213141516171819202122232425
  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\Address;
  8. class SaveBilling extends \Magento\Multishipping\Controller\Checkout\Address
  9. {
  10. /**
  11. * @return void
  12. */
  13. public function execute()
  14. {
  15. if ($addressId = $this->getRequest()->getParam('id')) {
  16. $this->_objectManager->create(
  17. \Magento\Multishipping\Model\Checkout\Type\Multishipping::class
  18. )->setQuoteCustomerBillingAddress(
  19. $addressId
  20. );
  21. }
  22. $this->_redirect('*/checkout/overview');
  23. }
  24. }