How to make checkout page 2columns-left on magento 2magento 2 captcha not rendering if I override layout xmlMagento 2 - Checkout - Payment methods not visiblemain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?How to load a custom .phtml file in left sidebar in page/2columns-left.phtml?Magento 2: How do I modify the layout of all pages using the 2columns-left layout?Could not create an acl object: Invalid XML in fileMagento 2.2.1: Add Custom Upload file attribute in CheckoutMagento2: Change layout of the Customer Registration page to 2columns-leftMagento 2.2.5: Overriding Admin Controller sales/order
Can a crisscrossed metallic skeleton resist earthquakes for buildings?
What's a German word for »Sandbagger«?
Is art a form of communication?
How to hook up Korg EX-8000 to a computer w/o a keyboard?
Date input format problem
Could a US citizen born through "birth tourism" become President?
Why didn't NASA launch communications relay satellites for the Apollo missions?
How does mathematics work?
Linux ext4 restore file and directory access rights after bad backup/restore
Discretisation of region intersection in 3D
Brute-force the switchboard
Why didn't Balak request Bilam to bless his own people?
Trivial non-dark twist in dark fantasy
What is the minimum wait before I may I re-enter the USA after a 90 day visit on the Visa B-2 Program?
Animating the result of numerical integration
When will the last unambiguous evidence of mankind disappear?
Another "name-that-distribution" question
Will copper pour help on my single-layer PCB?
Book in which the "mountain" in the distance was a hole in the flat world
Host telling me to cancel my booking in exchange for a discount?
Could Europeans in Europe demand protection under UN Declaration on the Rights of Indigenous Peoples?
How was Luke's prosthetic hand in Episode V filmed?
Why would word of Princess Leia's capture generate sympathy for the Rebellion in the Senate?
Remove side menu(right side) from finder
How to make checkout page 2columns-left on magento 2
magento 2 captcha not rendering if I override layout xmlMagento 2 - Checkout - Payment methods not visiblemain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?How to load a custom .phtml file in left sidebar in page/2columns-left.phtml?Magento 2: How do I modify the layout of all pages using the 2columns-left layout?Could not create an acl object: Invalid XML in fileMagento 2.2.1: Add Custom Upload file attribute in CheckoutMagento2: Change layout of the Customer Registration page to 2columns-leftMagento 2.2.5: Overriding Admin Controller sales/order
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I try to make the checkout page 2columns-left
layout, but i can't.
If i add this code in checkout_index_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
the page is not loading
by default this layout is like this:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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?
magento2 checkout layout xml
add a comment |
I try to make the checkout page 2columns-left
layout, but i can't.
If i add this code in checkout_index_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
the page is not loading
by default this layout is like this:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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?
magento2 checkout layout xml
add a comment |
I try to make the checkout page 2columns-left
layout, but i can't.
If i add this code in checkout_index_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
the page is not loading
by default this layout is like this:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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?
magento2 checkout layout xml
I try to make the checkout page 2columns-left
layout, but i can't.
If i add this code in checkout_index_index.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
layout="2columns-left"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
the page is not loading
by default this layout is like this:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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?
magento2 checkout layout xml
magento2 checkout layout xml
edited Aug 4 '17 at 12:34
Alin Lupoiu
asked Aug 4 '17 at 12:12
Alin LupoiuAlin Lupoiu
1,28517 silver badges57 bronze badges
1,28517 silver badges57 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
To change the checkout page to 2columns-leftlayout, just change the file
vendor/magento/module-checkout/view/frontend/page_layout/checkout.xml
to
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"/>
</container>
</referenceContainer>
</layout>
NOTE : css changes are need afterwards to style the checkout page.
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187934%2fhow-to-make-checkout-page-2columns-left-on-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To change the checkout page to 2columns-leftlayout, just change the file
vendor/magento/module-checkout/view/frontend/page_layout/checkout.xml
to
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"/>
</container>
</referenceContainer>
</layout>
NOTE : css changes are need afterwards to style the checkout page.
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
|
show 1 more comment
To change the checkout page to 2columns-leftlayout, just change the file
vendor/magento/module-checkout/view/frontend/page_layout/checkout.xml
to
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"/>
</container>
</referenceContainer>
</layout>
NOTE : css changes are need afterwards to style the checkout page.
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
|
show 1 more comment
To change the checkout page to 2columns-leftlayout, just change the file
vendor/magento/module-checkout/view/frontend/page_layout/checkout.xml
to
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"/>
</container>
</referenceContainer>
</layout>
NOTE : css changes are need afterwards to style the checkout page.
To change the checkout page to 2columns-leftlayout, just change the file
vendor/magento/module-checkout/view/frontend/page_layout/checkout.xml
to
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"/>
</container>
</referenceContainer>
</layout>
NOTE : css changes are need afterwards to style the checkout page.
edited Aug 4 '17 at 12:37
Murtuza Zabuawala
12.6k7 gold badges33 silver badges63 bronze badges
12.6k7 gold badges33 silver badges63 bronze badges
answered Aug 4 '17 at 12:34
NikolasNikolas
1,5705 silver badges13 bronze badges
1,5705 silver badges13 bronze badges
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
|
show 1 more comment
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
I advise against editing the file mentioned, you should extend this file and make your changes in your theme/module. Do not edit the core files (files inside the vendor directory) as you will likely lose your changes.
– Ben Crook
Aug 4 '17 at 12:41
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
i just overwrite in theme but is not working anyway
– Alin Lupoiu
Aug 4 '17 at 12:44
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
Yes sure..do not change directly the core. file. I supposed i didn't have to mention that. You have to copy that file under your theme folder and do the changes. I just tried it changing the core file for quick testing and worked fine for me.
– Nikolas
Aug 4 '17 at 12:45
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
i copyed the file in my theme but is not working. is working for you?
– Alin Lupoiu
Aug 4 '17 at 12:47
1
1
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
@NikoK You'll be surprised at the number of people who still edit the core, I've seen answers accepted that were advising to edit the core :(
– Ben Crook
Aug 4 '17 at 13:02
|
show 1 more comment
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187934%2fhow-to-make-checkout-page-2columns-left-on-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown