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.
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)
Under Fields click the item Content: Books
Under Formatter click the checkbox labeled “Hide out of stock products?”
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.
The American Booksellers Association, a national not-for-profit trade organization, works with booksellers and industry partners to ensure the success and profitability of independently owned book retailers, and to assist in expanding the community of the book.
Independent bookstores act as community anchors; they serve a unique role in promoting the open exchange of ideas, enriching the cultural life of communities, and creating economically vibrant neighborhoods.