Theme - minimum mandatory file and folder structure

What is the minimum mandatory file and folder structure, to upload a valid theme to our store?

ie not just a duplicate of the base ‘Dawn’ theme, but if a theme was being created from scratch. I thought it would have been just the layout folder containing theme.liquid

Hey @insert_username ,

The minimum required files are:

  • as you correctly noticed - layout/theme.liquid, but it must be valid, i.e. contain

{{ content_for_header }} and {{ content_for_layout }}

  • and the second mandatory file is templates/index.liquid, it could be empty (or you can use templates/index.json, but it requires any section from the sections/ folder, as you cannot leave the json template empty)

I hope that my reply helps you to resolve the issue. If you need a more detailed explanation or further help in theme developing - just contact me or Mgroup agency by email info@mgroupweb.com and we will help you out.