简体   繁体   中英

Magento2 products not showing up in store

I am brand new to Magento. I've gone through tutorials on how to add products, both simple and configurable, but I'm running into snags. Only one category is showing up on my dummy web site. I've checked all I can think of. I have inventory, pricing, and have enable product = yes — they are just not showing up. However, when I search for the product, it comes up in a search, and it's visible in my search results. Visibility is set to Catalog/Search. I'm totally stumped. Any ideas why I can't see my products? Thanks a bunch!

Do You have flat tables enabled?

https://docs.magento.com/m2/ce/user_guide/catalog/catalog-flat.html

If so, can You see products in database flat table catalog_product_flat ?

Most likely You need to reindex data.

Open your terminal and paste:

php bin/magento indexer:reindex

https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-index.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM