From 2c38c2de93098c2a2119598e9ff12febe4840a73 Mon Sep 17 00:00:00 2001 From: Timon de Groot Date: Thu, 4 Jun 2020 09:03:06 +0200 Subject: [PATCH] Update ManagerInterfacePlugin.php --- Plugin/Message/ManagerInterfacePlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugin/Message/ManagerInterfacePlugin.php b/Plugin/Message/ManagerInterfacePlugin.php index 01d877f..638aa40 100644 --- a/Plugin/Message/ManagerInterfacePlugin.php +++ b/Plugin/Message/ManagerInterfacePlugin.php @@ -36,8 +36,8 @@ public function aroundAddComplexSuccessMessage( array $data = [], $group = null ) { - if ($identifier === 'addCartSuccessMessage' && - $this->config->isEnabled() && + if ($identifier === 'addCartSuccessMessage' && + $this->config->isEnabled() && $this->config->isDefaultNotificationDisabled()) { return $subject; }