Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Shipping.php
Go to the documentation of this file.
1 <?php
8 
11 
13 {
19  public function execute()
20  {
21  if (!$this->_validateMinimumAmount()) {
22  return;
23  }
24 
25  if (!$this->_getState()->getCompleteStep(State::STEP_SELECT_ADDRESSES)) {
26  return $this->_redirect('*/*/addresses');
27  }
28 
29  $this->_getState()->setActiveStep(State::STEP_SHIPPING);
30  $this->_view->loadLayout();
31  $this->_view->renderLayout();
32  }
33 }
_redirect($path, $arguments=[])
Definition: Action.php:167