Is there a way to refresh the product data on a Shopify page via Javascript, that also updates Klaviyo’s Back in Stock functionality? We have a Shopify site that has products split by color, but the products are linked and fetched on a single product page. Ideally when another product is fetched, we’d like the Klaviyo Back in Stock to refresh the new product’s data, but I haven’t found a way to do that, so I’m wondering if it’s even possible. Thank you!
Answer
Refreshing back in stock via JS on Shopify
Best answer by whereisjad
https://developers.klaviyo.com/en/reference/create_client_back_in_stock_subscription
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

