Guide
Shopify Liquid Cheat Sheet 2026
Linklist (Menu) and Link Objects
Navigation menus built in Online Store → Navigation. Access them with linklists['handle'].
linklists['the-handle']
Access any menu by handle.
{% for link in linklists['main-menu'].links %}
<a href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}linklist.title / linklist.handle / linklist.links
The menu's title, handle and links.
{{ linklists['footer'].title }}linklist.object
CorrectedNot an attribute of the menu itself — object belongs to each link.
{{ link.object.title }}link.title / link.url
The link's text and destination.
<a href="{{ link.url }}">{{ link.title }}</a>link.active / link.current
active is true when the link matches the current page; current when it matches exactly. Use for highlighting navigation.
<a class="{% if link.active %}is-active{% endif %}" href="{{ link.url }}">link.type / link.object
What the link points to (for example collection_link or http_link) and the linked resource itself.
{% if link.type == 'collection_link' %}{{ link.object.products_count }}{% endif %}Shopify stores that convert, rank higher, scale and sell more.
Builds, SEO and CRO from a Shopify Plus partner team.
Monthly send · Unsubscribe any time · Privacy policy
Shopify experts
Let's talk ecommerce, Shopify & Shopify Plus solutions.
DROPSHIP HUBS helps ecommerce brands build, improve, and grow Shopify stores. We support new builds, migrations, ongoing development, SEO, and conversion optimisation.
Our team can help plan the right approach based on your store, goals, and current challenges.
Get in touch




