Display back in stock when "Continue selling when out of stock" is true

  • 15 April 2021
  • 1 reply

Badge +2

Is there a way to display the “notify me when available” when the the continue selling policy is true? I tried with display_on_policy_continue but the store was created after December 2017 so nothing appears. Is there any other way to do it?


Best answer by Dov 16 April 2021, 17:51

View original

1 reply

Userlevel 7
Badge +61

Hi @estefania.regalado,

Thank you for sharing your question with the Klaviyo Community.

I am afraid not. This is because Shopify used to expose in the JSON of the product page the following:

inventory_quantity property

Then on Dec 2017, Shopify decided to make any new stores not expose that property. It is not possible to determine if a product is out of stock and available without considering both available=true and inventory_quantity==0 . Therefore, without that quantity exposed in the JSON, there is no way for us to target and make the “Notify Me When Available Button” display for stores created after this date.

Apologies for the inconvenience here. I hope you have a great weekend.