Question

I just updated to 2.3.0 and when i try to open any category page -> instead of filters i'm getting "Compare products" and "My wishlist" + . instead of product list getting message "We can't find products matching the selection."

How can i solve/investigate this question???

Was it helpful?

Solution

Depending on the version you upgraded from it might be a missing stock source/default. Can't check right now but you should find two menu entries under shops or system.

Edit:

With Magento 2.3 a new feature called Multi Source Inventory was introduced. After an upgrade from a prior version you need to set a source and a default stock. So the settings I mentioned can be found under Stores > Inventory > Sources. Here you need to configure a source. Under Stores > Inventory > Stocks you need to apply default stock to your website.

It may also require a reindex.

OTHER TIPS

In my case I tried to re-index but noticed the index failed for esatic search:

Catalog Search index exception: Could not ping search engine: No alive nodes found in your cluster

i resolved by running:

sudo systemctl restart elasticsearch

php bin/magento indexer:reindex

php bin/magento cache:flush

You have to recreate the inventory_Stock_1 view in Database. You can make it happen with an query (like this);

 CREATE OR REPLACE VIEW `inventory_stock_1` AS select
     distinct `legacy_stock_status`.`product_id` AS `product_id`,
     `legacy_stock_status`.`website_id` AS `website_id`,
     `legacy_stock_status`.`stock_id` AS `stock_id`,
     `legacy_stock_status`.`qty` AS `quantity`,
     `legacy_stock_status`.`stock_status` AS `is_salable`,
     `product`.`sku` AS `sku` from
     ( `cataloginventory_stock_status` `legacy_stock_status` join `catalog_product_entity` `product` on
         (( `legacy_stock_status`.`product_id` = `product`.`entity_id` )));

After that, you have to reindex Magento:

php bin/magento indexer:reindex

Now all should be displayed and looks fine.

Hope it helps.

i was facing this challenge and was almost frustrated when i finally got how to fix it. For me I used this

i used the code below to view the table

sql command select *
from catalog_eav_attribute cea 
join eav_attribute ea
  on ea.attribute_id = cea.attribute_id 
  and backend_type in ('text', 'varchar')
where 
  cea.is_filterable = 1

and Set is_filterable to 0 to allow category pages to load.

update catalog_eav_attribute cea 
join eav_attribute ea
  on ea.attribute_id = cea.attribute_id 
  and backend_type in ('text', 'varchar')
set cea.is_filterable = 0
where 
  cea.is_filterable = 1

Reindex/Refresh Cache

magento indexer:reindex
magento cache:clean
magento cache:flush

i got the solution from this link, it was a very helpful solution....thank you doublesharp best solution ever

Run this command to fix the issue php bin/magento indexer:reindex worked for Me

In Category Enable Anchor in Display Setting.

 Enable Anchor Tag

In Attribute set Filter with Results in Use in Layered Navigation.

Attribute

And then reindex it. Hope it will work.

Run this command to fix the issue php bin/magento indexer:reindex

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top