- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Products are being disappeared randomly
In Magento 2.3.4, frequently Products are being disappeared from listing page and upon next refresh it works. I checked all possible cases but failed to find out the root cause.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Products are being disappeared randomly
Is the problem you're experiencing similar to either of these two?
or
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Products are being disappeared randomly
Found the solution for myself and wanted to share:
If you are using ElasticSearch or ElasticSuite for your search functionality and you have multiple Magento2 instances running on the same server (ex. Production server and Staging server); you need to ensure that they have separate values.
ElasticSearch:
In the admin go to Stores > Configuration > Catalog > Catalog > Catalog Search > Elasticsearch Index Prefix
This needs to be a unique value compared to other stores.
ElasticSuite:
In the admin go to Stores > Configuration > ElasticSuite > Base Settings > Indices Settings > Indices Alias Name
This needs to be a unique value compared to other stores.