Skip to content

Commit 83e3ad9

Browse files
author
Ievgen Shakhsuvarov
committed
MAGETWO-37570: Unable to place order on frontend using secure urls
1 parent 72f6972 commit 83e3ad9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/code/Magento/Checkout/Block/Onepage.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,14 @@ public function getCheckoutConfig()
126126
{
127127
return $this->configProvider->getConfig();
128128
}
129+
130+
/**
131+
* Get base url for block.
132+
*
133+
* @return string
134+
*/
135+
public function getBaseUrl()
136+
{
137+
return $this->_storeManager->getStore()->getBaseUrl();
138+
}
129139
}

0 commit comments

Comments
 (0)