Liquid is the backbone of dynamic content rendering in your StoreConnect theme. It acts as the bridge between your store's data and its visual presentation, allowing you to create flexible, personalized, and data-driven experiences for visitors—all within your HTML and theme files.
Liquid is a templating language originally created by Shopify and deeply integrated into StoreConnect to power storefront customization. It allows developers and designers to embed logic into otherwise static content. This logic includes things like conditions, loops, data access, and output formatting—all written in a syntax that is clean, readable, and safe to use within HTML.
At its core, Liquid is used to:
Access and display dynamic data (e.g., customer names, product prices, store details).
Make decisions based on logic (e.g., if a user is logged in, if a product is on sale).
Iterate over lists of items (e.g., product collections, menu items, tags).
Include and reuse content components (e.g., headers, footers, sections).
Manage personalization through session data.