Filter out Inventory Quantity for Online Store Location ONLY

kaiteng
Shopify Partner
1 0 0

We would like to display a "Available Online" text on product page based on inventory quantity for Online Store location only. We have multiple POS locations which fulfills online orders because of Local Pickup. 

 

We understand that we can get whether a location has inventory available by querying

variant.store_availabilities

, but it cannot show if our Online Store location has inventory. 

 

Please help

Replies 0 (0)