Hi There
I’m trying to add a sign up form to a section on my website - this is the code
shopify is saying the JSON is wrong - help please, I’m lost !
Thanks in advance
Hi There
I’m trying to add a sign up form to a section on my website - this is the code
shopify is saying the JSON is wrong - help please, I’m lost !
Thanks in advance
Hey, @cubbytime
Happy to look into this. Where abouts are you trying to add this to your theme? Within the theme editor in a section or in a particular page that you’ve created? Also, could you provide a screenshot of the error you are seeing when attempting to paste the code?
If there is anything else I can help you with, please let me know.
Ok great -Please see the screenshot below, showing you the klaviyo code, the error message and where I’m trying to place the code ![]()
Hey, @cubbytime
Thanks for the info. Is there a particular reason you are trying to add a contact-form block into the klaviyo.liquid file?
In my experience, you would paste that block code into either an HTML section within your theme editor, OR from within a page/blog post. I’d recommend checking out Klaviyo’s documentation on sign-up forms here. From there, you can also get in touch with their support team for installation assistance with their app.
If there is anything else I can help you with, please let me know.
Gotcha, so as you can see from the screenshot in Klaviyo’s instructions, you are to add the shortcode to wherever you want that form to show. This means you will add within your theme editor into an HTML section. The code does not go into your themes hardcoded theme files (klaviyo.liquid).
You can add it to your homepage by going to Admin > Online Store > Themes > Customize
If there is anything else I can help you with, please let me know.