Back in Stock for specific product only

  • 22 March 2021
  • 1 reply

Badge +3

Hi there,

We’ve recently signed up to use Klaviyo and have gone through all the integration with our Shopify store and set up some Flows.

I’d like to get the Back in Stock flow setup, but we would only require it on certain products i.e the ones that I know for sure will be coming back in stock. Other may be sold out and not to be replenished for a while.

Is this possible? I’ve looked through the integration of the Back in Stock button for Shopify but it doesn’t mention only showing it for specific products.



Best answer by caroline 23 March 2021, 16:09

View original

1 reply

Userlevel 5
Badge +8

Hi @bath123,

You could likely implement this by only installing the Back in Stock snippet on the pages for those specific products, rather than installing the code in your general theme.liquid file. Alternatively, you might be able to add conditional logic to the theme.liquid file to only add the Back in Stock snippet if the product ID matches the ID of the specific products you’re focusing on.

Shopify Liquid Reference