cancel
Showing results for 
Search instead for 
Did you mean: 

Header and Footer in Checkout - Ultimo

Header and Footer in Checkout - Ultimo

I'm trying to change the Ultimo checkout page by adding the header and the footer. I create the following file in the the following path: 

/var/www/magento/app/design/frontend/Infortis/ultimo_child/Magento_Checkout/layout/override/base/

 

file:

checkout_index_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework: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"/>

            <referenceBlock name="base-header-container" remove="false" />
            <referenceBlock name="base-footer-container" remove="false" />
    </body>
</page>

However, the checkout page didn't open at all with error 500.

I tried to switch my theme to the 'base' and did the same changes in the:

/var/www/magento/app/design/frontend/Infortis/base/Magento_Checkout/layout/checkout_index_index.xml

and it works

however, I want to use the child. Could you please let me know the right way ?

1 REPLY 1

Re: Header and Footer in Checkout - Ultimo

Hello @achahinewiffa8 

 

please open below file <magento_root>/app/bootstrap.php

https://prnt.sc/uap9ty Please remove comment from arrow code.

 

Now Please try to open checkout page and check if you can get the any error. 

if you can solve it from your side then fine. if not then please send me error here.

 

also you can check error inside below files

<magento_root>/var/log/exception.log

<magento_root>/var/log/debug.log

<magento_root>/var/log/system.log

 

If my answer is useful, please Accept as Solution & give Kudos

Thank you
Anant Prajapati
Magento Certified Developer