cancel
Showing results for 
Search instead for 
Did you mean: 

Front End Product Search

Front End Product Search

I am trying to search a word in Magento 2 search box in front end. I am not getting any result. But a product name contain that word.

 

I am getting some product in search, some are not. I made product visibility Catalog, Search but I am not getting product in search.

 

How can I fix this issue ?

5 REPLIES 5

Re: Front End Product Search

Hi @foysal,

Did you reindex all data?

Please reindex and flush cache once..

I hope it will work for you!

Re: Front End Product Search

Thanks for your solution. But your solution is not working. Thanks.

Re: Front End Product Search

Hi @foysal,

Please make sure that your products are in stock and assigned to the website..

Also check following things for the products which are not showing..

1. Check product enable or not
2. Assign product to websites
3. Assign product to categories
4. Change product stock status to in stock
5. Check product visibility config
6. Reindex and flush cache

Re: Front End Product Search

Thanks @Vimal Kumar . Previously product is not enabled. I enabled the product and Reindex and flushed  cache but result is as before.

product.png

 

 

 

index.png

 

 

cache.png

Re: Front End Product Search

Hi @foysal 
Did you check all steps mentioned earlier?
1. Check product enable or not
2. Assign product to websites
3. Assign product to categories
4. Change product stock status to in stock and quantity (because magento 2 don't show out of stock products on frontend )
5. Check product visibility config
6. Re-index and flush cache