Custom Footer for Magento 2
A Magento 2 footer you fill in from the admin: 2 to 4 columns with logo, links and contact details, six social icons, a newsletter form, payment icons and a back to top button. Each store view can have its own content.
- Free
- Themes listed: Hyvä + Luma
composer require mage2kishan/module-footer
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä + Luma
- PHP versions listed8.1, 8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
2 to 4 Columns
Logo and about text, two JSON link lists and a contact column, each switchable.
-
Social Icons
Inline SVG icons for Facebook, X, Instagram, LinkedIn, YouTube and Pinterest.
-
Newsletter Form
Posts to Magento's own subscribe action and shows the result without a reload.
-
Back to Top
Bottom left or right, after 300 pixels of scroll, left out on cart and checkout.
-
Admin Settings
Every field at default, website and store view scope, with JSON validate buttons.
-
Hyvä and Luma
Alpine.js blocks on Hyvä, plain JavaScript on Luma, colours from the Theme Customizer.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-footer $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.6, 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.1, 8.2, 8.3, 8.4 |
| Themes listed | Hyvä, Luma |
| Composer package | mage2kishan/module-footer |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
A footer you edit from the Magento 2 admin
Footer replaces the default Magento 2 storefront footer with one you fill in under Stores, Configuration. It has a newsletter section, a grid of two to four columns, a bottom bar and a floating back to top button. Day to day changes, such as new links or a new phone number, need no template edits, and every setting can be set at default, website and store view scope.
This module is about footer content. Footer colours are not set here; they come from the Theme Customizer in Panth_Core, so the footer follows whatever theme you run.
Columns
- Column 1: the store logo, an optional title, an about text and social icons.
- Columns 2 and 3: link lists entered as JSON, each link with an optional target.
- Column 4: a phone number as a tel: link, an email address as a mailto: link, a postal address and opening hours.
Pick a layout of 2, 3 or 4 columns, and switch each column on or off. Only relative links and http, https, mailto and tel links are printed; anything else becomes #. The JSON fields have Beautify, Minify and Validate buttons, and invalid JSON is refused when you save.
Social icons, newsletter and bottom bar
Social icons are inline SVG for Facebook, X, Instagram, LinkedIn, YouTube and Pinterest; an empty URL hides that icon. The newsletter form posts to Magento's own newsletter subscribe action with fetch() and shows Magento's result message without a page reload, so subscribers land in the normal Magento subscriber list. The bottom bar holds copyright text with a {{year}} placeholder, optional Visa, Mastercard, PayPal and Amex icons and a row of bottom links.
Back to top button
The button sits at the bottom right or bottom left, appears after the page has scrolled more than 300 pixels and scrolls smoothly to the top. It is left out on the cart and checkout pages so it never covers order buttons, it hides while a drawer, modal or mini cart is open, and it has its own on and off switch.
Hyvä and Luma
The column template is shared by both themes. On Luma the newsletter and back to top blocks use plain JavaScript; when Hyvä is active the default_hyva layout handle swaps them for Alpine.js templates with Tailwind classes. Luma styles are compiled from a LESS file. While the module is enabled it loads Font Awesome 6.5.1 from cdnjs with an integrity hash and a self hosted DM Sans font, and it removes the stock footer links, newsletter form, store switcher, copyright and report bugs blocks.
Before you go live
The default texts are placeholders, including a sample phone number, email address, postal address and opening hours. Replace them with your own or switch column 4 off.
Requirements and install
The README lists Magento Open Source and Adobe Commerce 2.4.4 to 2.4.8. Composer requires PHP 8.1, 8.2, 8.3 or 8.4 and mage2kishan/module-core, which it installs for you. Install with composer require mage2kishan/module-footer, then run setup:upgrade, static content deploy and a cache refresh. The module creates no database tables.
Footer is free and open source under the MIT License. See the package README for every setting and the changelog for each release.
Developer notes
These names are from release 1.0.15 of the package.
- Module
Panth_Footer, namespacePanth\Footer. No plugins, preferences, controllers, routes or cron jobs are declared. Panth\Footer\ViewModel\FooterDatais passed to the templates asfooter_view_model.Panth\Footer\Helper\Datareadspanth_footer/settings at store scope. Its colour getters readtheme_customizer/paths and use hard-coded values as fallbacks.Panth\Footer\Observer\AddEnabledHandleon the frontendlayout_load_beforeevent adds thepanth_footer_enabledlayout handle while the custom footer is enabled.etc/frontend/di.xmladds the module to theregisteredModulesargument ofPanth\Core\ViewModel\ThemeConfig. Default colours are inetc/theme-config.json.- ACL resources:
Panth_Footer::footerandPanth_Footer::config, both underPanth_Core::panth_extensions.
| Module Category | Theme & UI |
|---|---|
| Best For | All Sizes |
Changelog
-
1.0.15, 2026-10-30
- Released under the MIT License: this module is free and open-source software.
-
1.0.14, 2026-10-03
- Turning "Enable Custom Footer" off no longer leaves the store without a footer. The stock footer blocks are removed, and Font Awesome plus the footer fonts are loaded, only while the setting is on (new panth_footer_enabled layout handle added by a frontend observer), so with the setting off Luma shows its own footer links, newsletter and copyright again and Hyvä shows the theme footer.
- The default footer links no longer point to pages that do not exist on a standard store (/shipping, /faq, /cookies, /catalog/category/view/id/3 and sample-data category URLs). Column 2 ("Quick Links") now links to My Account, Shopping Cart, Search Terms and Advanced Search, column 3 to Contact Us, Customer Service, About Us and Orders and Returns, and the bottom row to the Privacy Policy, Enable Cookies and Contact Us pages. Stores that already saved their own links keep them.
- The JSON fields (column 2 and 3 links, newsletter benefits, bottom links) are validated on save: invalid JSON or a value that is not a list is rejected with an error naming the field instead of silently emptying the links on the storefront. Valid JSON is stored compact, so saving the section without changes no longer rewrites these values with the pretty-printed admin formatting.
- Copyright text and bottom links meet WCAG AA contrast (opacity raised from 0.6 to 0.85, about 5.4:1 on the default footer background) and the payment icons meet the 3:1 non-text contrast; bottom links are 14 px on Luma as on Hyvä.
FAQ
Does Panth Footer replace the default Magento footer?
Yes. While Enable Custom Footer is Yes, it removes the stock footer blocks, such as footer links, the newsletter form, the store switcher and the copyright, and renders its own footer. Set it to No to bring the theme footer back.
Will this extension work with my Hyvä theme?
Yes. On Hyvä the default_hyva layout handle swaps the newsletter and back to top blocks for Alpine.js templates with Tailwind classes. The column template is shared by both themes.
Can I use different footers per store view?
Yes. Every setting can be set at default, website and store view scope, so columns, links, social URLs and copyright text can differ per store view. Colours are not set here; they come from the Theme Customizer in Panth_Core.
Does the newsletter form integrate with Mailchimp, Klaviyo, or other ESPs?
The form posts to Magento's own newsletter subscribe action, so subscribers land in the Magento subscriber list. A sync module that reads that list will pick them up; the footer itself has no direct connection to an email service.
Is Panth Footer SEO-friendly?
The footer is a footer element with plain links, and the logo image loads lazily. The module adds no structured data. Check speed and layout shift on your own theme after installing.
Can I add custom HTML to the footer?
Not as a free HTML block. The about text and the copyright text keep a small set of tags (a, b, strong, em, i, u, small, span and br) and escape other HTML. Links are entered as JSON. For anything else, override footer.phtml in your theme.
Does it support multi-language stores?
Template strings go through Magento translation, but the package ships no translation files. The texts you type in the admin can be set per store view.
Is there a demo site?
There is no public demo. The package README and USER_GUIDE.md describe every setting, and the source is on GitHub.
Can I hide Panth branding?
The footer shows only the content you enter and no Panth branding. The defaults are placeholders, such as a sample phone number, email address and postal address, so replace them before going live.
Does it require Panth Core?
Yes. Panth Core is free and is installed automatically by Composer. It provides theme detection and shared admin configuration.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.