Page 1 of 1

Primary Category/Bread Crumbs/More Items...

Posted: Mon Sep 27, 2010 3:26 pm
by sweeperq
So, in AC 7 I haven't figured out how I set the primary category for each product. Am I missing something? The bread crumbs seem to pick up on which category I visited before the current page view, but for Search I'd like to specify what the bread crumbs should be defaulting to.

I also noticed that while the bread crumbs seem to be aware of where I came from, the More Items in Category control is not. It is simply using the category with the lowest id#. It doesn't look like the bread crumbs control is passed a category id, so how is it determining which category to use? Referring URL? I'd like to know so I can customize the "More Items" control to work the same way. I don't want to be in a Women's Socks category and displaying "More Items in Men's Socks".

Re: Primary Category/Bread Crumbs/More Items...

Posted: Tue Sep 28, 2010 6:57 am
by jmestep
You might have to put the catalognode url link in the search page instead of the product url and pick up product.categories[0]. Then the categoryid will get passed to the product page.

Re: Primary Category/Bread Crumbs/More Items...

Posted: Tue Sep 28, 2010 8:46 am
by plugables
There is no concept of 'primary' category in AC7 as far as I know. As suggested by Judy you could probably get the first category in the collection and consider it primary.