Skip to content

FooterGroup

The FooterGroup object represents a single group of links in the footer of the storefront.

classDiagram
  direction LR
  FooterGroup --> FooterLinksList
  FooterLinksList "1" --o "*" FooterLink
  class FooterLink{
  }
  class FooterLinksList{
  }
  class FooterGroup{
    int id
    string name
    int order
    FooterLinksList links
  }

Properties

Attribute name Type Description
id int The unique identifier of the group.
name string The name of the group.
order int The order of the group in the footer.
links FooterLinksList Reference to the FooterLinksList object that represents the list of FooterLink objects associated with this group.

Examples

id property

{{ footerGroup.id }}
1

name property

{{ footerGroup.name }}
example name

order property

{{ footerGroup.order }}
4
{% for footerLink in footerGroup.links %}
    <a href="{{ footerLink.url }}" title="{{ footerLink.title }}">
        {{ footerLink.title }}
    </a>
{% endfor %}
<a href="/i/About-us/1" title="About us">
    About us
</a>
<a href="/en_US/contact" title="Contact form">
    Contact Form
</a>