How to customize product page in Magento 2












3















How can I customize the product details page in Magento 2?
Where is the .phtml file or layout for that?










share|improve this question




















  • 1





    We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

    – Khoa TruongDinh
    May 21 '16 at 7:08
















3















How can I customize the product details page in Magento 2?
Where is the .phtml file or layout for that?










share|improve this question




















  • 1





    We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

    – Khoa TruongDinh
    May 21 '16 at 7:08














3












3








3








How can I customize the product details page in Magento 2?
Where is the .phtml file or layout for that?










share|improve this question
















How can I customize the product details page in Magento 2?
Where is the .phtml file or layout for that?







magento2 product page






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 mins ago









Teja Bhagavan Kollepara

2,94841847




2,94841847










asked May 21 '16 at 6:58









nuwausnuwaus

89931745




89931745








  • 1





    We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

    – Khoa TruongDinh
    May 21 '16 at 7:08














  • 1





    We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

    – Khoa TruongDinh
    May 21 '16 at 7:08








1




1





We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

– Khoa TruongDinh
May 21 '16 at 7:08





We should read more here: devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…

– Khoa TruongDinh
May 21 '16 at 7:08










2 Answers
2






active

oldest

votes


















1














1) you can find the path of the template file by using Debug mode



Login to Admin then follow below options



Store->Configuration->Advanced->Developer->Debug->Enable Template Path Hints for storefront->YES


after that clear the cache then load product detail page, you can see the template file path of each templates



2) For finding the appropriate layouts please refer official docs: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/debug-theme.html#debug-theme-layout






share|improve this answer































    0














    to customise product view page in magento2 you need to create a theme, you can find all information for new theme creation here



    after theme creation, you can manage product page by following path



    app/design/frontend/Vendor/themename/Magento_Catalog/templates/product/view/details.phtml





    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%2f116351%2fhow-to-customize-product-page-in-magento-2%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      1) you can find the path of the template file by using Debug mode



      Login to Admin then follow below options



      Store->Configuration->Advanced->Developer->Debug->Enable Template Path Hints for storefront->YES


      after that clear the cache then load product detail page, you can see the template file path of each templates



      2) For finding the appropriate layouts please refer official docs: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/debug-theme.html#debug-theme-layout






      share|improve this answer




























        1














        1) you can find the path of the template file by using Debug mode



        Login to Admin then follow below options



        Store->Configuration->Advanced->Developer->Debug->Enable Template Path Hints for storefront->YES


        after that clear the cache then load product detail page, you can see the template file path of each templates



        2) For finding the appropriate layouts please refer official docs: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/debug-theme.html#debug-theme-layout






        share|improve this answer


























          1












          1








          1







          1) you can find the path of the template file by using Debug mode



          Login to Admin then follow below options



          Store->Configuration->Advanced->Developer->Debug->Enable Template Path Hints for storefront->YES


          after that clear the cache then load product detail page, you can see the template file path of each templates



          2) For finding the appropriate layouts please refer official docs: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/debug-theme.html#debug-theme-layout






          share|improve this answer













          1) you can find the path of the template file by using Debug mode



          Login to Admin then follow below options



          Store->Configuration->Advanced->Developer->Debug->Enable Template Path Hints for storefront->YES


          after that clear the cache then load product detail page, you can see the template file path of each templates



          2) For finding the appropriate layouts please refer official docs: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/themes/debug-theme.html#debug-theme-layout







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 21 '16 at 11:52









          Bilal UseanBilal Usean

          4,56923486




          4,56923486

























              0














              to customise product view page in magento2 you need to create a theme, you can find all information for new theme creation here



              after theme creation, you can manage product page by following path



              app/design/frontend/Vendor/themename/Magento_Catalog/templates/product/view/details.phtml





              share|improve this answer




























                0














                to customise product view page in magento2 you need to create a theme, you can find all information for new theme creation here



                after theme creation, you can manage product page by following path



                app/design/frontend/Vendor/themename/Magento_Catalog/templates/product/view/details.phtml





                share|improve this answer


























                  0












                  0








                  0







                  to customise product view page in magento2 you need to create a theme, you can find all information for new theme creation here



                  after theme creation, you can manage product page by following path



                  app/design/frontend/Vendor/themename/Magento_Catalog/templates/product/view/details.phtml





                  share|improve this answer













                  to customise product view page in magento2 you need to create a theme, you can find all information for new theme creation here



                  after theme creation, you can manage product page by following path



                  app/design/frontend/Vendor/themename/Magento_Catalog/templates/product/view/details.phtml






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 15 '17 at 8:19









                  Emizen TechEmizen Tech

                  1866




                  1866






























                      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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f116351%2fhow-to-customize-product-page-in-magento-2%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

                      Magento 2 controller redirect on button click in phtml file

                      Polycentropodidae