breadcrumbs for products in multiple categories

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
webmaz
Lieutenant (LT)
Lieutenant (LT)
Posts: 52
Joined: Wed Apr 14, 2010 3:57 pm

breadcrumbs for products in multiple categories

Post by webmaz » Wed Apr 14, 2010 4:11 pm

For products in more than one category, how is the breadcrumb determined? More specifically, how is it determined when the customer reaches the product page by a similar product or other link (that does not include a category)?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: breadcrumbs for products in multiple categories

Post by mazhar » Thu Apr 15, 2010 7:30 am

I guess this done by tracking the user's accessibility path. For example what was the navigation path used by user to access this product and then render bread crumbs using that information.

webmaz
Lieutenant (LT)
Lieutenant (LT)
Posts: 52
Joined: Wed Apr 14, 2010 3:57 pm

Re: breadcrumbs for products in multiple categories

Post by webmaz » Thu Apr 15, 2010 10:29 am

Is there any way to control the breadcrumb displayed? Does the first category the product is placed in when the product page is created make a difference? Some of our breadcrumbs are not ideal. How is the breadcrumb determined if the product is in more than one category and the customer clicks directly on the product from the homepage?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: breadcrumbs for products in multiple categories

Post by mazhar » Fri Apr 16, 2010 10:56 am

Then I think it will open the product from first category available on product.

webmaz
Lieutenant (LT)
Lieutenant (LT)
Posts: 52
Joined: Wed Apr 14, 2010 3:57 pm

Re: breadcrumbs for products in multiple categories

Post by webmaz » Fri Apr 16, 2010 4:08 pm

My main question is: Can we control breadcrumbs (with or without custom programming)?

Does the order that I build the new product page and adding the additional categories make any difference?

Thanks and happy weekend!

themint
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Mon Aug 30, 2010 2:29 pm

Re: breadcrumbs for products in multiple categories

Post by themint » Thu Sep 23, 2010 12:58 pm

I have a similar question because I'm experiencing a bit of an issue.

When there is a direct link to a product, without a CategoryID supplied, there is usually a breadcrumb generated by some background method. Based on my testing, it appears that it chooses this so-called "primary category" based on the lowest CategoryID it is assigned to. In other words, in the CatalogNodes table, if a product is assigned to CategoryID 167, 264 and 301, it'll display the information for CategoryID 167.

Though it would be nice to set a primary category like in AC5. or control this in some way, it's not a dire issue...when it works. The problem is, that sometimes it's not displaying proper breadcrumbs. Instead of Displaying "Home > Category > Subcategory", it just displays "Home >". The products are definitely assigned to them, and I can't see any difference between the ones that don't work and the ones that do.

Any insight would be greatly appreciated!

Thank you.

Post Reply