Search Results: List categories and products Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Search results page shows all results on first pageSearch results page - wrong number of products per pageSearch results give unrelated category results - why?Join Catalog Search Query with categories related products fetch onlyHow to order search results by category?Search category names in basic search and return matching productsInclude category in search resultSearch with content typesHow to display search results sorted by categoriesMagento Search Results: Echo SKU list of products in header.phtml or head.phtml

Why do people think Winterfell crypts is the safest place for women, children and old people?

Why did Israel vote against lifting the American embargo on Cuba?

Co-worker works way more than he should

Why does the Cisco show run command not show the full version, while the show version command does?

When does Bran Stark remember Jamie pushing him?

Will I lose my paid in full property

Why did Europeans not widely domesticate foxes?

Where can I find how to tex symbols for different fonts?

France's Public Holidays' Puzzle

When speaking, how do you change your mind mid-sentence?

What does the black goddess statue do and what is it?

Was Objective-C really a hindrance to Apple software development?

What is the ongoing value of the Kanban board to the developers as opposed to management

Did war bonds have better investment alternatives during WWII?

Does a Draconic Bloodline sorcerer's doubled proficiency bonus for Charisma checks against dragons apply to all dragon types or only the chosen one?

How did Elite on the NES work?

What happened to Viserion in Season 7?

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Is it appropriate to mention a relatable company blog post when you're asked about the company?

Why isPrototypeOf() returns false?

Protagonist's race is hidden - should I reveal it?

How would you suggest I follow up with coworkers about our deadline that's today?

What is a 'Key' in computer science?

TV series episode where humans nuke aliens before decrypting their message that states they come in peace



Search Results: List categories and products



Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Search results page shows all results on first pageSearch results page - wrong number of products per pageSearch results give unrelated category results - why?Join Catalog Search Query with categories related products fetch onlyHow to order search results by category?Search category names in basic search and return matching productsInclude category in search resultSearch with content typesHow to display search results sorted by categoriesMagento Search Results: Echo SKU list of products in header.phtml or head.phtml



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















In magento, it is not possible to search for categories.



Currently it shows only the products in the list.



I need Categories and products in the search result.



Search results for categories should be related to searched query and not to the category of products that are listed in the result.



Otherwise how to show the categories name associated with search result products?



Help me find the file, In which file to we can edit the search query?










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    In magento, it is not possible to search for categories.



    Currently it shows only the products in the list.



    I need Categories and products in the search result.



    Search results for categories should be related to searched query and not to the category of products that are listed in the result.



    Otherwise how to show the categories name associated with search result products?



    Help me find the file, In which file to we can edit the search query?










    share|improve this question
















    bumped to the homepage by Community 2 days ago


    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








      In magento, it is not possible to search for categories.



      Currently it shows only the products in the list.



      I need Categories and products in the search result.



      Search results for categories should be related to searched query and not to the category of products that are listed in the result.



      Otherwise how to show the categories name associated with search result products?



      Help me find the file, In which file to we can edit the search query?










      share|improve this question
















      In magento, it is not possible to search for categories.



      Currently it shows only the products in the list.



      I need Categories and products in the search result.



      Search results for categories should be related to searched query and not to the category of products that are listed in the result.



      Otherwise how to show the categories name associated with search result products?



      Help me find the file, In which file to we can edit the search query?







      category catalogsearch search






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 25 '14 at 23:22









      Fabian Blechschmidt

      33.5k764174




      33.5k764174










      asked Feb 6 '14 at 6:29









      HelphinHelphin

      77421433




      77421433





      bumped to the homepage by Community 2 days ago


      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 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          2 Answers
          2






          active

          oldest

          votes


















          0














          I'm not sure I understand your question correctly.



          You want to show categories which match the search query, correct?



          I would implement a new block, add it via layout.xml to the catalogsearch_result_index and/or catalogsearch_advanced_result.



          The block only needs to get all the categories which match the query, here you need to define whether you want like or fulltext search, or something more complex.



          Then you need a template, iterate over all the categories and output them.






          share|improve this answer























          • Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

            – Helphin
            Feb 26 '14 at 12:04











          • What do you not understand?

            – Fabian Blechschmidt
            Feb 26 '14 at 19:26











          • in which layout file

            – Helphin
            Feb 27 '14 at 5:51











          • In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

            – Fabian Blechschmidt
            Feb 27 '14 at 7:51


















          0














          Try Sphinx Search Ultimate. This extension support search by multiple conent types (products, categories, blogs, articles etc)



          Demo: http://ssu.demo.mirasvit.com/catalogsearch/result/?cat=0&q=camera






          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%2f14514%2fsearch-results-list-categories-and-products%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









            0














            I'm not sure I understand your question correctly.



            You want to show categories which match the search query, correct?



            I would implement a new block, add it via layout.xml to the catalogsearch_result_index and/or catalogsearch_advanced_result.



            The block only needs to get all the categories which match the query, here you need to define whether you want like or fulltext search, or something more complex.



            Then you need a template, iterate over all the categories and output them.






            share|improve this answer























            • Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

              – Helphin
              Feb 26 '14 at 12:04











            • What do you not understand?

              – Fabian Blechschmidt
              Feb 26 '14 at 19:26











            • in which layout file

              – Helphin
              Feb 27 '14 at 5:51











            • In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

              – Fabian Blechschmidt
              Feb 27 '14 at 7:51















            0














            I'm not sure I understand your question correctly.



            You want to show categories which match the search query, correct?



            I would implement a new block, add it via layout.xml to the catalogsearch_result_index and/or catalogsearch_advanced_result.



            The block only needs to get all the categories which match the query, here you need to define whether you want like or fulltext search, or something more complex.



            Then you need a template, iterate over all the categories and output them.






            share|improve this answer























            • Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

              – Helphin
              Feb 26 '14 at 12:04











            • What do you not understand?

              – Fabian Blechschmidt
              Feb 26 '14 at 19:26











            • in which layout file

              – Helphin
              Feb 27 '14 at 5:51











            • In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

              – Fabian Blechschmidt
              Feb 27 '14 at 7:51













            0












            0








            0







            I'm not sure I understand your question correctly.



            You want to show categories which match the search query, correct?



            I would implement a new block, add it via layout.xml to the catalogsearch_result_index and/or catalogsearch_advanced_result.



            The block only needs to get all the categories which match the query, here you need to define whether you want like or fulltext search, or something more complex.



            Then you need a template, iterate over all the categories and output them.






            share|improve this answer













            I'm not sure I understand your question correctly.



            You want to show categories which match the search query, correct?



            I would implement a new block, add it via layout.xml to the catalogsearch_result_index and/or catalogsearch_advanced_result.



            The block only needs to get all the categories which match the query, here you need to define whether you want like or fulltext search, or something more complex.



            Then you need a template, iterate over all the categories and output them.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 25 '14 at 23:20









            Fabian BlechschmidtFabian Blechschmidt

            33.5k764174




            33.5k764174












            • Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

              – Helphin
              Feb 26 '14 at 12:04











            • What do you not understand?

              – Fabian Blechschmidt
              Feb 26 '14 at 19:26











            • in which layout file

              – Helphin
              Feb 27 '14 at 5:51











            • In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

              – Fabian Blechschmidt
              Feb 27 '14 at 7:51

















            • Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

              – Helphin
              Feb 26 '14 at 12:04











            • What do you not understand?

              – Fabian Blechschmidt
              Feb 26 '14 at 19:26











            • in which layout file

              – Helphin
              Feb 27 '14 at 5:51











            • In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

              – Fabian Blechschmidt
              Feb 27 '14 at 7:51
















            Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

            – Helphin
            Feb 26 '14 at 12:04





            Fabian, you have understand the question correctly, but i couldn't get your answer clearly.

            – Helphin
            Feb 26 '14 at 12:04













            What do you not understand?

            – Fabian Blechschmidt
            Feb 26 '14 at 19:26





            What do you not understand?

            – Fabian Blechschmidt
            Feb 26 '14 at 19:26













            in which layout file

            – Helphin
            Feb 27 '14 at 5:51





            in which layout file

            – Helphin
            Feb 27 '14 at 5:51













            In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

            – Fabian Blechschmidt
            Feb 27 '14 at 7:51





            In the layout file of your module coding.smashingmagazine.com/2012/11/30/…

            – Fabian Blechschmidt
            Feb 27 '14 at 7:51













            0














            Try Sphinx Search Ultimate. This extension support search by multiple conent types (products, categories, blogs, articles etc)



            Demo: http://ssu.demo.mirasvit.com/catalogsearch/result/?cat=0&q=camera






            share|improve this answer



























              0














              Try Sphinx Search Ultimate. This extension support search by multiple conent types (products, categories, blogs, articles etc)



              Demo: http://ssu.demo.mirasvit.com/catalogsearch/result/?cat=0&q=camera






              share|improve this answer

























                0












                0








                0







                Try Sphinx Search Ultimate. This extension support search by multiple conent types (products, categories, blogs, articles etc)



                Demo: http://ssu.demo.mirasvit.com/catalogsearch/result/?cat=0&q=camera






                share|improve this answer













                Try Sphinx Search Ultimate. This extension support search by multiple conent types (products, categories, blogs, articles etc)



                Demo: http://ssu.demo.mirasvit.com/catalogsearch/result/?cat=0&q=camera







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 23 '14 at 10:19









                AlexAlex

                45629




                45629



























                    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%2f14514%2fsearch-results-list-categories-and-products%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

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form