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
Address
EditShipping.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Multishipping\Controller\Checkout\Address
;
8
9
class
EditShipping
extends
\Magento\Multishipping\Controller\Checkout\Address
10
{
14
public
function
execute
()
15
{
16
$this->
_getState
()->setActiveStep(
17
\
Magento
\
Multishipping
\Model\
Checkout
\
Type
\
Multishipping
\
State::STEP_SHIPPING
18
);
19
$this->_view->loadLayout();
20
if
($addressForm = $this->_view->getLayout()->getBlock(
'customer_address_edit'
)) {
21
$addressForm->setTitle(
22
__
(
'Edit Shipping Address'
)
23
)->setSuccessUrl(
24
$this->_url->getUrl(
'*/*/editShippingPost'
, [
'id'
=> $this->getRequest()->getParam(
'id'
)])
25
)->setErrorUrl(
26
$this->_url->getUrl(
'*/*/*'
)
27
);
28
29
$this->_view->getPage()->getConfig()->getTitle()->set(
30
$addressForm->getTitle() .
' - '
. $this->_view->getPage()->getConfig()->getTitle()->getDefault()
31
);
32
33
if
($this->
_getCheckout
()->getCustomerDefaultShippingAddress()) {
34
$addressForm->setBackUrl($this->_url->getUrl(
'*/checkout/shipping'
));
35
}
36
}
37
$this->_view->renderLayout();
38
}
39
}
Magento\Multishipping\Controller\Checkout\Address\EditShipping
Definition:
EditShipping.php:9
Magento\Multishipping\Controller\Checkout\Address\_getState
_getState()
Definition:
Address.php:39
Magento\Catalog\Model\Product\Type
Definition:
Type.php:17
Magento\Multishipping\Controller\Checkout
Definition:
Checkout.php:18
__
__()
Definition:
__.php:13
Magento\Multishipping\Controller\Checkout\Address\_getCheckout
_getCheckout()
Definition:
Address.php:29
Magento
Magento\Multishipping\Controller\Checkout\Address\EditShipping\execute
execute()
Definition:
EditShipping.php:14
Magento\Multishipping\Model\Checkout\Type\Multishipping\State\STEP_SHIPPING
const STEP_SHIPPING
Definition:
State.php:20
Magento\Multishipping\Controller\Checkout\Address
Definition:
EditAddress.php:7
Magento\Multishipping\Model\Checkout\Type\Multishipping
Definition:
Multishipping.php:28