Platform Fundamentals

30-45 minBeginner

Shopify is a hosted SaaS using the Liquid templating language. Structure is rigid and enforcing.

Intermediate Recommended

Theme Structure

Files and Folders.

1

Directory Layout

1

layout/: Contains theme.liquid (the master HTML wrapper with <head>).

2

templates/: JSON files defining page structures (e.g., product.json, index.json).

3

sections/: Reusable content blocks (HTML + Liquid + Schema).

4

snippets/: Small reusable bits of code (included via {% render %}).

5

assets/: CSS, JS, and Image files.

Verification Checklist

  • Online Store > Edit Code