Skip to main content

Hello,
I used to use the Klaviyo Back in stock button in my Shopify store and everything was running good.

Suddenly, since several days, the Back in stock button shows and disappears randomly from my store. Sometime, it is live and sometimes not.

In my theme.liquid file, I have this error in the Klaviyo script.

Line code: <script src="https://a.klaviyo.com/media/js/onsite/onsite.js"></script>

Error: Avoid parser blocking script by adding 'defer' or 'async' in this tag

Can someone help?

Thank you very much!

Hey @zied_drira 

Thanks for reaching to the community for help with your Shopify Back in Stock button. 

I was able to see that you had a support ticket, and the challenge is that you are using a custom theme in Shopify. Unfortunately we are unable to support custom integration/themes. Please reach out to your developer for continued help on solving this challenge.

We appreciate your participation on community and look forward to seeing you again!


Reply