cancel
Showing results for 
Search instead for 
Did you mean: 

No navbar in checkout page

No navbar in checkout page

Hi, I'm using magento 2.2 community edition, using Pearl theme from Welt. 

I'd like to know how to make the menu bar appear at checkout page cause apparently it's not there, thanks!

2 REPLIES 2

Re: No navbar in checkout page

Create checkouut_index_index.xml file inside your module layout folder and keep below xml code under it,

<?xml version="1.0"?>
<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="catalog.topnav" remove="false"/>
    </body>
</page>
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: No navbar in checkout page

Hi @george_manibo

 

Yes it is not there in default Magento 2 as well - As Magento 2 have enclosed checkout which helps you to increase your conversion ratio and security perspective as well.

 

Main purpose behind is if we show navigation on the checkout then there might be a case user gets distracted on another products/categories and not able to do complete checkout - so that's the reason Magento 2 keeps enclosed checkout to more focus on the order and checkout process.

 

If you still wanted to showcase navigation bar on the checkout page - then below is the way :

 

In your custom module you will required to create a file called : checkouut_index_index.xml

 

Put below code in that file : 

 

<?xml version="1.0"?>
<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="catalog.topnav" remove="false"/>
    </body>
</page>

Clear and flush the cache and check it will showcase navigation bar on the checkout !

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution