Skip to content

Random products show out of stock until manual reindex #15984

Closed
@AF4Q

Description

@AF4Q

I have setup a new Magento store and have been adding products. I have recently noticed that some products are not showing up as out of stock on the front end despite being properly added in the admin panel (i.e. correct inventory, categories etc). Opening and saving these products a few times in the backend fixes this issue. Another way to fix this issue is manually running the reindex command from the SSH. All this time, the crons are properly running and according to the admin panel, the reindex is happening every minute.

Preconditions

  1. Nginx, PHP-FPM, MariaDB, CentOS 7
  2. Magento 2.2.4

Steps to reproduce

  1. Add some products.
  2. Some of the them will show up as out of stock.
  3. Reindex manually and they will show up as in stock.

Expected result

  1. Products should show up in stock without manual reindex.

Actual result

  1. Products only show up in stock after manual reindex.

I have seem two similar issues on StackExchange as well and none of them have gotten a proper answer:
https://magento.stackexchange.com/questions/150656/new-products-not-showing-until-manually-reindexing-although-cron-is-running
https://magento.stackexchange.com/questions/1177/products-seemingly-randomly-disappearing-until-reindex

Metadata

Metadata

Assignees

Labels

Component: IndexerFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions