-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shipping cart is empty than also minicart display item [ Magento 2.0.0 ] #4460
Comments
@parthviroja, looks like you have customized theme already, can you reproduce the same behavior on vanilla Magento 2.0.5 installation? |
Thanks @maksek, Same Issue produce in 2.0.5 after upgrade from 2.0.0. This issue produce when i add item in cart after 15 to 20 minute, when i open shipping cart page, this happens. When i clean browser cache and history than, minicart display empty. |
Same problem here using a custom theme (2.0.5). This was also reproduced with clean install - theme default. Mostly it happens when submitting an order when minicart should be cleared but it still shows the same product altough the cart page shows no products. |
Same problem here on 2.0.5 fresh install - no custom theme. We had this issue also on 2.0.0 and 2.0.2. |
@devhn Which payment method did you use when placing order? |
@ishakhsuvarov
|
@andidhouse Steps you described look similar to the ones in #4416 I'm pretty sure it is the same case. We currently have a similar item in our backlog with the internal id |
Fixes magento#4460 Fixes magento#4416 Fixes magento#1461 Fixes magento#4969 Fixes MAGETWO-52593 This method is executed on `controller_action_predispatch`. The outcome of the following controller will be affected by leaving `$this->checkoutSession->setLoadInactive` set `true`. After placing an order the `customer/section/load` page is called from the checkout overview page to update the minicart and messages sections. Because of the `controller_action_predispatch` and the passing of all checks in `\Magento\Persistent\Observer\CheckExpirePersistentQuoteObserver::execute` `setLoadInactive` is left set to true and the expired quote is loaded one more time in the minicart, resulting in expired quote data the browser storage for the success page to display. By the way, I saw this comment: ```php !$observer->getControllerAction() instanceof \Magento\Checkout\Controller\Onepage // persistent session does not expire on onepage checkout page to not spoil customer group id ``` customer/section/load is not a checkout onepage controller, but it most certainly is called in the checkout. So the check in `\Magento\Persistent\Observer\CheckExpirePersistentQuoteObserver::execute` does not fully fill the gap the way the comment implies.
Fixes magento#4460 Fixes magento#4416 Fixes magento#1461 Fixes magento#4969 Fixes MAGETWO-52593
@parthviroja the internal issues was already fixed in commit c2bbe72 and closed. |
The contributor guide suggests that tickets that have not been active for two weeks should be closed. Please reopen as needed. |
Still happened on 2.1.6, how to fix this? |
Fixes magento#4460 Fixes magento#4416 Fixes magento#1461 Fixes magento#4969 Fixes MAGETWO-52593 (cherry picked from commit 9093ce9)
i have install magento 2.0.0 on live server
when i have remove items from shipping cart, minicart not updated.
now i refresh page few times, than also minicart display item.
The text was updated successfully, but these errors were encountered: