For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • Overview
  • Learning Plans
    • Developer Foundations
    • Composable Developer
    • Stencil Developer
    • B2B Developer
  • Courses
        • Course Overview
        • Best Practice
    • Learning Changelog
Dev Portal
LogoLogo
On this page
  • Resources
CoursesStencil AdvancedModule 1: Overview

Best Practice

Was this page helpful?
Previous

Course Overview

Next

BigCommerce Stencil Technology Stack

Built with

Plan: Stencil Developer

Lesson 2 of 28 · 5 min

Before you begin this course, complete the checklist below:

  • Complete Stencil Core course
  • Install Stencil CLI
  • Make sure you have a fresh copy of Cornerstone
  • Review Stencil Utils
  • Review Theme Objects > Template Object Reference > Models

Please do not build on top of a theme you have already been working on.

Code Exercise Examples

You can use the code examples provided in this course as you work through the hands-on exercises. We have made it easy to copy and paste the code examples if you are in a rush, but it is best practice to type the code into your Cornerstone theme to fully process the code.

Resources

  • BigCommerce Developer Documentation
  • HTML | Rendering HTML with AJAX
  • CSS
  • Handlebars.js
  • BigCommerce Handlebars Fork
  • YAML Front Matter | Using Front Matter
  • JavaScript
  • Stencil Utils Reference
  • BigCommerce Developer Tools & Resources
  • Stencil CLI Installation 
  • Global Objects and Properties