How to remove breadcrumbs from category page in Magento 2












3















I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.



Please help!



Thanks in advance.



enter image description here










share|improve this question

























  • you can check my answer below.

    – Dinesh Yadav
    Jun 30 '17 at 12:54
















3















I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.



Please help!



Thanks in advance.



enter image description here










share|improve this question

























  • you can check my answer below.

    – Dinesh Yadav
    Jun 30 '17 at 12:54














3












3








3


2






I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.



Please help!



Thanks in advance.



enter image description here










share|improve this question
















I am messing with an issue in Magento 2 site. I have to remove breadcrumbs from the category page. I have also to remove the toolbar from the same page.



Please help!



Thanks in advance.



enter image description here







magento2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 26 '17 at 10:35







Amrit Pal Singh

















asked Jun 30 '17 at 12:24









Amrit Pal SinghAmrit Pal Singh

769523




769523













  • you can check my answer below.

    – Dinesh Yadav
    Jun 30 '17 at 12:54



















  • you can check my answer below.

    – Dinesh Yadav
    Jun 30 '17 at 12:54

















you can check my answer below.

– Dinesh Yadav
Jun 30 '17 at 12:54





you can check my answer below.

– Dinesh Yadav
Jun 30 '17 at 12:54










4 Answers
4






active

oldest

votes


















8














Add below code to remove breadcrumbs from category pages



app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml



<referenceBlock name="breadcrumbs" remove="true" />




For remove toolbar




<referenceBlock name="product_list_toolbar" display="false" />




Remove var/cache and var/page_cache folder.



Thank you for the information this was helpful.
For Magento 2.2.5 use the code below




<referenceContainer name="breadcrumbs" remove="true" />







share|improve this answer

































    5














    Add below code to remove breadcrumbs from category pages




    app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




    <referenceBlock name="breadcrumbs" remove="true" />


    And for removing toolbar, Comment out below line form list.phtml



    app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml


    the 2 lines with



    <?php echo $block->getToolbarHtml() ?>


    You can see more here






    share|improve this answer


























    • I have to remove toolbar also in same page

      – Amrit Pal Singh
      Jun 30 '17 at 12:34











    • See my updated answer

      – Suresh Chikani
      Jun 30 '17 at 12:35











    • If my solution is works for you, Accept my answer.

      – Suresh Chikani
      Jun 30 '17 at 12:38











    • Toolbar is not getting hidden

      – Amrit Pal Singh
      Jun 30 '17 at 12:39











    • I have added the picture

      – Amrit Pal Singh
      Jun 30 '17 at 12:45



















    3














    Navigate to




    app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




    and put below code in <body> tag



    <referenceBlock name="breadcrumbs" remove="true" />
    <referenceBlock name="product_list_toolbar" display="false" />





    share|improve this answer

































      2














      You can try the below code in your layout file catalog_category_view.xml file.



      <referenceBlock name="breadcrumbs" remove="true" />





      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%2f181532%2fhow-to-remove-breadcrumbs-from-category-page-in-magento-2%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        8














        Add below code to remove breadcrumbs from category pages



        app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml



        <referenceBlock name="breadcrumbs" remove="true" />




        For remove toolbar




        <referenceBlock name="product_list_toolbar" display="false" />




        Remove var/cache and var/page_cache folder.



        Thank you for the information this was helpful.
        For Magento 2.2.5 use the code below




        <referenceContainer name="breadcrumbs" remove="true" />







        share|improve this answer






























          8














          Add below code to remove breadcrumbs from category pages



          app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml



          <referenceBlock name="breadcrumbs" remove="true" />




          For remove toolbar




          <referenceBlock name="product_list_toolbar" display="false" />




          Remove var/cache and var/page_cache folder.



          Thank you for the information this was helpful.
          For Magento 2.2.5 use the code below




          <referenceContainer name="breadcrumbs" remove="true" />







          share|improve this answer




























            8












            8








            8







            Add below code to remove breadcrumbs from category pages



            app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml



            <referenceBlock name="breadcrumbs" remove="true" />




            For remove toolbar




            <referenceBlock name="product_list_toolbar" display="false" />




            Remove var/cache and var/page_cache folder.



            Thank you for the information this was helpful.
            For Magento 2.2.5 use the code below




            <referenceContainer name="breadcrumbs" remove="true" />







            share|improve this answer















            Add below code to remove breadcrumbs from category pages



            app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml



            <referenceBlock name="breadcrumbs" remove="true" />




            For remove toolbar




            <referenceBlock name="product_list_toolbar" display="false" />




            Remove var/cache and var/page_cache folder.



            Thank you for the information this was helpful.
            For Magento 2.2.5 use the code below




            <referenceContainer name="breadcrumbs" remove="true" />








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 26 mins ago









            Rayed

            153




            153










            answered Jun 30 '17 at 13:30









            Suresh ChikaniSuresh Chikani

            10.3k53371




            10.3k53371

























                5














                Add below code to remove breadcrumbs from category pages




                app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                <referenceBlock name="breadcrumbs" remove="true" />


                And for removing toolbar, Comment out below line form list.phtml



                app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml


                the 2 lines with



                <?php echo $block->getToolbarHtml() ?>


                You can see more here






                share|improve this answer


























                • I have to remove toolbar also in same page

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:34











                • See my updated answer

                  – Suresh Chikani
                  Jun 30 '17 at 12:35











                • If my solution is works for you, Accept my answer.

                  – Suresh Chikani
                  Jun 30 '17 at 12:38











                • Toolbar is not getting hidden

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:39











                • I have added the picture

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:45
















                5














                Add below code to remove breadcrumbs from category pages




                app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                <referenceBlock name="breadcrumbs" remove="true" />


                And for removing toolbar, Comment out below line form list.phtml



                app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml


                the 2 lines with



                <?php echo $block->getToolbarHtml() ?>


                You can see more here






                share|improve this answer


























                • I have to remove toolbar also in same page

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:34











                • See my updated answer

                  – Suresh Chikani
                  Jun 30 '17 at 12:35











                • If my solution is works for you, Accept my answer.

                  – Suresh Chikani
                  Jun 30 '17 at 12:38











                • Toolbar is not getting hidden

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:39











                • I have added the picture

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:45














                5












                5








                5







                Add below code to remove breadcrumbs from category pages




                app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                <referenceBlock name="breadcrumbs" remove="true" />


                And for removing toolbar, Comment out below line form list.phtml



                app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml


                the 2 lines with



                <?php echo $block->getToolbarHtml() ?>


                You can see more here






                share|improve this answer















                Add below code to remove breadcrumbs from category pages




                app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                <referenceBlock name="breadcrumbs" remove="true" />


                And for removing toolbar, Comment out below line form list.phtml



                app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml


                the 2 lines with



                <?php echo $block->getToolbarHtml() ?>


                You can see more here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 30 '17 at 12:45

























                answered Jun 30 '17 at 12:32









                Suresh ChikaniSuresh Chikani

                10.3k53371




                10.3k53371













                • I have to remove toolbar also in same page

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:34











                • See my updated answer

                  – Suresh Chikani
                  Jun 30 '17 at 12:35











                • If my solution is works for you, Accept my answer.

                  – Suresh Chikani
                  Jun 30 '17 at 12:38











                • Toolbar is not getting hidden

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:39











                • I have added the picture

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:45



















                • I have to remove toolbar also in same page

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:34











                • See my updated answer

                  – Suresh Chikani
                  Jun 30 '17 at 12:35











                • If my solution is works for you, Accept my answer.

                  – Suresh Chikani
                  Jun 30 '17 at 12:38











                • Toolbar is not getting hidden

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:39











                • I have added the picture

                  – Amrit Pal Singh
                  Jun 30 '17 at 12:45

















                I have to remove toolbar also in same page

                – Amrit Pal Singh
                Jun 30 '17 at 12:34





                I have to remove toolbar also in same page

                – Amrit Pal Singh
                Jun 30 '17 at 12:34













                See my updated answer

                – Suresh Chikani
                Jun 30 '17 at 12:35





                See my updated answer

                – Suresh Chikani
                Jun 30 '17 at 12:35













                If my solution is works for you, Accept my answer.

                – Suresh Chikani
                Jun 30 '17 at 12:38





                If my solution is works for you, Accept my answer.

                – Suresh Chikani
                Jun 30 '17 at 12:38













                Toolbar is not getting hidden

                – Amrit Pal Singh
                Jun 30 '17 at 12:39





                Toolbar is not getting hidden

                – Amrit Pal Singh
                Jun 30 '17 at 12:39













                I have added the picture

                – Amrit Pal Singh
                Jun 30 '17 at 12:45





                I have added the picture

                – Amrit Pal Singh
                Jun 30 '17 at 12:45











                3














                Navigate to




                app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                and put below code in <body> tag



                <referenceBlock name="breadcrumbs" remove="true" />
                <referenceBlock name="product_list_toolbar" display="false" />





                share|improve this answer






























                  3














                  Navigate to




                  app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                  and put below code in <body> tag



                  <referenceBlock name="breadcrumbs" remove="true" />
                  <referenceBlock name="product_list_toolbar" display="false" />





                  share|improve this answer




























                    3












                    3








                    3







                    Navigate to




                    app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                    and put below code in <body> tag



                    <referenceBlock name="breadcrumbs" remove="true" />
                    <referenceBlock name="product_list_toolbar" display="false" />





                    share|improve this answer















                    Navigate to




                    app/design/frontend/Vendor/Theme/Magento_Catalog/layout/catalog_category_view.xml




                    and put below code in <body> tag



                    <referenceBlock name="breadcrumbs" remove="true" />
                    <referenceBlock name="product_list_toolbar" display="false" />






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jun 30 '17 at 12:53

























                    answered Jun 30 '17 at 12:33









                    Dinesh YadavDinesh Yadav

                    4,0701937




                    4,0701937























                        2














                        You can try the below code in your layout file catalog_category_view.xml file.



                        <referenceBlock name="breadcrumbs" remove="true" />





                        share|improve this answer






























                          2














                          You can try the below code in your layout file catalog_category_view.xml file.



                          <referenceBlock name="breadcrumbs" remove="true" />





                          share|improve this answer




























                            2












                            2








                            2







                            You can try the below code in your layout file catalog_category_view.xml file.



                            <referenceBlock name="breadcrumbs" remove="true" />





                            share|improve this answer















                            You can try the below code in your layout file catalog_category_view.xml file.



                            <referenceBlock name="breadcrumbs" remove="true" />






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jun 30 '17 at 12:46









                            Dinesh Yadav

                            4,0701937




                            4,0701937










                            answered Jun 30 '17 at 12:30









                            JjoJjo

                            835214




                            835214






























                                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%2f181532%2fhow-to-remove-breadcrumbs-from-category-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

                                What other Star Trek series did the main TNG cast show up in?

                                Berlina muro

                                Berlina aerponto