-
Notifications
You must be signed in to change notification settings - Fork 245
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
Category count for category pages is wrong when show out of stock is enabled 2.4.5 #3360
Comments
Hi @leonhelmus. Thank you for your report. Add a comment to assign the issue:
|
Might be also related to my testing today: magento/magento2#36055 |
Ah, I just disabled that Plugin. They need to rewrite that to check for:
Currently it just checks the Category page, so on Search Page it uses "Default Category" and outputs the whole catalog. When you filter by attributes, it does not decrease the number because the only lookup that is done is for Category. It does not check if filters were applied to the category. |
Disable the plugin only works with enabled MSI. I've removed all MSI Modules from my projects. |
Amasty's QA has also reproduced this issue on 2.4.5-p1 via MFTF for Improved Layered Navigation. |
After upgrading to php 8.1 + M2.4.5 i get the following issue:
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
This patch that i created resolved the issue for me:
The reason why i think it's going wrong is that this plugin does not take into account that filters are used on a category page. What do you think magento?
The text was updated successfully, but these errors were encountered: