How to restore the default checkout template?restore the default checkout in magento 2.3rearrange layouts of two templatesAdd page in the checkoutHow do I change the Template Layout for the Customer 'My Account' page?Calling a template from within a widgetWhat is the correct way/approach to modify a Magento template?where is default template for link defined?Magento 2 - How to auto open cart items on checkout page?Magento 2: How to add custom css class in Checkout shipping address formHow Do I Override Checkout HTML TemplatesBest pratices to update the module-checkout
Magento2: How can I logout customer from controller?
Creating Darkness
Strange Cron Job takes up 100% of CPU Ubuntu 18 LTS Server
Why can't my huge trees be chopped down?
Spoken encryption
A planet illuminated by a black hole?
How can I stop myself from micromanaging other PCs' actions?
Is the "cosmological constant tension" the prime reason that we believe the expansion of the universe is accelerating?
(1 of 11: Numberlink) What is Pyramid Cult's Favorite Activity?
Commercial jet accompanied by small plane near Seattle
kids pooling money for Lego League and taxes
How can I prevent corporations from growing their own workforce?
What does "a good player" mean in the movie Training day?
What is the meaning of "you has the wind of me"?
401(k) investment after being fired. Do I own it?
Why is my read in of data taking so long?
How can I receive packages while in France?
How may I concisely assign different values to a variable, depending on another variable?
Iterate over non-const variables in C++
How did C64 games handle music during gameplay?
Grid/table with lots of buttons
Why did Saturn V not head straight to the moon?
How to judge a Ph.D. applicant that arrives "out of thin air"
Area of parallelogram = Area of square. Shear transform
How to restore the default checkout template?
restore the default checkout in magento 2.3rearrange layouts of two templatesAdd page in the checkoutHow do I change the Template Layout for the Customer 'My Account' page?Calling a template from within a widgetWhat is the correct way/approach to modify a Magento template?where is default template for link defined?Magento 2 - How to auto open cart items on checkout page?Magento 2: How to add custom css class in Checkout shipping address formHow Do I Override Checkout HTML TemplatesBest pratices to update the module-checkout
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I never use Magento but, a friend uses it and a dev. broke their checkout page, how I can restore the TEMPLATE of the checkout to default? I don't see a backup of any of the files, and I no have clue where I need to start searching in the directory tree.
Thanks
checkout layout theme template
add a comment |
I never use Magento but, a friend uses it and a dev. broke their checkout page, how I can restore the TEMPLATE of the checkout to default? I don't see a backup of any of the files, and I no have clue where I need to start searching in the directory tree.
Thanks
checkout layout theme template
add a comment |
I never use Magento but, a friend uses it and a dev. broke their checkout page, how I can restore the TEMPLATE of the checkout to default? I don't see a backup of any of the files, and I no have clue where I need to start searching in the directory tree.
Thanks
checkout layout theme template
I never use Magento but, a friend uses it and a dev. broke their checkout page, how I can restore the TEMPLATE of the checkout to default? I don't see a backup of any of the files, and I no have clue where I need to start searching in the directory tree.
Thanks
checkout layout theme template
checkout layout theme template
edited Jul 16 at 16:30
joeybab3
215 bronze badges
215 bronze badges
asked Jul 16 at 16:22
AlexisAlexis
173 bronze badges
173 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It depends how the template is being overridden, usually either a new template is specified in layout XML or a template is placed in the same path as the original but in the custom theme.
If you delete the template in your custom theme and re-deploy the core template should be used again.
We need a bit more info to help in more depth though:
- What version of Magento are you using?
- What is the template you want to revert
Update
To revert the checkout back to core this should be simple if the changes were done in a theme, if so delete app/design/frontend/VENDOR/THEME/Magento_Checkout.
If the changes were done there your checkout should now be using the core templates/JS/styling.
Another option is the changes could have been made in a module, this is a bit tricker to find. You could look for files named onepage.phtml or checkout-steps.js and see if any modules are overriding them, or alternatively search for checkout but that will return maaaany results.
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
add a 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%2f282269%2fhow-to-restore-the-default-checkout-template%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
It depends how the template is being overridden, usually either a new template is specified in layout XML or a template is placed in the same path as the original but in the custom theme.
If you delete the template in your custom theme and re-deploy the core template should be used again.
We need a bit more info to help in more depth though:
- What version of Magento are you using?
- What is the template you want to revert
Update
To revert the checkout back to core this should be simple if the changes were done in a theme, if so delete app/design/frontend/VENDOR/THEME/Magento_Checkout.
If the changes were done there your checkout should now be using the core templates/JS/styling.
Another option is the changes could have been made in a module, this is a bit tricker to find. You could look for files named onepage.phtml or checkout-steps.js and see if any modules are overriding them, or alternatively search for checkout but that will return maaaany results.
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
add a comment |
It depends how the template is being overridden, usually either a new template is specified in layout XML or a template is placed in the same path as the original but in the custom theme.
If you delete the template in your custom theme and re-deploy the core template should be used again.
We need a bit more info to help in more depth though:
- What version of Magento are you using?
- What is the template you want to revert
Update
To revert the checkout back to core this should be simple if the changes were done in a theme, if so delete app/design/frontend/VENDOR/THEME/Magento_Checkout.
If the changes were done there your checkout should now be using the core templates/JS/styling.
Another option is the changes could have been made in a module, this is a bit tricker to find. You could look for files named onepage.phtml or checkout-steps.js and see if any modules are overriding them, or alternatively search for checkout but that will return maaaany results.
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
add a comment |
It depends how the template is being overridden, usually either a new template is specified in layout XML or a template is placed in the same path as the original but in the custom theme.
If you delete the template in your custom theme and re-deploy the core template should be used again.
We need a bit more info to help in more depth though:
- What version of Magento are you using?
- What is the template you want to revert
Update
To revert the checkout back to core this should be simple if the changes were done in a theme, if so delete app/design/frontend/VENDOR/THEME/Magento_Checkout.
If the changes were done there your checkout should now be using the core templates/JS/styling.
Another option is the changes could have been made in a module, this is a bit tricker to find. You could look for files named onepage.phtml or checkout-steps.js and see if any modules are overriding them, or alternatively search for checkout but that will return maaaany results.
It depends how the template is being overridden, usually either a new template is specified in layout XML or a template is placed in the same path as the original but in the custom theme.
If you delete the template in your custom theme and re-deploy the core template should be used again.
We need a bit more info to help in more depth though:
- What version of Magento are you using?
- What is the template you want to revert
Update
To revert the checkout back to core this should be simple if the changes were done in a theme, if so delete app/design/frontend/VENDOR/THEME/Magento_Checkout.
If the changes were done there your checkout should now be using the core templates/JS/styling.
Another option is the changes could have been made in a module, this is a bit tricker to find. You could look for files named onepage.phtml or checkout-steps.js and see if any modules are overriding them, or alternatively search for checkout but that will return maaaany results.
edited Jul 17 at 7:46
answered Jul 16 at 16:25
Ben CrookBen Crook
10k26 silver badges82 bronze badges
10k26 silver badges82 bronze badges
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
add a comment |
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
Is magento 2.3 Only the index.php/checkout page. All other are okay, now that template display wrongs inputs and color/UI are really bad, i wanna rollback to the original M2 checkout. I have a fresh instalation in other server but idk what file i need to reemplace or what CLI command i need to execute.
– Alexis
Jul 16 at 16:29
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
I've added a bit more info to my answer based on it being the checkout.
– Ben Crook
Jul 17 at 7:46
add a 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%2f282269%2fhow-to-restore-the-default-checkout-template%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