# MenuItem - Liquid Object Reference

Source: https://support.storeconnect.com/articles/menu-item-liquid-object-reference · Last modified 21 August 2026

## Description

A MenuItem represents a link in a Menu. It can be a simple label with a link, or it might link to one of the following objects:
      * Article
      * ArticleCategory
      * Page
      * Product
      * ProductCategory

      MenuItems may contain child MenuItems.

:::note
This object supports custom data via the `data` attribute.
:::

## Attributes

| Attribute | Type | Description |
|-----------|------|-------------|
| `article` | [Article](article-liquid-object-reference) | Returns the Article linked to this MenuItem |
| `article_category` | [ArticleCategory](article-category-liquid-object-reference) | Returns the ArticleCategory linked to this MenuItem |
| `child_categories` | List | Returns a list of child categories for the linked object. Only relevant when linked_type is one of: article_category, page, product_category |
| `child_category_levels` | Number | Returns the number of levels to show for child categories |
| `hidden?` | Boolean | Returns true if this MenuItem is hidden |
| `id` | String | Returns the unique id for this MenuItem |
| `identifier` | String | Returns the value of the Identifier attribute |
| `image` | [Image](image-liquid-object-reference) | Returns the Image for to this MenuItem |
| `link_label` | String | Returns the label for the link, based on its type and linked object (if any) |
| `link_target` | String | Returns the target url or path for the link, based on its type and linked object (if any) |
| `link_type` | String | Returns the type of link this is. It will be one of: article, article_category, page, product, product_category, link |
| `menu` | [Menu](menu-liquid-object-reference) | Returns the Menu linked to this MenuItem |
| `menu_items` | List[[MenuItem](menu-item-liquid-object-reference)] | Returns a list of MenuItems belonging to this MenuItem |
| `name` | String | Returns the name of this MenuItem |
| `page` | [Page](page-liquid-object-reference) | Returns the Page linked to this MenuItem |
| `parent_menu_item` | [MenuItem](menu-item-liquid-object-reference) | Returns the parent MenuItem of this MenuItem |
| `position` | Number | Returns the position of this MenuItem |
| `product` | [Product](product-liquid-object-reference) | Returns the Product linked to this MenuItem |
| `product_category` | [ProductCategory](product-category-liquid-object-reference) | Returns the ProductCategory linked to this MenuItem |
| `show_image?` | Boolean | Returns true if this MenuItem should show an image |
| `style_classes` | String | Returns the CSS classes that should be added for this MenuItem |
| `url` | String | Returns the url that this MenuItem links to (if any) |

## Available on

- [Menu - Liquid Object Reference](menu-liquid-object-reference) — `menu_items`

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/menu-item-liquid-object-reference