Filtering Views by Stock Status

Printer-friendly versionPrinter-friendly version
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.
 
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. 
 
Screenshot of a frontpage booklist with 6 titles
 
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

  1. Navigate to Structure > Views
  2. Locate the View (Example: Front Page Booklist)
  3. Click ‘edit
  4. Under Fields click the item Content: Books
  5. Under Formatter click the checkbox labeled “Hide out of stock products?
Screenshot highlight option to hide out of stock products
  1. Click Apply
  2. Update the preview within the view to check your work
  3. 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.
Screenshot of frontpage booklist with 5 titles

 

IndieCommerce Help Documents

 

About ABA

American Booksellers Association is a national trade association that supports and advocates for the success of independent bookstores. We provide members with education, networking opportunities, advocacy, resources, and technology. In turn our members support local schools through book fairs, donations and author visits; promote literacy; provide inclusive community centers; connect readers and books; add character to neighborhoods; champion and center diverse and new voices; and contribute to the local economy. We feel honored to support them in their work.

Contact

PRESS INQUIRIES: [email protected]

INDIECOMMERCE: [email protected]

ALL OTHER INQUIRIES: [email protected]

 

 

Copyright 2024 American Booksellers Association. BookWeb is a registered trademark of ABA.
Privacy Policy, Cookie Policy, Accessibility Statement