Display Stock Levels at Two Locations

Pockets
Explorer
59 3 7

If you are running a multiple location shopify store is there a way to show

"XX in Stock at Location 1"
"XX in Stock at Location 2"

on a product detail page? Currently on a multi location storefront it takes the stock amount from both and displays it as one:

Location 1 = 15
Location 2 = 10
--------------------------
Displays 25 In Stock


Could these be edited somehow to show specific location of stock?
{{ variant.inventory_quantity }}
{{ current_variant.inventory_quantity }}

 

 

 

Thanks again guys

Replies 12 (12)

KarlOffenberger
Shopify Partner
1873 184 900

Hey again 😉

  • via vanilla Liquid objects - nope
  • via Storefront API and say JS - nope, Storefront API 5uck5 even more in that regard (I mean, it's awesome otherwise, but for inventory it just says yep, got some, nope got none which is meh)
  • via Admin API - yup, but this is where you enter the realm of needing private / public app, app proxy to relay back to Liquid template and most importantly some VERY aggressive caching because with the API bucket throttling, hitting the API for every product page view would result in tears and very offensive language

Just my 2c!

AngieGrieco
Tourist
4 0 0

Hi Karl! Could you give us some idea about a shopify application proxy? An example or docu? Thanks! Angeles

Pockets
Explorer
59 3 7

Thanks again Karl!

Thomas_Lang1
Shopify Partner
234 6 54

Hi!, I got this request multiple times, so created an app for it, check it out if you still need the functionality: https://apps.shopify.com/product-inventory-information

Software Developer | Owner of Tom IT - We build shopify apps
Marketplace Order Connector | Amazon bol.com & Walmart DSV
Order Related Documents | Print documents, Email document &Autoprint
Blog Product Spotlight | Add products to your blog articles!

Koray
Shopify Partner
8 0 11

@Thomas_Lang1 

Are you doing this with Liquid Objects or using API and storing the inventory levels at your end?  I can't find a way to do this using the Objects, so I m just curious.

Thomas_Lang1
Shopify Partner
234 6 54

Hi! We are storing it on our end indeed

 

 

Software Developer | Owner of Tom IT - We build shopify apps
Marketplace Order Connector | Amazon bol.com & Walmart DSV
Order Related Documents | Print documents, Email document &Autoprint
Blog Product Spotlight | Add products to your blog articles!

Koray
Shopify Partner
8 0 11

Got it, thanks.  I thought so, but I just wanted to be sure if I was missing something that I was not aware of 🙂

Paola_MoonMoon
Shopify Partner
2 0 1

Hi Pockets, 

 

I'm in the same situation, and I didn't find the answer. 

Did you use the Admin API, and then display specific location of stock ?

 

Thanks for your answer 🙂

 

Paola

AngieGrieco
Tourist
4 0 0

Hello I'm trying to do the same. If someone found how please a tip?!! Thanks

Keegan10
Shopify Partner
10 0 0

Hi there, 

 

We recently built a Select A Store app for Shopify. It allows consumers to select their preferred store and then browse your Shopify website. This way, your consumers can see the inventory available at their preferred location as they shop your website. (It's the same way the big box retailers do it.) It provides the best user experience all the way through the checkout flow. 

 

Consumers can also toggle to see the inventory available at other locations too. 

 

Here is a video so you can see an overview of how the app works as well as see it in action on some other brick-and-mortar retailers using Shopify. 

 

 

Hope this helps with a great user experience on your website for your customers!

edcorusa
Excursionist
21 0 26

I am also looking for a good work around. We are a manufacturer that ships every thing out of one location. We have two forms of inventory "Finished Goods" and "Sub-Assemblies". And, when we are out of stock on both of them, the items is "Built to order". Currently we can only show a total of the inventories. We thought by making two locations, "Finished Goods" and "Sub-Assemblies", that we could find a way to show the stock of each. But with no luck. We tried one app that stated they could do that, but they could not have it say "Built to order" when there is no stock. Is there an app and some code that could help with this? We do not need maps and store info as we are just one location. It seems most apps that I have found are built for fancy maps and info.