Liquid controllers
On this page
A Liquid controller runs your own logic around a page render, on the server,
without Apex. Each storefront controller has a matching template directory under
controllers/, and a template placed there runs before or after the action it
is named for.
Use this index to find the controller behind a route. Each article lists that controller’s actions with their HTTP method, route, the Liquid page rendered, and what the action does.
For how controllers work and what you can do inside one, read the Liquid controllers guide first. The action tags themselves are documented under Liquid tags.
Complete route list
Every route the storefront serves, including those with no Liquid controller behind them, is listed in Storefront routes.
Accounts and sessions
- Accounts — sign-in, registration, and the account page
- Account profiles — editing contact details
- Account orders — order history
- Account subscriptions — a customer’s subscriptions
- Account subscription payments — paying a subscription
- Account attendees — booking attendees on the account
Catalog and search
- Products — product pages and add-to-cart
- Taxons — category pages
- Searches — search results
- Product comparisons — the comparison view
- Bundles — bundle configuration
- Buy buttons — direct-to-cart links
Cart
- Carts — the cart itself
- Cart items — adding, updating, and removing items
- Cart selections — selections within a cart
Checkout
- Checkout customer information — the customer details step
- Checkout shipping information — the shipping step
- Checkout payment information — the payment details step
- Checkout payments — submitting payment
- Checkout accept terms — terms acceptance
- Checkout orders — order placement
- Checkout promotion — applying and removing promotion codes
- Checkout applied credits — account credit
- Checkout applied vouchers — vouchers
- Additional payments — paying an outstanding balance
Orders and vouchers
- Orders — order pages after checkout
- Vouchers — voucher lookup
- Voucher activations — activating a voucher
Content
- CMS content pages — content pages
- CMS articles — articles
- Form submission — custom form submissions
Location and privacy
- Locations — the location finder
- Geolocations — visitor geolocation
- Privacy — cookie and privacy choices
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.