Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
Fix url for back button on multishipping new shipping address
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Souza committed Oct 2, 2019
1 parent 3cbe632 commit 7c5e717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function execute()
if ($this->_getCheckout()->getCustomerDefaultShippingAddress()) {
$addressForm->setBackUrl($this->_url->getUrl('*/checkout/addresses'));
} else {
$addressForm->setBackUrl($this->_url->getUrl('*/cart/'));
$addressForm->setBackUrl($this->_url->getUrl('checkout/cart/'));
}
}
$this->_view->renderLayout();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function executeDataProvider()
{
return [
'shipping_address_exists' => ['*/checkout/addresses', 'shipping_address', 'back/address'],
'shipping_address_not_exist' => ['*/cart/', null, 'back/cart']
'shipping_address_not_exist' => ['checkout/cart/', null, 'back/cart']
];
}

Expand Down

0 comments on commit 7c5e717

Please sign in to comment.