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;
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
add a comment |
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
add a comment |
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
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
category catalogsearch search
edited Feb 25 '14 at 23:22
Fabian Blechschmidt
33.5k764174
33.5k764174
asked Feb 6 '14 at 6:29
HelphinHelphin
77421433
77421433
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Jun 23 '14 at 10:19
AlexAlex
45629
45629
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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