Control the visibility of products from search suggestions and search results by setting up conditions
For instance, if users would prefer to not display products that have a certain tag (AW24) from search. The condition can be set up using 'Tags>Match all except: AW24'.Follow the steps mentioned below to set up conditions to display only in-stock products:
- Click on 'Settings' under 'Search' from the Navigate panel.
- Click on the edit button next to 'Product Visibility.
- Set up the required conditions to control the visibility of products based on your requirements, in this case, in-stock products.
- Click on 'Save' at the top right once the conditions have been added.
Note: Once the conditions are saved, the store front-end will be updated as soon as the cache gets refreshed. This typically takes about 10 minutes.