Back In Stock Notification for only one Shopify Location

  • 17 September 2021
  • 6 replies

Badge +2

We have back in stock notifications set up with our Shopify store but we have multiple store locations where inventory is tracked. 

We have an Online store (where online orders are fulfilled) and a retail store where inventory is separated for retail. 

I noticed that when we marked a product in stock at our retail location (that we didn’t want to restock at our online location) a customer was alerted. (They went to the product page and it was still listed as sold out). 

Is there a way I can only alert people when something is restocked at our online store location. I imagine this can be a dynamic event variable on the product detail in the code. 


For example, similar to variant URL (below) there could be one for “Location”.


Thanks so much for your help! :)

Variant URL

{% catalog event.VariantId integration='shopify' %}{{ catalog_item.url }}?variant={{ }}{% endcatalog %}


Best answer by Dov 17 September 2021, 16:49

View original

6 replies

Userlevel 7
Badge +61

Hello @Nikki,

At this time, Klaviyo does not offer the ability to differentiate between locations when using Klaviyo's pre-built Back in Stock option for Shopify. The only way to achieve this would be to create two separate Klaviyo accounts (one for the physical store and one for retail store) and connect a unique Shopify URL (store) to each Klaviyo account and run each independently with their own respective Back in Stock flows.

That said, the ability for Klaviyo to distinguish between location-based inventory for Back in Stock is a previously requested feature and I have added your insight to our existing feature request.

We appreciate your patience and understanding with the current limitations. In the meantime, as another alternative, you can consider incorporating elements of the custom Back in Stock abilities outlined here: Shopify Back in Stock for Developers. If you’d like assistance with this, I recommend reaching out to one of our partners.

Thank you and have a great weekend.

Badge +2

Okay, great! 


Thank you!


Hi @Dov , 

I have a follow up question on the back in stock flow and multiple locations.

We sell mainly online but have a few other locations (department stores) that sometimes get some restock and at the moment Klaviyo can’t make the difference and therefore contacts customers about new porducts available when they are not.

What is the key field that is used for the back in stock trigger?  Could a workaround be to create a different SKU or Product name in Shopify for in store products for us to track online vs in store stock for example?



Userlevel 7
Badge +57

Hi there @quentin

You are right that there is no differentiation between brick-and-mortar for Shopify. 

Unfortunately, Klaviyo cannot distinguish between location-based inventory for Back in Stock. That said, this is a widely requested feature, and I have added your insight to our existing feature request. Although I cannot provide you with an exact timeframe yet, our Product Team is working hard to release this feature sometime this year. 

We appreciate your patience and understanding with the current limitations. In the meantime, you might consider incorporating elements of the more custom Back in Stock abilities outlined here: Set Up Back in Stock via API

For example, you can use Shopify's Location Inventory API's to retrieve location-specific inventory information about your items, then send that information into Klaviyo. From there, you can use that information to set filters which would prevent Back in Stock emails from going out to recipients who have Subscribed to Back in Stock for items that are only in stock in your physical location. 

Another workaround solution would be to create a Category within your Shopify Store that is titled OUT OF STOCK. As long as you actively manage/update this Category to reflect the items that are out of stock, you can easily add the following Trigger Split to your Back in Stock Flow: 

I hope this helps you to achieve your goals in the meantime.


I would also like to throw my hat in the ring - the ability to differentiate between unique warehouse locations for the BIS flow would be HUGE and is overdue. I’ve had to cancel out hundreds of users in my BIS flow to prevent them from errantly receiving a BIS notification when in fact the product is still out of stock in the warehouse visible to them. The downside to this, of course, is that now those requests are now longer in the queue, so those users will never receive a BIS notification. This is not the functionality we were hoping for and is causing frustration for my brand and also for our shoppers. Please put this on high priority at Klaviyo!

Userlevel 7
Badge +57

Hi there @AJ_Allen,

We appreciate the feedback and although I cannot provide updates at this time, it is indeed on our Product team’s radar as an important update to include for the future.

A workaround or method I can suggest is that you could tag each customer’s profile with a location and then set up BIS Flows for specfic segments with certain tags or profile properties. Or set flows to manual until the products are not out of stock and then let emails send after.

All the best,