-
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
Products in Cart report #8724
Comments
Created an extension to fix this until Magento 2 team fixes it. |
@dannynimmo I cannot reproduce this issue as described. Please provide the detailed steps I must follow to reproduce this issue. In addition, identify the web server you are running, the versions of PHP and MySQL, and any other information needed to reproduce your issue |
@smoskaluk I feel I was pretty clear in my issue report, but I will detail further:
|
@dannynimmo thank you for your update.
|
I had the same problem. The module which @Radosav writes works. You can also flush the following table, if you are in development environment: |
I am having the same issue. I installed @Radosav fix, but still it didn't work. Please suggest. |
@veloraven please try to reproduce it with configurable product in shopping cart. |
@dannynimmo I had a similar bug in my magento installation. I had created some products, they were added to cart and then these products were deleted. Deleting the products did not delete them from quote_item table. I deleted all rows from this table that had an invalid product_id and that fixed the bug for me. The products were deleted from Magento 2.1.2. I have upgraded to magento 2.1.8 now and I did not need to use the module suggested by @Radosav |
@dannynimmo, thank you for your report. |
To reproduce this issue on 2.2.0 you have to:
|
Thanks @shreyap26 Your solution worked for me! There were a couple of deleted products in my quote_item table. |
Preconditions
Steps to reproduce
Expected result
Report page should display with no errors
Actual result
Looks like the code needs to check the product still exists before trying to add data to the collection.
The text was updated successfully, but these errors were encountered: