Skip to main content
Contributor IV
September 16, 2021
Solved

Back In Stock Notification for only one Shopify Location

  • September 16, 2021
  • 23 replies
  • 2483 views

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={{ catalog_item.variant.id }}{% endcatalog %}

Best answer by Dov

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.

23 replies

Contributor I
January 14, 2025


?name=inline-1514331663.png
 

 

@alex.hong Can we use this idea, but towards 2 online warehouses, instead of POS and online? I have an EU and UK warehouse, and an OOS collection for each. Trying to work around the same issue.

 

Many thanks,
Bonnie

Contributor I
June 17, 2025

Hi!

 

We had a similar issue and we solved with adding several product feeds to Klaviyo.

For example if you have two warehouses and two of them different inventories. You can create a feed with the available inventory number per warehouses. Then you can connect them to Klaviyo. Put a prefix to the product IDs like country code of the warehouse. For example if you have warehouses in US and CA, put the prefix US_ to product id in the feed of US warehouse and put CA_ prefix in product_id in CA feed.

 

Then in the website you can setup the back in stock with this https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock just change the $shopify to $custom and put the prefix before the variant_id. (you can do it with Shopify current country)

 

Then the flow from Klaviyo will work with these feeds and send the back in stock email when you have the stock per warehouses.

Contributor I
August 12, 2025

Hi ​@umuthan

Did you mean creating a custom catalog source in Klaviyo? If yes, did you create a custom app to create the JSON/XML feed to create the custom catalogue source in Klaviyo?

If you could tell us how you solve that issue in more detail, then it would help us tremendously, as we’re facing this issue as well for our US warehouse, which we launched recently alongside our UK-based primary location.

Thanks in advance.