Key Features
Discover the powerful capabilities that make Sline the next-generation compiled engine powering SHOPLINE Online Store 3.0 and the Bottle theme
Compiled Go Engine
A self-developed Golang compiled template engine that pre-compiles templates at deploy time. Unlike interpreted engines (Liquid/Handlebars), Sline delivers up to 4x faster rendering — ensuring your store responds instantly at peak traffic.
150+ E-commerce Components
Over 150 highly modular, ready-to-use components covering product details, shopping cart, checkout, user accounts, and more. Each component is purpose-built for e-commerce — from variant selectors to pricing displays — so you build storefronts faster.
Theme Event System
Built-in event handling for e-commerce interactions: product browsing, variant selection, cart updates, and form submissions. Create rich, interactive shopping experiences with automatic state management — no manual wiring required.
Five-Level Block Nesting
Industry-leading five-level block nesting gives you unprecedented control over page layouts. Combine sections, blocks, and sub-blocks in deeply layered hierarchies — enabling storefront designs that rival custom-built websites, all within the theme editor.
True Component Architecture
Sline introduces genuine component encapsulation with explicit props passing. Each component owns its own scoped context — data must be explicitly declared and passed in. This eliminates context pollution, making themes more maintainable, testable, and robust at scale.
Pipeline Operators & Built-in Tags
Chain data transformations with Sline's expressive pipeline operators for filtering, formatting, and appending values in a single line. Plus dedicated built-in tags for image rendering, placeholder SVGs, and content blocks that handle common e-commerce rendering needs without custom code, keeping templates clean and declarative.
Syntax Comparison
See how Sline's modern, component-oriented syntax compares to Liquid — SHOPLINE's compiled engine for Online Store 3.0
{% case user.account.type %}
{% when 'premium' %}
Premium user
{% when 'basic' %}
Basic user
{% endcase %}
{% for product in products %}
{{ product.title }}
{% endfor %}
{% unless items.size > 0 %}content{% endunless %}
{{#switch user.account.type}}
{{#case "premium" /}}
Premium user
{{#case "basic" /}}
Basic user
{{/switch}}
{{#for product in products}}
{{ product.title }}
{{/for}}
{{#if !(items|size() > 0)}}content{{/if}}
Why Choose Sline
Backed by official SHOPLINE documentation — here are the concrete advantages that set Sline apart
Compiled Go Engine
Pre-compiled at deploy time
Up to 4x Faster
Vs. interpreted engines
150+ Components
Full e-commerce coverage
Enterprise Grade
Backed by SHOPLINE
Ready to Get Started?
Dive deeper into how Sline powers SHOPLINE Online Store 3.0 themes. Check out our detailed comparison with other template engines, or learn how to build amazing themes with SHOPLINE CLI.