Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-multishipping
Controller
Checkout
Shipping.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Multishipping\Controller\Checkout
;
8
9
use
Magento\Multishipping\Model\Checkout\Type\Multishipping\State
;
10
use
Magento\Framework\App\ResponseInterface
;
11
12
class
Shipping
extends
\Magento\Multishipping\Controller\Checkout
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
}
Magento\Multishipping\Controller\Checkout\_getState
_getState()
Definition:
Checkout.php:58
Magento\Multishipping\Controller\Checkout\Shipping
Definition:
Shipping.php:12
Magento\Framework\App\Action\Action\_redirect
_redirect($path, $arguments=[])
Definition:
Action.php:167
Magento\Multishipping\Controller\Checkout
Definition:
CheckItemsTest.php:8
Magento\Multishipping\Controller\Checkout\_validateMinimumAmount
_validateMinimumAmount()
Definition:
Checkout.php:179
Magento\Multishipping\Controller\Checkout
Definition:
Checkout.php:18
Magento\Multishipping\Model\Checkout\Type\Multishipping\State
Definition:
State.php:16
Magento\Multishipping\Controller\Checkout\Shipping\execute
execute()
Definition:
Shipping.php:19
Magento\Multishipping\Model\Checkout\Type\Multishipping\State\STEP_SELECT_ADDRESSES
const STEP_SELECT_ADDRESSES
Definition:
State.php:18
Magento\Framework\App\ResponseInterface
Definition:
ResponseInterface.php:14
Magento\Multishipping\Model\Checkout\Type\Multishipping\State\STEP_SHIPPING
const STEP_SHIPPING
Definition:
State.php:20