Stores can now hide out of stock products and only display items that are in stock. Using a combination of Local Store Inventory and a View, you can create a display of readily available titles for customers to shop from. If the titles are not in stock, they will simply disappear from the view until their inventory numbers are updated with an in stock status.
This filter will only appear if your website has Local Store Inventory (LSI) enabled and you are uploading LSI files. Please review our help documentation for more information on Local Store Inventory. [1]
For this example, we will be working with a Front Page Booklist that is displayed on the homepage on the website. We will be adding an LSI Stock Filter to the View in order to only display books that are in-stock at the store.
Before we add the stock filter, all 6 books are appearing in the view. We want to only show the books that appear as ‘On Hand’ in our LSI file.

Reminder: When working with a View with multiple displays, remember to save your changes to that display only.
Adding the LSI Stock Filter to the View
- Navigate to Structure > Views
- Locate the View (Example: Front Page Booklist)
- Click ‘edit’
- Under Fields click the item Content: Books
- Under Formatter click the checkbox labeled “Hide out of stock products?”

- Click Apply
- Update the preview within the view to check your work
- Save the View
After these changes have been made to the View, any books that have a quanity of 0 in your LSI file will be automatically removed from the display. As you can see below, after we have added this filter, the first book in the View has been removed due to a stock level of 0.

D7 Taxonomy: