Primary Category/Bread Crumbs/More Items...

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sweeperq
Commodore (COMO)
Commodore (COMO)
Posts: 497
Joined: Tue Jan 03, 2006 2:45 pm

Primary Category/Bread Crumbs/More Items...

Post by sweeperq » Mon Sep 27, 2010 3:26 pm

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".

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

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

Post by jmestep » Tue Sep 28, 2010 6:57 am

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

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

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

Post by plugables » Tue Sep 28, 2010 8:46 am

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.

Post Reply