cancel
Showing results for 
Search instead for 
Did you mean: 

"We can't find products matching the selection." Category page

SOLVED

"We can't find products matching the selection." Category page

Hi,

 

For several weeks I encounter a few problems on my fresh Magento installation. I've tried a lot like everything is enabled but it keep giving me this error: "We can't find products matching the selection."

 

How I debug this so I can solve it?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: "We can't find products matching the selection." Category page

@Lightme ,

 

if you are getting results while searching then the elasticsearch connection is fine.

this is something else which is causing this trouble.

 

Did you try to flush magento cache and browser cache ?

 

also did you check error logs inside var/log/ folder ?

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

View solution in original post

9 REPLIES 9

Re: "We can't find products matching the selection." Category page

@dipmish sorry I thought this was a public section not the freelance section, right?

"Hi,

Hope you're doing great. 

I checked your post on magento forum regarding issue for "We can't find products matching the selection." Category page.

I can check and fix above issue as I'm freelance magento developer and have expertize in magento development and having total of 10 years of experience. 

You can mail me at : dipmish@gmail.com for further discussion.

Looking forward to hear from you. 

Thanks"

Re: "We can't find products matching the selection." Category page

Hello @Lightme ,

 

Please specify your magento version, if it 2.4.x then you need to check your elasticsearch connection.

if you validate your elasticsearch and the connection is fine then check the configurations you have put in magento admin for elasticsearch.

if both are working and correct, try indexing by below commands : 

php bin/magento indexer:reindex

 

PS : Yes, this is a public section and you can get all the required help from authorised contributors in the post command.

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: "We can't find products matching the selection." Category page

Magento version is ver. 2.4.3-p2

Elasticsearch is 7

 

"{
"name" : "xxx.xxx.xxx",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "0_Jaq7wAQ6GBMGiWqox59A",
"version" : {
"number" : "7.10.2",
"build_flavor" : "oss",
"build_type" : "rpm",
"build_hash" : "747e1cc71def077253878a59143c1f785afa92b9",
"build_date" : "2021-01-13T00:42:12.435326Z",
"build_snapshot" : false,
"lucene_version" : "8.7.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}"

 

Connection with Elasticsearch is connected:

working.png

And the index give me no errors:

index.png

But in the category in the front end I keep getting this message:

"We can't find products matching the selection."

I don't know anymore what to do to solve this... Smiley Sad
 

Re: "We can't find products matching the selection." Category page

your screenshots are not visible, try adding them on some cloud based site and share url.

 

Or create a new category, create few products and assign those products to that category and then check if that specific category is working or not.

if that newly created category is working then it's issue with those category else it;s issue with your elasticsearch configurations.

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: "We can't find products matching the selection." Category page

First screenshot is:

https://ibb.co/616T87Y

 

Second is:

https://ibb.co/NSBNfMs

 

I have also tried to make a new category and products but same results, the strange thing is when I do search it appears with (ammount) behind it and also the filter shows how many products are in this category but in the page in the category itself it shows the same message.

 

How would I see what the problem would be if it is elasticsearch?

Re: "We can't find products matching the selection." Category page

@Lightme ,

 

if you are getting results while searching then the elasticsearch connection is fine.

this is something else which is causing this trouble.

 

Did you try to flush magento cache and browser cache ?

 

also did you check error logs inside var/log/ folder ?

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: "We can't find products matching the selection." Category page

Yes, I flushed the cache and did the reindex. In the log which file I have to refear to exactly there are 6 files?

Re: "We can't find products matching the selection." Category page

What I am seeing also now all of sudden is this error now in the back-end:

"

One or more of your dotdigital cron tasks have errors: ddg_automation_order_sync, ddg_automation_sms_order_messages, ddg_automation_status. Please go to  Cron task to review.
"

Re: "We can't find products matching the selection." Category page

I think I found the problem what is kind of wierd.

 

I created a new Source and a new Stock that triggered something, now I see the products... 

 

What a strange way of solving a problem! But happy I finally solved it.