I have added the first products on my site with a custom theme child of luma. But when I want to visualize them with their respective category, by clicking on the menu, the message "We can't find products matching the selection" appears. I have reindexed and run all the commands but it remains the same.
At the same time I have another problem that may be related, since I have created a widget to view the latest products created in home page (at the bottom of home image) but this is also not displayed.
Hi @mauri_mono
did you assigned product in respective category if not then you need to assign that product in some category.
once you do this run below command:
php bin/magento indexer:reindex php bin/magento cache:flush
it will reindex catalog table as well as others tables like price,Qty etc.
Hoep this helps you.
if above answer was helpful then please Accept as Solution & give Kudos
Shubham Khandelwal
@shubham_khandelwal1 wrote:Hi @mauri_mono
did you assigned product in respective category if not then you need to assign that product in some category.
once you do this run below command:
php bin/magento indexer:reindex php bin/magento cache:flushit will reindex catalog table as well as others tables like price,Qty etc.
Hoep this helps you.
if above answer was helpful then please Accept as Solution & give Kudos
Shubham Khandelwal
I run those commands but the same message keeps appearing, and I deleted all the products and uploaded again, but its still. I can't find the solution
Hi @mauri_mono,
did these products have weight and quantity in stock? Are they set as visible in catalog and search?
Check the "quantity", "weight" and "visibility" field, change them if needed and try again.
Also reindexing and flushing again after these changes.