Home
Wiki
Home
Wiki
  1. 2. Components
  • Back to home
  • 1. Themes
  • Vs Code
    • Getting Started
  • Kitchenware
    • Layout
      • New Layout
      • Legacy Layout
    • Components
      • Announcement
      • Banner Carousel
      • Banner With Products Carousel
      • Blog Category List
      • Blog List
      • Brand List
      • Brands Carousel
      • Breadcrumb
      • Call To Action
      • Cart
      • Categories List
      • Change Password
      • Checkout
      • Cookie Manager
      • Filter list
      • Footer
      • Forgot Password
      • Form
      • Hero Carousel
      • Icon Block
      • Invitation
      • Last Visited Products
      • Layout
      • Login
      • Map
      • Nav Bar
      • Offer
      • Product Attachments
      • Product Attributes
      • Product Documentation
      • Product Expected
      • Product Modal
      • Products Block
      • Products Carousel
      • Product Single
      • Profile
      • Quote
      • Register
      • Related Products
      • Search
      • Stores
      • Subscribe Newsletter
      • Text with Image
      • Top Bar
      • Video
    • Reusables
      • Getting Started
    • Assets
      • Getting Started
    • SDK
      • Products
        • _findProductsByCategory
        • _findProductsByIds
        • _findProductsByTitle
        • _findProductsByFilter
        • _findProductsByCriteria
        • _findProductsAndCalculate
        • _findProductsThenCalculate
        • _getProductAttributeSet
        • _setLastVisited
      • Categories
        • _findCategoryTreeById
        • _findCategoriesByIds
        • _findCategoryByAlias
        • _findCategoryTreeByAlias
        • _getCategoryContent
      • Collections
        • _getCollectionContent
        • _findCollectionsByIds
        • _findCollectionsByIdsThenCalculate
      • Brands
        • _getBrandContent
        • _findBrandsByIds
      • Cart
        • _addToCartMulti
        • _addToCart
        • _setCart
        • _clearCart
        • _setCartListener
        • _removeFromCart
        • _calculateCart
      • Checkout
        • _startCheckout
        • _updateCheckout
        • _completeCheckout
      • Shopping Lists
        • _getShoppingLists
        • _updateShoppingList
        • _createShoppingList
        • _deleteShoppingList
        • _getShoppingListByAlias
      • Navigation
        • _getFooterMenu
        • _getHeaderMenu
      • Users
        • _getUserById
      • Utils
        • _calculateCurrency
        • _getCurrencySymbol
        • _getCulture
        • _subscribeToNewsletter
        • _findUnitsByIds
  • Noir
    • 0. Introduction
    • 6. FAQ
    • 1. Structure
      • _Overview
      • LayoutA.liquid
      • ComponentsList.liquid
      • Metas.liquid
      • CssVariables.liquid
      • Json.liquid
      • GoogleTagManager.liquid
      • StagingButton.liquid
    • 2. Components
      • _Overview
      • Announcement
      • BannerCarousel
      • BlogCategoryList
      • BlogHighlights
      • BlogList
      • BrandList
      • Breadcrumb
      • Cart
      • CategoriesList
      • ChangePassword
      • Checkout
      • CookieManager
      • CustomTable
      • Faq
      • FilterList
      • Footer
      • ForgotPassword
      • Form
      • IconBlock
      • Invitation
      • LastVisitedProducts
      • Login
      • Map
      • NavBar
      • Offer
      • ProductAttachments
      • ProductAttributes
      • ProductComparison
      • ProductDocumentation
      • ProductMixList
      • ProductsBlock
      • ProductsCarousel
      • ProductSingle
      • Profile
      • Quote
      • Register
      • RelatedProducts
      • SingleBlog
      • Stores
      • TextWithImage
      • ThankYouPage
      • TopBar
      • Wishlist
      • OrderReviews
      • ProductReviews
      • Newsletter
    • 3. Reusables
      • _Overview
      • Addresses
      • AddressForm
      • AnnouncementModal
      • BackToTop
      • BillingRetail
      • BlogPostingStructuredData
      • BrandListStructuredData
      • CollectionStructuredData
      • Company
      • General
      • GroupChildrenTable
      • Login
      • LoginModal
      • MonthlyTransactions
      • Offers
      • Orders
      • Payment
      • ProductAttachments
      • ProductAttributes
      • ProductAvailabilityAction
      • ProductComparisonButton
      • ProductComparisonFloatingButton
      • ProductGridItem
      • ProductGridItemClassic
      • ProductListItem
      • ProductModal
      • ProductStructuredData
      • ProfileInfo
      • PromptModal
      • Quotes
      • Register
      • Services
      • Shipping
      • ShoppingLists
      • ShoppingListsButton
      • ShoppingListsNavbar
      • StoresStructuredData
      • Toast
      • Transactions
      • Users
      • VariantContent
      • VariantContentClassic
      • WishlistButton
      • ProductRating
      • ClientHelpers
      • FaqStructuredData
      • ShoppingAssistant
    • 4. Assets
      • Fonts
      • Images
      • Templates
      • Javascript
        • _Overview
        • theme.js
      • Css - Scss
        • _Overview
        • ThemeClasses
    • 5. SDK
      • _Overview
      • LiquidGlobals
      • ServicesSDK
  1. 2. Components

Footer

Purpose#

The Footer component renders the storefront footer area, including:
Footer logo (normal + optional “light” variant for dark mode)
Company info block (address, phone/working hours, email) using GlobalData.Company and GlobalData.Settings
Navigation columns (multi-level links) using model.Navigations
Social links (icons + external links)
Payment method logos
Dark mode toggle (driven by $store.darkMode)
Copyright line

Inputs (model contract)#

Model shape (storefront example)#

{
  "navigations": [
    {
      "navigationTitle": "Sample navigation title",
      "navigationType": "Link",
      "url": "/sample",
      "navigations": [
        {
          "navigationTitle": "Sample navigation item",
          "navigationType": "Category",
          "relativeId": "Navigation Relative Id",
          "url": "/category/sample",
          "image": {
            "id": "Image Id",
            "link": "https://example.com/media/sample.jpg",
            "mediaType": "Image"
          },
          "navigations": [],
          "isMegaMenu": false,
          "megaMenuWithImages": false,
          "megaMenuPosition": "Horizontal",
          "banners": []
    "..."
  "name": "Footer",
  "view": "Default",
  "section": "SectionFooter",
  "settings": {
    "socialBlock": {
      "socials": [
        {
          "link": "https://example.com/social",
          "socialName": "Sample"
        },
        "..."
      ]
    },
    "paymentMethods": [
      {
        "name": "Sample payment method",
        "image": {
          "link": "https://example.com/media/sample-payment.svg"
        }
      },
      "..."
    ],
    "id": "Component Id",
    "section": "SectionFooter",
    "type": "NoirFooter",
    "name": "Footer",
    "configuredInContentApi": true,
    "view": "Default",
    "displayName": "",
    "cssClass": "",
    "header": "",
    "alignment": "Left"
  },
  "translations": {
    "allRightsReserved": "Sample text",
    "poweredBy": "Sample text",
    "...": "..."
  }
}

Required fields#

settings.id
Used for wrapper id: comp-{{ id }}.
navigations[]
Used to render the footer menu columns.

Optional fields#

settings.cssClass
Applied only when non-empty and not (UNDEFINED).
settings.socialBlock
The JSON sample may include a socialBlock, but the Liquid template reads socials from model.Settings.SocialBlock.Socials.
settings.paymentMethods[]
If present, renders accepted payment method logos.
translations.*
Used for button labels, accessibility labels and footer texts. The newsletter form is now a separate Newsletter component.
The template also reads from Root.Page.Data.

JavaScript#

Global object#

The footer has no behavior of its own; Footer/Default.js only declares an empty object:
[start_code]
const footerdefault = {};
[end_code]
The newsletter form that used to live here, with its validation and submission methods, moved to the Newsletter component.

Global Alpine stores (used by Footer)#

The Footer component is mostly Liquid-rendered, but it does rely on one global Alpine store for a theme-wide behavior.

Alpine.store("darkMode")#

How the Footer uses it:
:aria-checked="$store.darkMode.on"
:class="{ 'active': $store.darkMode.on }"
Practical behavior:
Because it’s global, the same state can be toggled from other places too (header, popup, etc.), and the Footer UI stays consistent.

Dependencies#

Alpine.js (for the dark mode toggle bindings)
Global Alpine store: $store.darkMode
Navigation rendering is handled in Liquid; JS does not control menus in the footer.

Extras#

Logo behavior#

Uses global logos (footerLogo/footerLogoLight).

Navigation columns#

For each model.Navigations[]:
renders a submenu list if nav.navigations.size > 0

Social links#

Renders icon class based on social name:
ic-{{ social.SocialName | downcase }}
Uses target="_blank" (external).

Payment methods#

Renders list of images from settings.paymentMethods[].
alt falls back to:
provided image alt OR <paymentMethod.Name> + translations.logo

Dark mode toggle#

The toggle is a switch-like button tied to the global store:
@click="$store.darkMode.toggle()"
:aria-checked="$store.darkMode.on"
:class="{ 'active': $store.darkMode.on }"
Modified at 2026-11-17 10:34:51
Previous
FilterList
Next
ForgotPassword
Built with