How to edit footer part in magento framework?

How to edit footer part in magento framework?

September 27, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to edit footer part in magento framework?

Editing the Footer Section in Magento: A Comprehensive Guide

As a new developer working with Magento, you may find yourself needing to customize various parts of the storefront, including the footer section. In this article, we will guide you step-by-step through the process of editing the footer part using the default Magento theme.

The footer file for your store is located in the following path:

D:\wamp\www\magento\app\design\frontend\base\default\template\page\html\footer.phtml

This file contains the HTML and PHP code responsible for rendering the footer section on every page of your Magento store.

To edit the footer, you need to modify the footer.phtml file directly. Open this file using a text editor or an IDE that supports PHP files.

You will find the following code within the <div class="footer"> tags:

    <p class="bugs">
        <?php echo $this->__('Help Us to Keep Magento Healthy') ?>
        - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'">
            <strong><?php echo $this->__('Report All Bugs') ?></strong>
        </a>
        <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?>
    </p>

This code generates the “Help Us to Keep Magento Healthy” paragraph in the footer, along with a link to report bugs.

To remove this sentence, you can comment out or delete the relevant lines of code:

    <!-- <p class="bugs">
        <?php echo $this->__('Help Us to Keep Magento Healthy') ?>
        - <a href="http://www.magentocommerce.com/bug-tracking" onclick="this.target='_blank'">
            <strong><?php echo $this->__('Report All Bugs') ?></strong>
        </a>
        <?php echo $this->__('(ver. %s)', Mage::getVersion()) ?>
    </p> -->

Ensure that you delete or comment out the entire p element containing the text you want to remove.

Alternatively, if you prefer a more modular approach, you can create a new footer template file in your custom theme directory and override the default one:

D:\wamp\www\magento\app\design\frontend\your_package\your_theme\template\page\html\footer.phtml

Copy the contents of the original footer.phtml file into this new location, make the necessary changes (remove the unwanted paragraph), and then clear your Magento cache to see the updated footer.

Flush the Cache

After making changes to the .phtml files, it is crucial to flush the Magento cache to ensure that your modifications are reflected on the frontend. You can do this manually from the backend by navigating to System > Cache Management and selecting Flush Magento Cache.

For a more automated approach, you can use a script like Laravel’s cache:clear command (if you are using Laravel as your backend framework).

Conclusion

Editing the footer in Magento involves directly modifying the footer.phtml file or creating an override template within your custom theme. Remember to clear the cache after making changes for them to take effect on the frontend.

If you’re looking to learn more about customizing and extending Magento themes, I recommend checking out our comprehensive guide on Magento Theme Development. This resource provides in-depth insights into creating and managing your own custom theme for a polished and professional storefront.

Happy coding!

Themes CLI

Our network