How to display different stock levels for multiple locations on a product page?

Topic summary

A merchant wants to display inventory quantities for individual locations on product pages (e.g., “Location 1: 3 in stock, Location 2: 5 in stock”) rather than showing only total inventory across all locations. The default Shopify Liquid variable {{ variant.inventory_quantity }} returns aggregated stock, not per-location breakdowns.

Proposed Solutions:

  • Custom code: Multiple contributors confirm this requires theme-specific custom development, typically handled by Shopify Partners.
  • Workflow + code snippet: One user shares a tutorial combining automation workflows with code to achieve location-based inventory display.
  • Third-party app: The app “Multilocation Stock Info” is recommended as a ready-made solution that displays stock levels per location on product and collection pages, similar to IKEA’s interface.

Technical Challenges:
Several users report difficulty accessing per-location inventory data via Liquid or JavaScript. The .store_availabilities array only indicates availability (yes/no), not quantities, and requires local pickup to be enabled. One developer suggests using Shopify’s Admin API (unstable version) via a custom app on an external server to retrieve inventory levels by location.

Status: The discussion remains open with no native Shopify solution identified; users must choose between custom development, third-party apps, or API-based workarounds.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hi @vanderschueren , as explained before, you need to apply a custom code that is different based on your theme. I recommend reaching out to a Shopify Partner for support.