How to upgrade magento2 theme?












1














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?










share|improve this question














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.




















    1














    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?










    share|improve this question














    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.


















      1












      1








      1







      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?










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      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.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          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.




          1. Just override the files in app/design/frontend/[Theme Author/Vendor]/[Theme Name].



          2. 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.



          3. Profit!


          Edit an existing theme



          If you want to have some corrections on an already existing theme.




          1. Create new folders in app/design/frontend, so that you have app/design/frontend/[Your Name]/[Theme Name]

          2. Create barebone theme: See official Magento docs on creating a new frontend theme

          3. Tell Magento, which theme you want to override: See official Magento docs on theme inheritance

          4. 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).

          5. Tell Magento to use the new theme: See official Magento docs on applying a new theme

          6. 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.






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            0














            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.




            1. Just override the files in app/design/frontend/[Theme Author/Vendor]/[Theme Name].



            2. 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.



            3. Profit!


            Edit an existing theme



            If you want to have some corrections on an already existing theme.




            1. Create new folders in app/design/frontend, so that you have app/design/frontend/[Your Name]/[Theme Name]

            2. Create barebone theme: See official Magento docs on creating a new frontend theme

            3. Tell Magento, which theme you want to override: See official Magento docs on theme inheritance

            4. 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).

            5. Tell Magento to use the new theme: See official Magento docs on applying a new theme

            6. 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.






            share|improve this answer




























              0














              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.




              1. Just override the files in app/design/frontend/[Theme Author/Vendor]/[Theme Name].



              2. 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.



              3. Profit!


              Edit an existing theme



              If you want to have some corrections on an already existing theme.




              1. Create new folders in app/design/frontend, so that you have app/design/frontend/[Your Name]/[Theme Name]

              2. Create barebone theme: See official Magento docs on creating a new frontend theme

              3. Tell Magento, which theme you want to override: See official Magento docs on theme inheritance

              4. 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).

              5. Tell Magento to use the new theme: See official Magento docs on applying a new theme

              6. 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.






              share|improve this answer


























                0












                0








                0






                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.




                1. Just override the files in app/design/frontend/[Theme Author/Vendor]/[Theme Name].



                2. 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.



                3. Profit!


                Edit an existing theme



                If you want to have some corrections on an already existing theme.




                1. Create new folders in app/design/frontend, so that you have app/design/frontend/[Your Name]/[Theme Name]

                2. Create barebone theme: See official Magento docs on creating a new frontend theme

                3. Tell Magento, which theme you want to override: See official Magento docs on theme inheritance

                4. 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).

                5. Tell Magento to use the new theme: See official Magento docs on applying a new theme

                6. 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.






                share|improve this answer














                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.




                1. Just override the files in app/design/frontend/[Theme Author/Vendor]/[Theme Name].



                2. 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.



                3. Profit!


                Edit an existing theme



                If you want to have some corrections on an already existing theme.




                1. Create new folders in app/design/frontend, so that you have app/design/frontend/[Your Name]/[Theme Name]

                2. Create barebone theme: See official Magento docs on creating a new frontend theme

                3. Tell Magento, which theme you want to override: See official Magento docs on theme inheritance

                4. 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).

                5. Tell Magento to use the new theme: See official Magento docs on applying a new theme

                6. 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.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 2 '17 at 22:31









                diazwatson

                1,45911223




                1,45911223










                answered Jun 10 '17 at 13:29









                biolauri

                20128




                20128






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    1300-talet

                    1300-talet

                    Display a custom attribute below product name in the front-end Magento 1.9.3.8