# Liquid Tags

Source: https://support.storeconnect.com/articles/liquid-tags · Last modified 21 August 2026

Liquid tags use the `{% %}` syntax and perform actions rather than output values. StoreConnect extends standard Liquid with its own set of tags covering template structure, data access, HTTP responses, caching, and more.

Tags come in two forms:

- **Simple tags** — a single self-contained tag: `{% tag_name options %}`
- **Block tags** — an opening and closing pair that wrap content: `{% tag_name options %}...{% endtag_name %}`

Each tag below links to its own article with the full syntax and worked
examples. To read the whole set on one page instead, including the standard
Liquid control-flow tags, see the [Liquid tags reference](liquid-tags-reference).

## Template structure

- [Layout - Liquid Tag Reference](layout-tag-reference) — specifies which layout template wraps the current page
- [Render - Liquid Tag Reference](render-tag-reference) — renders a snippet template with optional parameters
- [Component - Liquid Tag Reference](component-tag-reference) — renders a reusable component with support for lazy loading and event-based reload
- [Require - Liquid Tag Reference](require-tag-reference) — includes a CSS or JavaScript resource, deduplicated across the page
- [Resource Path - Liquid Tag Reference](resource-path-tag-reference) — outputs the resolved path to a theme resource

## Variables & data

- [Default - Liquid Tag Reference](default-tag-reference) — sets default values for variables not already defined in the template context
- [Variables - Liquid Tag Reference](variables-tag-reference) — declares and initializes multiple template variables in one place
- [New - Liquid Tag Reference](new-tag-reference) — creates new objects: UUID, List, Map, or random number
- [Struct - Liquid Tag Reference](struct-tag-reference) — creates a typed, schema-validated data structure
- [Session - Liquid Tag Reference](session-tag-reference) — persists variables in the user's session across requests
- [Context - Liquid Tag Reference](context-tag-reference) — defines context variables available within a component template

## Querying records

- [Query - Liquid Tag Reference](query-tag-reference) — fetches Salesforce records from within a Liquid template; see also [Liquid query](liquid-query) for full usage guidance

## Forms

- [Form - Liquid Tag Reference](form-tag-reference) — wraps a form block with a registered form object, making it available as `form` inside the block

## Pagination & caching

- [Paginate - Liquid Tag Reference](paginate-tag-reference) — paginates a collection or array with configurable page size and window
- [Cache - Liquid Tag Reference](cache-tag-reference) — caches a block of rendered output for a configurable duration

## HTTP responses

These tags are used in Liquid controllers to control the HTTP response.

- [Params - Liquid Tag Reference](params-tag-reference) — sets controller parameters
- [Respond - Liquid Tag Reference](respond-tag-reference) — sends a custom HTTP response from a controller
- [Redirect - Liquid Tag Reference](redirect-tag-reference) — redirects the request to another URL
- [Header - Liquid Tag Reference](header-tag-reference) — adds a custom HTTP response header
- [Update - Liquid Tag Reference](update-tag-reference) — updates custom data on a Salesforce object
- [Action - Liquid Tag Reference](action-tag-reference) — executes a named controller action

## Controller lifecycle

These block tags render their content only during a specific phase of a Liquid controller's execution.

- [Before - Liquid Tag Reference](before-tag-reference) — runs in the before phase
- [After - Liquid Tag Reference](after-tag-reference) — runs in the after phase
- [Final - Liquid Tag Reference](final-tag-reference) — runs in the final phase

## API & events

- [API - Liquid Tag Reference](api-tag-reference) — makes an outbound HTTP API call from within a template, with the response available inside the block
- [Process Event - Liquid Tag Reference](process-event-tag-reference) — processes an event object and injects its methods into the template context

## Debugging

- [Debug - Liquid Tag Reference](debug-tag-reference) — logs variable values and messages to the session debug output
- [Timer - Liquid Tag Reference](timer-tag-reference) — measures and logs the execution time of a template block

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/liquid-tags