I've got this problem that I can't solve. Partly because I can't explain it with the right terms. I'm new to this so sorry for this clumsy question.
Below you can see an overview of my goal.
I'm working with Magento CE 1.7.0.2 & Solr 4.6.0.
I'm searching for products its working fine,But plan is if i search with any of one category name that should return all the product from that category.
Foe Example, I have the categories like this
Mens
- Shirts
-- Casual Shirts
-- Formal Shirts
- T-Shirts
......
......
......
......
......
Now i'm trying to search with a word Formal Shirts it is showing " No Products found "
I can understand why its showing like that but my goal it should return Formal Shirts category products.
How can i do this one ?
Any Ideas ?
If you have the category ID you can load the controller and get the name:
$category = Mage::getModel('catalog/category')->load('RESPONSE CAT ID');
echo $category->getName();
HTH