Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
As I've been redoing my site for BVC5 I've gotten a lot of help, and I'd like to say thanks.
However, I have run into another problem.
I have links to popular products and categories on the main page, and I've run into a problem in setting it up.
If the link is a category, the bread crumb displays the proper category and subcategory.
However, if the link on the main page is an actual product, the breadcrumb displays the last category and subcategory I visited before that product.
Example: If I was looking at products in Home: Audio Cables and then went back to home, and clicked on a product on the main page that's located in Home: Accessories it would show in the breadcrumb that it's in the Home: Audio Cables section.
Any thoughts?
Thanks! |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
I have the same issue :( A fix for this would be very welcome. |
|
|
|
|
Rank: Member
Joined: 11/18/2003(UTC) Posts: 1,465
|
When clicking on the product directly on the home page the product doesn't really exist in a category at that point. Also, what do you do if the product is assigned to more than one category? Which do you put up in the breadcrumb? The only fix I see is to keep the home portion of the breadcrumb but remove the previous category visted from the trail (Audio Cables in the above example.). |
TIM
BVC Add-Ons and Development |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
My solution for SF is to check if the product is in the category. If not (such as when a link jumps to a product in an unrelated category) then I display a breadcrumb trail to each category the product is assigned. I can configure the control to display all the trails or just one (first, last, shortest, or longest). I believe most merchants using my solution display all the trails. Although it sounds wierd, it looks pretty natural. For example a belt might appear like this:
Clothing > Mens > Accessories > Belts
Clothing > Leather > Belts |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
Andy's method is pure gold for page content...it can look natural if trimmed off to a max of 3 or 4...sometimes merchants can get a little crazy with categories and all of sudden you're staring at 12 line bread crumb trail!!
I can get a little crazy with categories too ;) |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
@Andy: That sounds like a great idea.
How would I go about configuring that? |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
You would need to rewrite the BreadCrumbs Control in BV Commerce to implement this functionality. I was referring to a BreadCrumbs Control that I sell for another product that does not include any breadcrumbs feature ootb. |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Oh.
Hmm. Any tips on what to look for? |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
|
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Tips on how to rewrite the 'breadcrumb control'.
In other words, there are multiple breadcrumb files, and in them, there are many settings. I'm unsure of what might be the culprit. |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
To figure out which breadcrumbs control you are using, open the Product.aspx file in the appropriate ProductTemplates directory. For example, if you are using the BVC5 product template, then open BVModules/ProductTemplates/Bvc5/Product.aspx.
Look at the top of the Product.aspx file to figure out which breadcrumbs control is used. For example, the one above uses "../../Controls/CategoryBreadCrumbTrail.ascx" which resolves to "BVModules/Controls/CategoryBreadCrumbTrail.aspx".
Once know which control is used, you will need to modify the code in the associated vb file. For example, CategoryBreadCrumbTrail.ascx.vb.
If you are not comfortable figuring out what to change or how to change it, then you might try contacting one of the developers on the Partners page. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.