Skip to content

link

The link object.

Properties

PropertyDescription
link.activetrue when the link matches the current page.
link.child_activetrue when a child link is active.
link.child_currentBuyer-visible child_current value for this link.
link.currenttrue for the current item.
link.handleURL-safe unique slug.
link.idUnique identifier.
link.levelsMenu depth.
link.linksMenu links.
link.objectBuyer-visible object value for this link.
link.tagsTags as an array of strings.
link.titleDisplay title.
link.typePublic type or resource-kind identifier.
link.urlRelative URL of the resource.

Property list is generated from the storefront engine (LinkDrop), so it always matches what your theme can use. Use {{ link | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.