The linklist object


linklist objects are called "menus" in the Navigation page of the Shopify admin.

The linklist object has the following attributes:

Returns the handle of the linklist.

Returns an array of links in the linklist.


{% for link in linklists.main-menu.links %}
      <a href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}


<a href="/">Home</a>
<a href="/collections/all">Catalog</a>
<a href="/blogs/news">Blog</a>
<a href="/pages/about-us">About Us</a>

Returns the title of the linklist.

Want to discuss this page?

Visit the Shopify Community