cancel
Showing results for 
Search instead for 
Did you mean: 

No results when filtering products

No results when filtering products

Hi!

 

I'm learning Magento, but I'm struggling with something. I'm adding products with product attributes, but when I'm filtering the attributes on the category page it won't show results. It says that there is 1 product in for example the color red, but when I filter it, it says there are no results.

 

Proof:

Knipsel.PNG

 

I hope someone can help me with this problem! I'm struggling with it for a few hours, but I really can't find a solution.

 

PS: Sorry for my bad English. Not very good at it Smiley Sad

 

URL: http://honkemoller.hypernode.io/bh-s

6 REPLIES 6

Re: No results when filtering products

Hi,

 

First you need to create the right kind of filterable attribute and then it also need to be anchor in category page.

 

 

Re: No results when filtering products

How do you anchor it in the category page?

Re: No results when filtering products

You can do it from category management section.

Re: No results when filtering products

It look like you have to run indexing.

 

Follow bellow steps

1. Go to your root folder of your magento2 installation directory

2. Execute below command to run the indexing 

 

php bin/magento  index:reindex

Output

Design Config Grid index has been rebuilt successfully in 00:00:00
Customer Grid index has been rebuilt successfully in 00:00:00
Category Products index has been rebuilt successfully in 00:00:00
Product Categories index has been rebuilt successfully in 00:00:00
Product Price index has been rebuilt successfully in 00:00:03
Product EAV index has been rebuilt successfully in 00:00:02
Catalog Search index has been rebuilt successfully in 00:00:02
Stock index has been rebuilt successfully in 00:00:00
Catalog Rule Product index has been rebuilt successfully in 00:00:02
Catalog Product Rule index has been rebuilt successfully in 00:00:00

 

if issue solved, Click Kudos/Accept as solutions.

Suman Kar(suman.jis@gmail.com) Magento Certified Developer Plus Skype: sumanphptech Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

Re: No results when filtering products

Facing same issue, did everything but didn't found any solution yet.

 If anyone could help. I should be thankful to you.

Re: No results when filtering products

Hi,

Are the attributes configured correctly, so they are suitable for layered navigation. Go to Stores>Attributes>Product. Find your attribute which should work in the Layered navigation select it and set the value "Use in Layered Navigation" to "Filterable (with results)" There is also an option to enable the attribute as a filter on the search results page.

Screenshot 2019-01-18 at 13.30.22.png