We have disabled out-of-stock products from showing on the frontend, but would like to override this for search results only.
How would we accomplish this?
Note: this store has thousands of products that go in and out of stock regularly. We need them to reappear in the catalog when they're back in stock, but always be visible in the search results.
Best Answer
Enabled the products and changed their
visibility
toSearch
.Next Set
Display Out of Stock Products
toyes
underStore -> Configuration -> Catalog -> Inventory -> Stock Options
.Update
The product will not appear in the catalog because the visibility is set to Search. To make a product visible in the catalog visibility should be either Catalog or Catalog/Search.
To change the visibility of multiple products together, you can use the Magento Import functionality.