Display message on product page when location inventory equals 0

Topic summary

Issue: A store using the Taste theme has two retail locations and one warehouse. Shipping is disabled for the retail stores (pickup only), but their inventory still makes products appear in stock for online orders, causing checkout errors when the warehouse has no stock.

Goal: Show a message like “Unavailable for shipping” on the product page when the warehouse location’s inventory is 0, while keeping pickup available if stores have stock.

Implementation need: The requester assumes this requires a custom Liquid block (Liquid is Shopify’s theme templating language) that checks location-specific inventory, not overall inventory.

Status: No solution or code provided yet. The user is seeking guidance on how to add location-based inventory messaging to the product page and is not a coder.

Summarized with AI on January 3. AI used: gpt-5.

Theme: Taste

We have two stores and one warehouse. I have removed shipping rates for the two stores but they “fulfill online orders” to enable pickup. BUT store inventory now makes products appear in stock for online orders that we fulfill from the warehouse. This leads to customer confusion as they try to checkout and receive errors.

I would like to create a message (“Unavailable for shipping”) on the product page when the inventory at the warehouse location reaches 0 (not overall inventory, as the stores might still have stock for pickup). This should help with customer confusion.

Any idea how I can add this? I’m assuming it’s a custom liquid block but I’m not a coder