Hi Guys
The CategoryBreadCrumbs on all categroy pages shows only top level (first category) and does not show the category trail.
The BreadCrumbsRepeater.Controls.Count is always 2, no matter how deep you are. The CategorySearchSidebar on the page is working OK.
We have several subcategories ( 4 levels) and we have not modified the code, the original code is not working.
This is very critical for us, any help is appriciated. Thanks
CategoryBreadCrumbs shows only top level categories
UPDATE: CategoryBreadCrumbs shows only top level categories
It seems the CatgoryBreadCrum is updated using paramter passed on the address (Category.aspx?CategoryId=XXX) and the CategorySearchBar does not update the CategoryID parameter. The CategorySeachBar changes the content based on selected category in narrow/Expand and the content is changed accordingly, but a CategoryId is not passed and therefore the BreadCrumb is not updated.
I was wondering if this a normal behavior? and Any hint on how to fix it?
Thanks in advance.
I was wondering if this a normal behavior? and Any hint on how to fix it?
Thanks in advance.
Re: CategoryBreadCrumbs shows only top level categories
No response for over a week, At least can somebody confirm I am right or not ?
Re: CategoryBreadCrumbs shows only top level categories
What is your application version? Are you running the page in question in out of the box configuration or you moved things around to suit your needs? If you customized the page what is current configuration of the page means what's in its sidebar, what's in its content section etc.
Re: CategoryBreadCrumbs shows only top level categories
Give a try and edit your Conlib/CategoryBreadCrumbs.ascx.cs file and locate following line
and update it as
save the changes and then test. See if it fixed the issue or not.
Code: Select all
this.CategoryId = PageHelper.GetCategoryId(true);
Code: Select all
if(this.CategoryId==0)
this.CategoryId = PageHelper.GetCategoryId(true);
Re: CategoryBreadCrumbs shows only top level categories
It did it,it now works. Thanks a lot, we spend lots of hours on it.
I am just wondering, isn't it suppose to be there by default?
I am just wondering, isn't it suppose to be there by default?
Re: CategoryBreadCrumbs shows only top level categories
Hi again,
Mazhar, it does not updates on the product detail page !
Any idea?
Mazhar, it does not updates on the product detail page !
Any idea?