Magento Expert Forum - Improve your Magento experience
-
How To Add Header and Footer to Magento 2 Checkout Page
The header and footer are very important part of any Magento store design. These two areas are used to display navigation and links to related and useful pages of the store. At the checkout page, these areas are used to present additional links to related products on the store. This greatly increases the average users’ time on the store and the probability of increased sales.
Complete Guide: Add Header and Footer in Magento Checkout Page
View more threads in the same category:
-
-
Is it necessary to show checkout page in footer page rather than showing just below the product image ??
Corporate Gifts Suppliers in Delhi
Last edited by vishnu; 26-03-2019 at 10:03 AM.
-
-
The header and footer squares are evacuating in the subject Magento 2 Blank Theme MyStore\vendor\magento\theme-frontend-blank\Magento_Checkout\layout\checkout_index_index .xml. To include footer in the checkout page you need to abrogate this design record.
-
-
As we probably am aware of course Magento 2 don't give Header and Footer on Checkout page. Furthermore, this is the part which is essential for any Store.
-
-
go to checkout_index_index.xml file in app/design/frontend/Companyname/Modulename/Magento_Checkout/layout
Paste below code:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framewo rk:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="minicart" remove="false" />
<referenceContainer name="header.panel" remove="false" />
<referenceBlock name="top.search" remove="false" />
<referenceBlock name="catalog.compare.link" remove="false" />
<referenceBlock name="catalog.topnav" remove="false"/>
<referenceContainer name="footer-container" remove="false"/>
</body>
</page>
-
-
The header and footer blocks are removing in the theme Magento 2 Blank Theme MyStore\vendor\magento\theme-frontend-blank\Magento_Checkout\layout\checkout_index_index .xml. To add footer in the checkout page you have to override this layout file.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks