I just installed magento 2, I added two products that do not appear here in the index. Do I need to do any configuration?

enter image description here

They only appear if I search for them.

enter image description here

I added them to a category.

enter image description here

But it does not appear

enter image description here

  • Did you create a category to put them in? – Julien Lachal Jan 10 '17 at 13:04
  • @JulienLachal Yeah Julien – Rafaela Cordeiro Jan 10 '17 at 13:45

go to command line and fire below commands

cd yourMagentoDirectory 

php bin/magento indexer:reindex 

after this commands refresh your magento cache.

| improve this answer | |
  • I did and nothing changed on the homepage – Rafaela Cordeiro Jan 10 '17 at 13:47
  • @RafaelaCordeiro as marius said you cannot see those product in home page but you can see this products in category – Murtuza Zabuawala Jan 10 '17 at 13:54
  • Yes, I did as he asked. But it does not appear, in the post that I showed shows in the last image – Rafaela Cordeiro Jan 10 '17 at 14:57

The products are not supposed to appear on the homepage unless you create a block that displays the products and attach that block to the homepage.
I advice you to create a category, assign your 2 products to the category.
Then you should see in the top menu section the link to the category page and clicking it will display your products.

| improve this answer | |
  • I added new photos – Rafaela Cordeiro Jan 10 '17 at 13:36
  • @RafaelaCordeiro. rebuild the indexes. – Marius Jan 10 '17 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.