Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

abilities to show the root_catalog
 
somebody
Jr. Member
 
Total Posts:  18
Joined:  2008-05-14
Leipzig, Germany
 

hi everyone,

can anyone give me a hint to the following problem please??!!

is there any ability to show the root_catalog as it would be a normal category??
with the following code i’m able to readout an categoryUrl

$fnCatId = (int)Mage::app()->getStore()->getWebsite()->getDefaultGroup()->getData('root_category_id');
$catUrl    Mage::getModel('catalog/category')->load($fnCatId)->getUrl();

the result is the following:
http://localhost/magento/catalog/category/view/s/root-catalog/id/3/

but whe i try to call this url i get the 404 page.

my thoughts are to get a summary-category with all products and i would prefer to pretend setting up a “subroot”,
because the navigation. i also set up the root_catalog as an anchor, so it provides all the products! i also be able
(with some other code) to read out filterable attributes of the root or to readout products of the root.
but however i’m not able to call up the root??!!

is there no ability to call up the root_catalog or am i wrong with my code??

hugs and thanks
sebastian

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top