How to make checkout page 2columns-left on magento 2

Magento Asked by Alin Lupoiu on December 13, 2020

I try to make the checkout page 2columns-leftlayout, but i can’t.

If i add this code in checkout_index_index.xml

 <page xmlns:xsi=""

the page is not loading

by default this layout is like this:

 <page xmlns:xsi="" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> 

so if i change layout=”checkout” to layout=”2columns-left” the page is not loading

I sucesfull changed the checkout cart page in this way and is working, but not for checkout page.’

Does anyone know how to change checkout page to 2columns-left layout?

One Answer

To change the checkout page to 2columns-leftlayout, just change the file



<layout xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
    <update handle="2columns-left"/>
    <referenceContainer name="page.wrapper">
        <container name="checkout.header.container" as="checkout_header_container" label="Checkout Page Header Container" htmlTag="header" htmlClass="page-header" before="main.content">
            <container name="checkout.header.wrapper" label="Checkout Page Header" as="checkout_header_wrapper" htmlTag="div" htmlClass="header content"/>

NOTE : css changes are need afterwards to style the checkout page.

Answered by Nikolas on December 13, 2020

Add your own answers!

Related Questions

Extra product tab options in Magento2

1  Asked on December 30, 2021


I have problem with my domain on EC2

2  Asked on December 28, 2021 by ajay-patel


Extend Header (logo, search box and cart) in Magento 2

3  Asked on December 28, 2021 by bojjaiah


How to bring live site on localhost

2  Asked on December 28, 2021


Product details tabs messed with other tabs in Magento 2

0  Asked on December 28, 2021 by selvapandian-subramani


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP