We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69fbdec + 8baf992 commit 657b652Copy full SHA for 657b652
Helper/SalesEventHandler.php
@@ -59,6 +59,9 @@ public function __construct(
59
public function store(Order $order): bool
60
{
61
$storeId = $order->getStoreId();
62
+ if (!$storeId) {
63
+ $storeId = $this->storeManager->getStore()->getId();
64
+ }
65
66
if (!$this->isEnabledForStore($storeId)) {
67
return false;
0 commit comments