-
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
Minicart shows no product even when I have products in cart #4010
Comments
@jaimestuardo Thank you for reporting this issue. Could you please provide more information on the steps to reproduce the issue? Which way did you add products which are not shown? |
I have found how to reproduce it.
|
@jaimestuardo, We have tried, but could not reproduce this issue on the latest code from repo. (commit f93b8da). Preconditions:
Steps to reproduce:
Test flow #1: Test flow #2: Test flow #3: Probably you are using not latest code base or need clarification in steps/preconditions etc. |
@jaimestuardo @sdzhepa @ishakhsuvarov I am seeing the same issues on iOS devices |
I think we have drilled it down to an issue related to these lines of code in Magento_Checkout::cart/minicart.phtml. summary_count results in undefined on Safari iOS while 0 in other browsers
|
@jksimoniii Looks like you are using the installation from |
@ishakhsuvarov Great, thanks! Looks like that will solve the problem we are having. Will this be wrapped in the 2.1 release ? |
@jksimoniii Yes, the fix should be included in the 2.1 |
How can I solve the problem momentarily using version 2.0.4? |
I have updated to 2.0.6 and problem still exists. |
@jaimestuardo can you check on 2.1RC? it should be fixed there. If problem persists, please open a new issue. |
I have the same issue in 2.0.7, this is found when we enable Persistent Shopping Cart, if we have some product in our cart when we re login the mini cart will show 0 items and when we add some product the cart will show the existing products and newly added one together. |
I think these issues are the same as the big discussion in #3572 |
+1. Facing same issue in M2.1.1 |
@apurv-anand this ticket is closed. If you are experiencing an issue, can you open a new ticket and provide full system info and steps to reproduce" |
I am using M2.1.2 facing same issue, when I add product after login the not showing in mini cart. Please help me to resolve this issue. |
This solved the problem for me, I have read elsewhere that is could possibly cause validation when adding items into your cart (product is out of stock, etc.), but I haven't looked further into that. Anyone who would like to would be welcomed to enlighten me with their information :) I did this simple fix and haven't had a problem since. Reference to @fhennessy 's answer: |
@domdambrogia |
I have same issue, after enable Full Page Cache this issue is resolved. |
@iprabhakar |
My Solution for refresh Problem: You simply need to change |
Sometimes, when I have products in cart, this is shown:
Then, I add 1 product, and the minicart started to show this new added product together with the old products in cart:
Regards
Jaime
The text was updated successfully, but these errors were encountered: