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.
1 parent e015f19 commit 46a57b1Copy full SHA for 46a57b1
app/code/Magento/Persistent/Observer/CheckExpirePersistentQuoteObserver.php
@@ -139,9 +139,9 @@ public function execute(\Magento\Framework\Event\Observer $observer)
139
!$this->_persistentSession->isPersistent() &&
140
!$this->_customerSession->isLoggedIn() &&
141
$this->_checkoutSession->getQuoteId() &&
142
- !$this->isRequestFromCheckoutPage($this->request) &&
143
// persistent session does not expire on onepage checkout page
144
- $this->isNeedToExpireSession()
+ !$this->isRequestFromCheckoutPage($this->request) &&
+ $this->getQuote()->getIsPersistent()
145
) {
146
$this->_eventManager->dispatch('persistent_session_expired');
147
$this->quoteManager->expire();
0 commit comments