Skip to content

Commit fb6714b

Browse files
author
Vladyslav Shcherbyna
committed
MAGETWO-31966: Empty title for success placed order page
1 parent 4393143 commit fb6714b

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Checkout/Controller/Onepage

1 file changed

+1
-0
lines changed

app/code/Magento/Checkout/Controller/Onepage/Success.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function execute()
2323
//@todo: Refactor it to match CQRS
2424
$this->_view->loadLayout();
2525
$this->_view->getLayout()->initMessages();
26+
$this->_view->getPage()->getConfig()->getTitle()->set(__('Thank you for your purchase!'));
2627
$this->_eventManager->dispatch(
2728
'checkout_onepage_controller_success_action',
2829
['order_ids' => [$session->getLastOrderId()]]

0 commit comments

Comments
 (0)