Skip to content
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 not Showing in Category Pages: 'We can't find products matching the selection' Error #38712

Open
5 tasks
Madhab-Karmaker opened this issue May 11, 2024 · 8 comments
Assignees
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.x Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@Madhab-Karmaker
Copy link

Summary

I'm encountering an issue on my Magento 2 store where products are not displaying on category pages, and instead, the message "We can't find products matching the selection" is shown. I've performed some troubleshooting steps, but I'm still unable to resolve the issue. Here are the details:

Steps to Reproduce:

  • Navigate to any category page on the frontend.
  • Observe that the category page displays the message "We can't find products matching the selection."

Expected Behavior:

  • Products that belong to the category should be displayed on the category page.

Troubleshooting Steps Taken:

  • Checked product inventory to ensure products are in stock.
  • Verified product visibility settings (set to "Catalog" or "Catalog, Search").
  • Confirmed that products are assigned to the correct category.
  • Reviewed catalog and search settings in the Magento Admin Panel.
  • Reindexed data using the php bin/magento indexer:reindex command.
  • Flushed the Magento cache using php bin/magento cache:flush.
  • Checked for customizations or third-party extensions affecting product listing behavior.
  • Enabled developer mode and reviewed log files for errors.
  • Ensured theme compatibility and that it doesn't override core functionality.

Environment:

  • Magento version: [e.g., 2.4.3]
  • PHP version: [e.g., 7.4]
  • Database: [e.g., MySQL]

Examples

image

Proposed solution

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@Madhab-Karmaker Madhab-Karmaker added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label May 11, 2024
Copy link

m2-assistant bot commented May 11, 2024

Hi @Madhab-Karmaker. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@Madhab-Karmaker
Copy link
Author

Help me

@engcom-Bravo engcom-Bravo added the Reported on 2.4.x Indicates original Magento version for the Issue report. label May 13, 2024
@engcom-November engcom-November self-assigned this May 13, 2024
Copy link

m2-assistant bot commented May 13, 2024

Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-November
Copy link
Contributor

Hello @Madhab-Karmaker,

Thank you for the report!

In default luma theme the product listing are working fine, it might be the issue with third party theme, please check the logs thoroughly.
You can raise these questions on Magento stackexchange.

Thank you.

@engcom-November engcom-November added the Issue: needs update Additional information is require, waiting for response label May 13, 2024
@m2-community-project m2-community-project bot moved this from Ready for Confirmation to Needs Update in Issue Confirmation and Triage Board May 13, 2024
@Madhab-Karmaker
Copy link
Author

I have reinstall magento and I am working on default theme. There is no other theme installed. Still I am facing the same issue.

@Joshua29LK
Copy link

I have reinstall magento and I am working on default theme. There is no other theme installed. Still I am facing the same issue.

Have you started the elastic search service yet?

@Madhab-Karmaker
Copy link
Author

ideadev@ip-172-31-0-181:~$ curl -X GET "http://localhost:9200/"
{
"name" : "ip-172-31-0-181",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "b6bLHicyRxaKSqrQFsxbIw",
"version" : {
"number" : "8.13.4",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "da95df118650b55a500dcc181889ac35c6d8da7c",
"build_date" : "2024-05-06T22:04:45.107454559Z",
"build_snapshot" : false,
"lucene_version" : "9.10.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}

@engcom-November
Copy link
Contributor

Check the log files and share if any error appear related to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.x Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
Development

No branches or pull requests

4 participants