Magento Expert Forum - Improve your Magento experience

Results 1 to 6 of 6

How To Add Header and Footer to Magento 2 Checkout Page

  1. #1
    Junior Member
    Join Date
    Mar 2017
    Posts
    33
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default 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:


  2. #2
    Junior Member
    Join Date
    Sep 2016
    Posts
    228
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    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.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    United Kingdom
    Posts
    635
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    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.

  4. #4
    Junior Member
    Join Date
    Sep 2018
    Location
    Oman, Muscat
    Posts
    2,084
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    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.

  5. #5
    Junior Member
    Join Date
    Aug 2018
    Location
    Indore,India
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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>

  6. #6
    Junior Member
    Join Date
    Sep 2018
    Location
    Canada
    Posts
    873
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •