Showing quantity on PDP that is available to ship with multiple locations set up for pickup

I am trying to better understand why this product shows 5 available when I use variant.inventory_quantity to display the quantity on the PDP. The selected store has 0 quantity available, but in the back-end one store has 5 and another has 2 available. In total, there’s 7 available.

The locations that this item is stocked at are set up for pick-up only. There is a single location used by this merchant to handle shipping for online orders.

What I want to be able to do is display quantity for the variant that can be shipped from the warehouse.


Hey @justinb :waving_hand: - I can’t say for sure as it depends on a specific shop’s set-up, but a similar situation that I’ve seen happen is that a particular location was set up to fulfill online orders even if the user hadn’t selected it as the desired store on the shop page.

I’m wondering if this is what’s happening here. Just for example, let’s say the Chicoutimi shop is enabled for online sale fulfillment (shipping/local delivery) for any customer (even if they’ve selected the Drummondville shop as their desired location on the frontend), but the Ste-Therese shop is only set up to allow in-store pickup/delivery.

This could be why we’re only seeing 5 items available for online purchase.

Again, not totally sure if this is what is happening here without more info, but I have seen this situation pop up before so thought it might help.

If that doesn’t resolve the issue, just ping me here in this thread (if you can share a shop ID, I can take a closer look). Hope this helps!