Skip to main content

What It Does

The Page template is an empty section file used as a wrapper for basic Shopify pages (created in Admin → Online Store → Pages). This file contains no content or settings—it serves only as a template assignment placeholder.
This is an empty template wrapper with no content or customizable settings. Page content comes from Shopify Admin pages, not this template file.

How It Works

Template Purpose

Standard Shopify architecture:
  • Pages created in Admin → Online Store → Pages
  • Each page assigned a template (default: page.json or page.liquid)
  • Template wraps page content with header, footer, and sections
page.liquid section:
  • Empty file (no liquid code, no schema)
  • Acts as placeholder for template system
  • Actual page content rendered by Shopify’s page object ({{ page.content }})
  • Header and footer sections wrap page automatically

Page Content Source

Content comes from Admin:
  1. Shopify Admin → Online Store → Pages
  2. Create/Edit page
  3. Enter title, content (rich text editor)
  4. Publish page
  5. Page displays on storefront at /pages/[page-handle]
Template just wraps it:
  • Header (navigation)
  • Page content (from Admin)
  • Footer (footer links, copyright)

Creating & Editing Pages

In Shopify Admin

Steps:
  1. Online Store → Pages → Add page
  2. Enter page title (e.g., “About Us,” “Shipping Policy”)
  3. Write content in rich text editor (supports formatting, images, links)
  4. Set SEO metadata (title, description)
  5. Select template (usually “Default page” which uses page.liquid)
  6. Set visibility (Published / Hidden)
  7. Save
Result: Page accessible at yourstore.com/pages/[page-handle]

Common Page Types

Standard store pages:
  • About Us
  • Contact Us (or use Contact form section instead)
  • Shipping Policy
  • Return Policy / Refund Policy
  • Privacy Policy
  • Terms of Service / Terms & Conditions
  • FAQ / Help Center
  • Sizing Guide
  • Store Locator (or use dedicated section)

Best practices

Use Rich Content Editor

Shopify rich text editor supports formatting, images, links. No HTML/code needed for basic pages.

SEO Metadata

Set page title and meta description in Admin. Helps search engines index pages, improves SEO.

Link from Navigation

Add important pages to main navigation (Header menu). Customers can easily find About, Policies, Contact pages.

Footer Links

Add policy pages (Privacy, Terms, Refund) to footer. Standard e-commerce practice, builds trust.
  • [Main Page Template](/themes/mojave/pages-templates/page - Main page template (if different from this empty wrapper)
  • Contact Page - Contact form template
  • Header - Navigation that links to pages
  • Footer - Footer that links to policy pages

Technical Notes

Empty File

File contents:
  • page.liquid contains no code (empty file)
  • Template system expects file to exist (placeholder)
  • Actual page rendering handled by Shopify core (not theme)
Why empty:
  • Theme may use page.json (JSON template) instead of page.liquid
  • Or uses different page template structure
  • This file exists for backwards compatibility or template assignment

Template Assignment

Each page can use different template:
  • Default: page (uses page.liquid or page.json)
  • Custom: page.contact, page.about, etc. (custom page templates)
  • Selected in Admin → Pages → [Page] → Template dropdown
Custom page templates:
  • Create custom templates for specific pages (e.g., page.about.liquid)
  • Add custom sections, layouts
  • Assign to specific pages in Admin

Key Takeaways

  • Empty template file - No content, no settings, acts as wrapper placeholder
  • Page content in Admin - Create/edit pages in Online Store → Pages
  • Automatic wrapping - Header and footer wrap page content automatically
  • No customization here - To modify page layout, edit template JSON/Liquid or use custom page templates
  • Standard pages - About, Policies, FAQ, etc. created as Shopify pages using this template
  • SEO important - Set page title/description in Admin for search engine optimization
To create pages, go to Shopify Admin → Online Store → Pages → Add page. For custom page layouts, create custom page templates or use page sections.