Old Page Not Working On New Theme

Topic summary

Issue: After upgrading from a vintage Shopify theme to a newer JSON-based theme, some pages stopped working. The user is unsure how to migrate customizations from .liquid to .json.

Key guidance: JSON templates still reference Liquid files (sections/snippets). You must locate the Liquid section a JSON template calls and edit there, or use the theme editor’s “Custom liquid” block for small, inline code.

Latest update: Pasting code into a Custom liquid block triggered “Liquid syntax error (line 79): Unknown tag ‘schema’.” This suggests a full section (which includes a schema) was pasted into a block that doesn’t support section schema.

Actionable steps: Put the full section code into a proper section file in the theme’s Sections directory, then reference/add it via the JSON template or theme editor. Use Custom liquid only for snippet-level code, not entire sections.

Status: No confirmed fix yet; guidance provided, awaiting user implementation. Terms: Liquid = Shopify templating language; JSON template = page structure; schema = section settings, valid only inside section files.

Summarized with AI on January 2. AI used: gpt-5.

Hello!

I had a vintage theme my company was using that wasn’t allowing me to edit or add more sections. I was recommended to update and get the newest version of the theme and transfer over a bunch of things from my old theme. Most transferred well, but some pages are not working. I was told I need to “add the customization as well on the current theme” through some kind of coding but I believe my old theme was .liquid and my new theme is .json. Does anyone know how I can fix this?

Thanks!

Check JSON files they are also using .liquid files

I mean within the JSON files they called the liquid file you just have to find which one you need to edit.

Or in the theme customization option there is a custom liquid block available where you can insert your custom code.

1 Like

Hello!

Thanks so much. I got to the point where I added the Custom Liquid but I get the error “Liquid syntax error (line 79): Unknown tag ‘schema’”. If I delete the tag ‘schema’ it messes up the code. Any tips?

Sounds like you are trying to paste a section code in custom liquid block which is completely wrong.

You need to copy the section code in the section file.