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!
https://developers.klaviyo.com/en/reference/create_client_back_in_stock_subscription
uKlaviyo / Onsite] Initializing.
onsite.js:144 .Klaviyo / Onsite] Executing: init
onsite.js:144 .Klaviyo / Onsite] Executing: enable
onsite.js:144 .Klaviyo / Onsite] Variants: 6 Unavailable Variants: 0
If you determine a way to tap into it and call the init method, you’ll be my hero.
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.