Skip to content

Commit 0c83fc5

Browse files
author
Oleksii Korshenko
authored
MAGETWO-72083: Fix checking active carrier against store #10695
2 parents ebb08a0 + 2bbc0d9 commit 0c83fc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Shipping/Model/CarrierFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ public function createIfActive($carrierCode, $storeId = null)
106106
{
107107
return $this->_scopeConfig->isSetFlag(
108108
'carriers/' . $carrierCode . '/active',
109-
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
109+
\Magento\Store\Model\ScopeInterface::SCOPE_STORE,
110+
$storeId
110111
) ? $this->create(
111112
$carrierCode,
112113
$storeId

0 commit comments

Comments
 (0)