<!-- Generated by vite-plugin-geo; source: section/index.html -->

[Skip to content](#main-content)

[![](/sline-logo.png)Sline](/)

Sline

[Sline overview](/)[Theme Sections](/section/)[AST Explorer](/sline-ast-explorer/)

Guides

[Sline language guide](/sline-template/)[Syntax comparison](/sline-vs-handlebars-vs-liquid/)[Migration cookbook](/liquid-handlebars-sline/)[Dawn vs Bottle](/Shopify-Dawn-vs-Shopline-Bottle/)[OS 3.0 migration](/shopline-transformation/)[Theme CLI](/sline-theme-cli/)

MCP

[SHOPLINE Dev MCP](/mcp/)[Storefront MCP](/storefront-mcp/)[Shopline MCP](/shopline-mcp/)

Tools

[SkuSync](/skusync/)[SHOPLINE to Shopify](/convert-shopline-csv-to-shopify-format/)[Shopify to SHOPLINE](/convert-shopify-csv-to-shopline-xlsx/)[AI Readiness Checker](/ai-checker/)[SkuSync Docs](/docs/)[Shopline Checker](/shopline-checker/)[Shopline Helper](/shopline-helper/)[ImgSEO](/imgseo/)[ImgSEO Guide](/imgseo-doc/)

Menu

## Sline

[Sline overview](/)[Theme Sections](/section/)[AST Explorer](/sline-ast-explorer/)

## Guides

[Sline language guide](/sline-template/)[Syntax comparison](/sline-vs-handlebars-vs-liquid/)[Migration cookbook](/liquid-handlebars-sline/)[Dawn vs Bottle](/Shopify-Dawn-vs-Shopline-Bottle/)[OS 3.0 migration](/shopline-transformation/)[Theme CLI](/sline-theme-cli/)

## MCP

[SHOPLINE Dev MCP](/mcp/)[Storefront MCP](/storefront-mcp/)[Shopline MCP](/shopline-mcp/)

## Tools

[SkuSync](/skusync/)[SHOPLINE to Shopify](/convert-shopline-csv-to-shopify-format/)[Shopify to SHOPLINE](/convert-shopify-csv-to-shopline-xlsx/)[AI Readiness Checker](/ai-checker/)[SkuSync Docs](/docs/)[Shopline Checker](/shopline-checker/)[Shopline Helper](/shopline-helper/)[ImgSEO](/imgseo/)[ImgSEO Guide](/imgseo-doc/)

S

sline.dev/section

# SHOPLINE Online Store 3.0 Sections 🛍️

## Build flexible storefront pages from merchant-editable modules.

Sections are the core elements used to construct theme pages. Each section defines the structure and functionality of a page module, and merchants can add, delete, move, and edit sections in the theme editor.

🏗️

### Section Files

Every section has its own directory under the theme's sections directory. It must contain an .html file with the same name, while matching .css and .js files are optional.

The .html file generally contains the section layout and its schema configuration. Merchant settings declared in the schema are available through section.settings.

### Private Blocks 🧱

Private blocks live in a blocks directory inside their section. They let developers divide a section's functionality into smaller modules and assemble those modules in the section.

Block templates receive predefined values through the props object. Sections render them with Sline block tags and declare the available block types in the section schema.

### Asynchronous Rendering 🔄

Send AJAX requests to fetch HTML snippets for specific sections, then use those snippets to replace page elements dynamically.

This updates section content without reloading the entire page. SHOPLINE's Section Rendering API provides the asynchronous rendering capability.

### Section Schema ⚙️

A section schema can define name, class, tag, settings, blocks, max\_blocks, limit, presets, and icon attributes. Settings become editable controls in the theme editor.

The schema tag declares configuration and does not render content. Settings IDs must be unique, and a section needs at least one preset to appear when merchants add sections in the editor.

### Section Groups ✨

A section group collects related sections and their configurations so they render together. Groups are defined in JSON files stored at the root of the sections directory, typically as header-group.json and footer-group.json.

Layouts reference groups with the Sline sections tag. In the theme editor, merchants can add, delete, and reorder the sections within a group.

### Fixed Sections 👨‍💻

Fixed sections are referenced directly from a theme layout with the Sline section tag. They are intended for parts of the theme that must remain in a defined position.

Merchants can change a fixed section's settings, but they cannot add, delete, or rearrange the section through the theme editor.

## Build with SHOPLINE Online Store 3.0 🚀

Use the official guide to create, configure, group, and render theme sections.

For hands-on preparation, read [Sline basics (Chinese)](/sline-template/) and the [Dawn and Bottle architecture comparison (Chinese)](/Shopify-Dawn-vs-Shopline-Bottle/). Inspect template syntax with the [AST Explorer](/sline-ast-explorer/), or follow the [SHOPLINE CLI workflow (Chinese)](/sline-theme-cli/) for theme preview and delivery.

[Read the Official Sections Guide](https://developer.shopline.com/docs/online-store-3-0-themes/theme-structure/sections/)

[![](/sline-logo.png)Sline](/)

Developer resources and browser tools for SHOPLINE themes, storefronts, and product data.

## Sline

- [Sline overview](/)
- [Theme Sections](/section/)
- [AST Explorer](/sline-ast-explorer/)

## Guides

- [Sline language guide](/sline-template/)
- [Syntax comparison](/sline-vs-handlebars-vs-liquid/)
- [Migration cookbook](/liquid-handlebars-sline/)
- [Dawn vs Bottle](/Shopify-Dawn-vs-Shopline-Bottle/)
- [OS 3.0 migration](/shopline-transformation/)
- [Theme CLI](/sline-theme-cli/)

## MCP

- [SHOPLINE Dev MCP](/mcp/)
- [Storefront MCP](/storefront-mcp/)
- [Shopline MCP](/shopline-mcp/)

## Tools

- [SkuSync](/skusync/)
- [SHOPLINE to Shopify](/convert-shopline-csv-to-shopify-format/)
- [Shopify to SHOPLINE](/convert-shopify-csv-to-shopline-xlsx/)
- [AI Readiness Checker](/ai-checker/)
- [SkuSync Docs](/docs/)
- [Shopline Checker](/shopline-checker/)
- [Shopline Helper](/shopline-helper/)
- [ImgSEO](/imgseo/)
- [ImgSEO Guide](/imgseo-doc/)

## Community & Support

- [SHOPLINE documentation](https://developer.shopline.com/docs/sline/)
- [GitHub](https://github.com/shoplineos/)
- [Report an issue](https://github.com/shoplineos/Bottle/issues)
- [Contact](mailto:hi@sline.dev)
- [SKU.md](https://sku.md)
- [Disclaimer](/disclaimer/)

## Languages

[English](/)[简体中文](/zh-cn/)[繁體中文](/zh-tw/)[日本語](/ja/)

© 2026 Sline.dev. All rights reserved.
