How to make checkout page 2columns-left on magento 2magento 2 captcha not rendering if I override layout...
Why are special aircraft used for the carriers in the United States Navy?
Did Amazon pay $0 in taxes last year?
What is a term for a function that when called repeatedly, has the same effect as calling once?
Is being socially reclusive okay for a graduate student?
The need of reserving one's ability in job interviews
Why won't the strings command stop?
Why aren't there more gauls like Obelix?
Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?
Why do phishing e-mails use faked e-mail addresses instead of the real one?
PTiJ: How should animals pray?
Is divide-by-zero a security vulnerability?
Short story about an infectious indestructible metal bar?
If nine coins are tossed, what is the probability that the number of heads is even?
Using the imperfect indicative vs. subjunctive with si
What is better: yes / no radio, or simple checkbox?
Where is the fallacy here?
Create chunks from an array
What is Tony Stark injecting into himself in Iron Man 3?
Why do we call complex numbers “numbers” but we don’t consider 2 vectors numbers?
What is the oldest European royal house?
Remove object from array based on array of some property of that object
Python 3.6+ function to ask for a multiple-choice answer
Was it really inappropriate to write a pull request for the company I interviewed with?
What can I do if someone tampers with my SSH public key?
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
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
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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,2391449
1,2391449
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 14 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
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.6k73362
12.6k73362
answered Aug 4 '17 at 12:34
NikolasNikolas
1,472412
1,472412
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