Skip to main content
Solved

Subscribers not added on Password Protected Page (Shopify Dawn 2.0)

  • October 18, 2021
  • 1 reply
  • 169 views

Forum|alt.badge.img+2

Hi there!

 

I basically have the same problem listed in this question:

https://community.klaviyo.com/signup%2Dforms%2D38/i%2Dhave%2Da%2Dpassword%2Dprotected%2Dlanding%2Dpage%2Don%2Dmy%2Dshopify%2Dstore%2Dand%2Dmy%2Dsubscribers%2Daren%2Dt%2Dbeing%2Dadded%2Dto%2Da%2Dlist%2Dwhat%2Dshould%2Di%2Ddo%2D340

 

However, I cannot, for the life of me, find the “<input type="hidden" code in ANY of the liquid files and I suspect this is because I am using Shopify 2.0 (Dawn). Can anyone help me?

Best answer by alex.hong

Hi there @Juneinquiries,

Welcome to the Community and thanks for posting your question here!

 

I understand you are having some difficulty with some of Klaviyo’s code snippets, since migrating to Shopify 2.0.
Shopify 2.0 was introduced to allow developers more freedom to edit code in JSON instead of Liquid template theme files within Shopify. The main difference you'll face after upgrading to Shopify 2.0 is that most of the features now rely on JSON templates. Shopify has created this guide, which provides step by step instructions for converting a Liquid template into a JSON template, and moving any required Liquid code into sections that you can include in the new JSON template. 

Hopefully after going through the JSON templates and reviewing their guide, you should be able to find the liquid files. If not, please report back!

 

Have a good day,

Alex

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

alex.hong
Forum|alt.badge.img+58
  • Klaviyo Alum
  • 1552 replies
  • Answer
  • October 18, 2021

Hi there @Juneinquiries,

Welcome to the Community and thanks for posting your question here!

 

I understand you are having some difficulty with some of Klaviyo’s code snippets, since migrating to Shopify 2.0.
Shopify 2.0 was introduced to allow developers more freedom to edit code in JSON instead of Liquid template theme files within Shopify. The main difference you'll face after upgrading to Shopify 2.0 is that most of the features now rely on JSON templates. Shopify has created this guide, which provides step by step instructions for converting a Liquid template into a JSON template, and moving any required Liquid code into sections that you can include in the new JSON template. 

Hopefully after going through the JSON templates and reviewing their guide, you should be able to find the liquid files. If not, please report back!

 

Have a good day,

Alex