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
EditBilling.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Multishipping\Controller\Checkout\Address
;
8
9
class
EditBilling
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_BILLING
18
);
19
$this->_view->loadLayout();
20
if
($addressForm = $this->_view->getLayout()->getBlock(
'customer_address_edit'
)) {
21
$id
= $this->
getRequest
()->getParam(
'id'
);
22
$addressForm->setTitle(
23
__
(
'Edit Billing Address'
)
24
)->setSuccessUrl(
25
$this->_url->getUrl(
'*/*/saveBilling'
, [
'id'
=>
$id
])
26
)->setErrorUrl(
27
$this->_url->getUrl(
'*/*/*'
, [
'id'
=>
$id
])
28
)->setBackUrl(
29
$this->_url->getUrl(
'*/checkout/overview'
)
30
);
31
$this->_view->getPage()->getConfig()->getTitle()->set(
32
$addressForm->getTitle() .
' - '
. $this->_view->getPage()->getConfig()->getTitle()->getDefault()
33
);
34
}
35
$this->_view->renderLayout();
36
}
37
}
Magento\Multishipping\Controller\Checkout\Address\_getState
_getState()
Definition:
Address.php:39
Magento\Multishipping\Model\Checkout\Type\Multishipping\State\STEP_BILLING
const STEP_BILLING
Definition:
State.php:22
Magento\Catalog\Model\Product\Type
Definition:
Type.php:17
$id
$id
Definition:
fieldset.phtml:14
Magento\Multishipping\Controller\Checkout
Definition:
Checkout.php:18
__
__()
Definition:
__.php:13
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Multishipping\Controller\Checkout\Address\EditBilling
Definition:
EditBilling.php:9
Magento
Magento\Multishipping\Controller\Checkout\Address\EditBilling\execute
execute()
Definition:
EditBilling.php:14
Magento\Multishipping\Controller\Checkout\Address
Definition:
EditAddress.php:7
Magento\Multishipping\Model\Checkout\Type\Multishipping
Definition:
Multishipping.php:28