How to upgrade magento2 theme?
I wants to update magento2 theme.
- What is standard way to do this or just override files?
- It's same as magento 1.9?
- Whats care should be taken before and after upgrading?
magento2 theme upgrade
bumped to the homepage by Community♦ yesterday
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 wants to update magento2 theme.
- What is standard way to do this or just override files?
- It's same as magento 1.9?
- Whats care should be taken before and after upgrading?
magento2 theme upgrade
bumped to the homepage by Community♦ yesterday
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 wants to update magento2 theme.
- What is standard way to do this or just override files?
- It's same as magento 1.9?
- Whats care should be taken before and after upgrading?
magento2 theme upgrade
I wants to update magento2 theme.
- What is standard way to do this or just override files?
- It's same as magento 1.9?
- Whats care should be taken before and after upgrading?
magento2 theme upgrade
magento2 theme upgrade
asked Jun 9 '17 at 11:00
Ketan Borada
91631
91631
bumped to the homepage by Community♦ yesterday
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♦ yesterday
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
I don't know exactly, what you want to do, so I'll try to guess. If it's not what you're asking about, please clarify your question.
Update an existing theme
If you did correct errors in the theme and you want to go live with the patched version.
Just override the files in
app/design/frontend/[Theme Author/Vendor]/[Theme Name]
.
Tell Magento about the new files. This depends on your mode and cache settings:
Development mode: If your Magento cache is disabled, you don't have to do anything and the changes should be live instantly.
Otherwise, you have to clear all (affected) caches either via administration panel or with Magento CLI command
./magento cache:clean
.
Production Mode: You only have to run./magento deploy:mode:set production
to set Magento into temporary maintenance, deploy all files, clear caches and reactivate production mode afterwards.
- Profit!
Edit an existing theme
If you want to have some corrections on an already existing theme.
- Create new folders in
app/design/frontend
, so that you haveapp/design/frontend/[Your Name]/[Theme Name]
- Create barebone theme: See official Magento docs on creating a new frontend theme
- Tell Magento, which theme you want to override: See official Magento docs on theme inheritance
- Instead of overriding files in existing theme, just create/copy them with the same directory structure within your theme and apply the changes (you only have to copy the files you want to change).
- Tell Magento to use the new theme: See official Magento docs on applying a new theme
- Profit!
As this is a very short guide on adding a new theme, please read the documentation linked above with all linked documents (the ones in the left sidebar, too) to understand Magento theming correctly.
Note: Magento CLI
You have to run all commands as your Magento file system owner! Otherwise, Magento won't/can't use them.
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%2f178265%2fhow-to-upgrade-magento2-theme%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
I don't know exactly, what you want to do, so I'll try to guess. If it's not what you're asking about, please clarify your question.
Update an existing theme
If you did correct errors in the theme and you want to go live with the patched version.
Just override the files in
app/design/frontend/[Theme Author/Vendor]/[Theme Name]
.
Tell Magento about the new files. This depends on your mode and cache settings:
Development mode: If your Magento cache is disabled, you don't have to do anything and the changes should be live instantly.
Otherwise, you have to clear all (affected) caches either via administration panel or with Magento CLI command
./magento cache:clean
.
Production Mode: You only have to run./magento deploy:mode:set production
to set Magento into temporary maintenance, deploy all files, clear caches and reactivate production mode afterwards.
- Profit!
Edit an existing theme
If you want to have some corrections on an already existing theme.
- Create new folders in
app/design/frontend
, so that you haveapp/design/frontend/[Your Name]/[Theme Name]
- Create barebone theme: See official Magento docs on creating a new frontend theme
- Tell Magento, which theme you want to override: See official Magento docs on theme inheritance
- Instead of overriding files in existing theme, just create/copy them with the same directory structure within your theme and apply the changes (you only have to copy the files you want to change).
- Tell Magento to use the new theme: See official Magento docs on applying a new theme
- Profit!
As this is a very short guide on adding a new theme, please read the documentation linked above with all linked documents (the ones in the left sidebar, too) to understand Magento theming correctly.
Note: Magento CLI
You have to run all commands as your Magento file system owner! Otherwise, Magento won't/can't use them.
add a comment |
I don't know exactly, what you want to do, so I'll try to guess. If it's not what you're asking about, please clarify your question.
Update an existing theme
If you did correct errors in the theme and you want to go live with the patched version.
Just override the files in
app/design/frontend/[Theme Author/Vendor]/[Theme Name]
.
Tell Magento about the new files. This depends on your mode and cache settings:
Development mode: If your Magento cache is disabled, you don't have to do anything and the changes should be live instantly.
Otherwise, you have to clear all (affected) caches either via administration panel or with Magento CLI command
./magento cache:clean
.
Production Mode: You only have to run./magento deploy:mode:set production
to set Magento into temporary maintenance, deploy all files, clear caches and reactivate production mode afterwards.
- Profit!
Edit an existing theme
If you want to have some corrections on an already existing theme.
- Create new folders in
app/design/frontend
, so that you haveapp/design/frontend/[Your Name]/[Theme Name]
- Create barebone theme: See official Magento docs on creating a new frontend theme
- Tell Magento, which theme you want to override: See official Magento docs on theme inheritance
- Instead of overriding files in existing theme, just create/copy them with the same directory structure within your theme and apply the changes (you only have to copy the files you want to change).
- Tell Magento to use the new theme: See official Magento docs on applying a new theme
- Profit!
As this is a very short guide on adding a new theme, please read the documentation linked above with all linked documents (the ones in the left sidebar, too) to understand Magento theming correctly.
Note: Magento CLI
You have to run all commands as your Magento file system owner! Otherwise, Magento won't/can't use them.
add a comment |
I don't know exactly, what you want to do, so I'll try to guess. If it's not what you're asking about, please clarify your question.
Update an existing theme
If you did correct errors in the theme and you want to go live with the patched version.
Just override the files in
app/design/frontend/[Theme Author/Vendor]/[Theme Name]
.
Tell Magento about the new files. This depends on your mode and cache settings:
Development mode: If your Magento cache is disabled, you don't have to do anything and the changes should be live instantly.
Otherwise, you have to clear all (affected) caches either via administration panel or with Magento CLI command
./magento cache:clean
.
Production Mode: You only have to run./magento deploy:mode:set production
to set Magento into temporary maintenance, deploy all files, clear caches and reactivate production mode afterwards.
- Profit!
Edit an existing theme
If you want to have some corrections on an already existing theme.
- Create new folders in
app/design/frontend
, so that you haveapp/design/frontend/[Your Name]/[Theme Name]
- Create barebone theme: See official Magento docs on creating a new frontend theme
- Tell Magento, which theme you want to override: See official Magento docs on theme inheritance
- Instead of overriding files in existing theme, just create/copy them with the same directory structure within your theme and apply the changes (you only have to copy the files you want to change).
- Tell Magento to use the new theme: See official Magento docs on applying a new theme
- Profit!
As this is a very short guide on adding a new theme, please read the documentation linked above with all linked documents (the ones in the left sidebar, too) to understand Magento theming correctly.
Note: Magento CLI
You have to run all commands as your Magento file system owner! Otherwise, Magento won't/can't use them.
I don't know exactly, what you want to do, so I'll try to guess. If it's not what you're asking about, please clarify your question.
Update an existing theme
If you did correct errors in the theme and you want to go live with the patched version.
Just override the files in
app/design/frontend/[Theme Author/Vendor]/[Theme Name]
.
Tell Magento about the new files. This depends on your mode and cache settings:
Development mode: If your Magento cache is disabled, you don't have to do anything and the changes should be live instantly.
Otherwise, you have to clear all (affected) caches either via administration panel or with Magento CLI command
./magento cache:clean
.
Production Mode: You only have to run./magento deploy:mode:set production
to set Magento into temporary maintenance, deploy all files, clear caches and reactivate production mode afterwards.
- Profit!
Edit an existing theme
If you want to have some corrections on an already existing theme.
- Create new folders in
app/design/frontend
, so that you haveapp/design/frontend/[Your Name]/[Theme Name]
- Create barebone theme: See official Magento docs on creating a new frontend theme
- Tell Magento, which theme you want to override: See official Magento docs on theme inheritance
- Instead of overriding files in existing theme, just create/copy them with the same directory structure within your theme and apply the changes (you only have to copy the files you want to change).
- Tell Magento to use the new theme: See official Magento docs on applying a new theme
- Profit!
As this is a very short guide on adding a new theme, please read the documentation linked above with all linked documents (the ones in the left sidebar, too) to understand Magento theming correctly.
Note: Magento CLI
You have to run all commands as your Magento file system owner! Otherwise, Magento won't/can't use them.
edited Aug 2 '17 at 22:31
diazwatson
1,45911223
1,45911223
answered Jun 10 '17 at 13:29
biolauri
20128
20128
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f178265%2fhow-to-upgrade-magento2-theme%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