I imported a complete magento database. Every product and category is shown as it should in the backend. But, when trying to open a category in the storefront the end-user gets the "there are no products matching the selection" error, and no product is displayed.
I also tried re-indexing, and clearing the cache without solving the problem. And I did what other questioners did (There are no products matching the selection)
In my case the solution is to to go to the product-page in the backend. Make a little change, and to save the product. By doing this the product will be shown in the category.
The problem is that I have thousands of products.
What's the most fast way to re-save all products?
catalog_category_product
is bogus. 2) flat products is enabled but it doesn't reindex properly. 3) No products are saleable, meaning you have no stock and stock management is on or they are disabled for the storeview. You can diagnose nr.3 by enabling flat products for a given storeview and building the index. If no products are entered in that table (catalog_product_flat_store_X
where X is the number of the storeview) then no products are saleable.