Displaying inventory locations for each line item in cart page

Hi!

Anyone know of any app that can display the inventory locations where the line item is in stock on the cart page?

For context, we are using the displayed locations for a customisation we built for our store. It checks if a line item has stock in specific locations, and uses that to do a few other things

Currently, we are using Geostock but recently we found that the app is showing some issues for a few of our customers.

We’ve considered building our own but would like to check first if there are other apps that can meet our requirements. Suggestions are very much appreciated, thank you!

Hi @ryanpersuasion

Here’s a straightforward solution to your concern.

If you’re looking for an app that can display inventory locations on the cart page and Geostock is causing issues, here are some alternatives to consider:

1. StockyPhi: Multi Location Inventory

StockyPhi is a popular Shopify app that supports multi-location inventory management. It can display the availability of products across multiple locations, which seems like a good match for your needs. It’s reliable for real-time updates and integrates smoothly with the cart functionality.

2. Multi-Location Inventory Info by Buddy Apps

This app is tailored for stores needing precise stock location details. It allows you to show inventory levels for specific locations on your cart or product pages. Plus, it’s easy to configure for customization purposes like yours.

3. Simple Inventory

While primarily focused on inventory management, Simple Inventory includes features for multi-location visibility. It’s user-friendly and works well for displaying stock availability.

4. Custom Build Option

If you still can’t find an app that fully aligns with your customization requirements, building your own solution might be the best route. Using Shopify’s Liquid code, you can fetch inventory location data with APIs like InventoryLevel and display it on your cart page. Below is a simple Liquid snippet to get started:

Example Code: Display Inventory by Location

{% for line_item in cart.items %}

Product: {{ line_item.product.title }}

    {% for inventory in line_item.product.variants[0].inventory_levels %}

  • {{ inventory.location.name }}: {{ inventory.available }}
  • {% endfor %}

{% endfor %}

This assumes you’re using Shopify’s multi-location feature, and it pulls inventory data for each item in the cart.

My Personal Opinion

If you’re managing a lot of stock or have specific conditions (e.g., triggering customizations based on locations), I’d recommend trying out StockyPhi or Buddy Apps. They’re designed for these scenarios and might save you the time of building something custom.

However, if you want absolute control and flexibility, building your own solution is often worth it—especially when your customizations depend on accurate location data. Just keep in mind that it will require ongoing maintenance.

If you need help setting up any of these apps or building a custom feature, let me know. I’m happy to guide you through it.

If you need any other assistance, feel free to reply and I will try my best to respond.
Best regards,
Daisy

Hi @ryanpersuasion

I am from Mageplaza - Shopify solution expert. I am happy to assist you further to address your question above. Moving forward, please clarify further to enable me to provide you with a specific solution.

  • Could you provide more details on how the store is currently using stock location information on the cart page? What issues are you experiencing with Geostock?
  • What improvements do you expect from the replacement app?
    Hope to hear from you!