Magento Forum

Build a relative link to the root category (or the first category in the category list)? 
 
The Sunday Paper
Sr. Member
 
Total Posts:  202
Joined:  2008-08-06
 

I’m working with multiple Websites, but the first subcategory in each Website’s root category is our catchall category for all products in that Website. I want to put a link to that category — whichever category is in the first position on the active Website — at the bottom of a shared CMS page.

It must be possible, because whatever code generates the category links at the top of the page can do it. It creates links for each category in the appropriate Website’s root regardless of the category ID of each. I want to do exactly the same thing, except I want it to only call up the first item in that list, and then stop.

Can it be done?

 
Magento Community Magento Community
Magento Community
Magento Community
 
gediweb
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-08-29
 

@the sunday paper, did you find an answer to this? I need it too. I’d like to do a “shop all” link.

 
Magento Community Magento Community
Magento Community
Magento Community
 
The Sunday Paper
Sr. Member
 
Total Posts:  202
Joined:  2008-08-06
 

Nope, nothing yet. I’ve been holding out for when some kind and knowledgeable soul comes across this post.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gediweb
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-08-29
 

I’m looking for the workaround. Will post if I find anything.

 
Magento Community Magento Community
Magento Community
Magento Community
 
shmk
Sr. Member
 
Total Posts:  297
Joined:  2009-10-28
 

Have you found any solution?

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