Search Results: List categories and productsSearch 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

How important is it that $TERM is correct?

All ASCII characters with a given bit count

A Paper Record is What I Hamper

Contradiction proof for inequality of P and NP?

UK Visa refusal and ban for 10 years (false documents). Can I apply for Australia?

Crossed out red box fitting tightly around image

Nails holding drywall

What does "function" actually mean in music?

What *exactly* is electrical current, voltage, and resistance?

Combinatorics problem, right solution?

Why is the underscore command _ useful?

std::unique_ptr of base class holding reference of derived class does not show warning in gcc compiler while naked pointer shows it. Why?

Unknown code in script

Mistake in years of experience in resume?

A strange hotel

How exactly does Hawking radiation decrease the mass of black holes?

Where was the County of Thurn und Taxis located?

"The cow" OR "a cow" OR "cows" in this context

Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?

A ​Note ​on ​N!

How to pronounce 'c++' in Spanish

Is there any pythonic way to find average of specific tuple elements in array?

Multiple fireplaces in an apartment building?

Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?



Search Results: List categories and products


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






























    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


























      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




















          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

                    Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

                    Magento2 - How to hide price filter only in specific categories?Multiselect price filter attribute in layered navigationhide only some categories from layered navigation in magentoRemove Price Filter on certain categoriescustomize layered price filter?Hide Price for a particular customer groupPrice filter in layered navigation not working correctly with price including tax in magento 2.2.3Magento 2 how to hide attribute at Layered navigation?Magento 2. how to hide price only for specific categoriesMagento 2 How can I hide the price and total from cart and checkout summary?Magento2: Can we add navigation layered filter like price filter for other attribute?