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".
Primary Category/Bread Crumbs/More Items...
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Primary Category/Bread Crumbs/More Items...
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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Primary Category/Bread Crumbs/More Items...
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.