Breadcrumb Trail

  • Idea
  • Updated 3 years ago
  • Implemented
Archived

This conversation was archived and is no longer visible to community members. The community moderator provided the following reason for archiving: completed

Is it possible to only show 1-2 linkable breadcrumbs on the product detail page? I ask as many of my products are listed across quite a few categories by theme, color etc. I have had to turn this feature off for now as you can imagine it is not an appealing look on the page to have more than 1 or 2 listed.

Thanks in advance :)
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes

Posted 4 years ago

  • 62
Photo of Derek AshauerDA

Derek Ashauer

  • 14 Posts
  • 5 Reply Likes
This was such a pain I came up with some jQuery code that takes the awful current CC method and turns it into how it should display.

Note that this does not fix the issue with the breadcrumb being in a H1/H2 tag in the first place since it manipulates the HTML after the page has loaded and the search engines will still see the breadcrumb in the H1/H2 tag.

http://pastebin.com/caNYKUM1

What I am doing is looping through every breadcrumb trail after the first one, grabbing the last link in that breadcrumb trail (this assumes that the product is in multiple sibling categories), then adding that link to the first breadcrumb. Then I hide all the breadcrumbs, then show the first one again.

This was tested to up to 3 categories and worked fine for me on my development store at http://hellobird.corecommerce.com/bra... (this product only has two categories)
Photo of The Agent

The Agent

  • 5 Posts
  • 1 Reply Like
Do you enter this code on the product detail page?
Photo of Derek AshauerDA

Derek Ashauer

  • 14 Posts
  • 5 Reply Likes
I included it in my header, but could go in a product detail template as well I suppose.
Photo of The Agent

The Agent

  • 5 Posts
  • 1 Reply Like
Thank you Derek. I added it to the header and it accomplishes one part of what I am looking for. Of course the other is size which CC has not addressed yet. We really need more control in the admin panel to display and change breadcrumbs.
This is a good start thanks so much for sharing it.
Photo of Michael

Michael

  • 71 Posts
  • 10 Reply Likes
I've only glanced at Derek's code, but in theory you can probably set the size or other CSS elements with javascript too.
Photo of The Agent

The Agent

  • 5 Posts
  • 1 Reply Like
@Michael Sounds like a great idea but one that I have no idea on how to do.
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes
And quite frankly something you should not have to know how to do, more complex/custom items I can understand the company not addressing - This is a basic and long overdue fix that needs to be addressed by CC - not the customers.
Photo of Simon Rimmington

Simon Rimmington

  • 19 Posts
  • 3 Reply Likes
Exactly 9 months now.

The interesting thing I find about Core Commerce after comparing all their competitors is that they do some really complicated programming absolutely brilliantly. But simple stuff like this is so convoluted it blows my mind.

Another example would be Product Names. You build your store, add your products, work on your SEO, then 6 months in you need to change your product name to better meet a SEO phrase. When you change your product name the SEO friendly URL changes so you have to add a 301 redirect. But if a page is also ranking well and you don't want to change the SEO friendly URL but you do want to change the product name, well you're kind of stuck. The obvious answer is a slug field like in Wordpress that you can "choose to change" if necessary, not be forced to change. Again this is off topic and needs a new improvement suggestion topic. But you see the point. Simple stuff.
Photo of Michael

Michael

  • 71 Posts
  • 10 Reply Likes
@TFB - Couldn't agree more... but you do what you have to. (Unless you want to battle CC non-stop!) ;)

@The Agent - I don't have the time to test this right now or create the finished code, but the place to start would be to add a js function to update the css for each of the elements you want to change. It wouldn't have to loop through each item in the breadcrumbs, like the original code, just change, say, the size for the specific h2 element wrapping the breadcrumbs.

Sorry it's just theory but breadcrumbs have not been an issue for the site I'm working on, so I haven't actually tried to work this out for myself.

Without access to PHP, if there's any possible way to do the same thing with javascript, do it. It's so much easier than trying to get the proper token added!
Photo of BulkCCTVStore

BulkCCTVStore

  • 364 Posts
  • 38 Reply Likes
Can @CoreCommerce give us an update on this? It would be nice to at least get the H1/H2 tags out of the Breadcrumbs. I don't mind the extra links but we need to figure something out on this... Its been 9 months... Thanks @TFB for being a bull dog and not letting this die...
Photo of hamer.kyleH

hamer.kyle

  • 64 Posts
  • 20 Reply Likes
@BulkCCTV it too, me 10 days to get a resolution on a ticket created around a subscription billing bug. The breadcrumbs needs to be addressed - this along with several other items seems to be fundamentally flawed, Crossing my fingers for 2012 fix of this
Photo of Paul Serra

Paul Serra

  • 200 Posts
  • 29 Reply Likes
This has been haunting usability since day 1. We need to have some sort of smart breadcrumb system. Or if that isn't possible at least let us choose the one path i want to show!
Photo of langstoneL

langstone

  • 12 Posts
  • 0 Reply Likes
I'd use this functionality if available.
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes
Bump - Is this one of the items in the works for early next year. Really need a response on this from CC as we move towards our plan for 2012 - Thanks so much
Photo of Alex Cramer

Alex Cramer

  • 4 Posts
  • 0 Reply Likes
bump!
Photo of barron

barron

  • 51 Posts
  • 2 Reply Likes
bump? nothing?
Photo of barron

barron

  • 51 Posts
  • 2 Reply Likes
Just a heads-up to people who are looking for a solution to this today, Derek has a great one: http://goo.gl/OVgQ8

Tried it and works as expected (actually better than expected). Thanks Derek for sharing.
Photo of Max Power

Max Power

  • 4 Posts
  • 0 Reply Likes
On the heading tag issue...

Hmm? This is a littledisconcerting. Obviously this is an issue. H1 tags for breadcrumbs? And why cant we style it ourselves with CSS?

And a topic for a year now? I am not a developer in any way, but wouldn't a fix for this be as simple as adding a breadcrumb class in the css and then styling the php or html with said class? Boom! Done in 5 min.

Maybe I am being a little naive about the complexity of the issue, but I just don't see why this wasn't addressed the day "Use of bread crumb trails" was added to the features list. The fact that even having "Use of bread crumb trails" on the feature list scares me a little too. Wow, what a feature... this concept has been around for decades. By now, breadcrumbs are expected in category type navigation.

Any ways, CC looks to be a fantastic product. Little things here and there just rub me the wrong way.
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes
Max, we have given up on basic issues being fixed, that is unless they are paid fixes.
Photo of Simon Rimmington

Simon Rimmington

  • 19 Posts
  • 3 Reply Likes
TFB - that's a crying shame when you think about it ..... we have now given up on being heard. You have faithfully been pumping the fix the crappy breadcrumbs issue for a year now. The lack of response from CoreCommerce if frankly pretty poor. For me I'll be looking for a different solution for the future, which is a shame as CoreCommerce has a lot of complicated features done well. But lots of simple things that plain suck ,,, breadcrumbs being one of them.
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes
It is a shame, we are in the process of a transition. Paid features and building the Porsche with a Ford Pinto engine is not something I am willing to drive any longer.
Photo of forwardgearF

forwardgear

  • 129 Posts
  • 15 Reply Likes
@TFB: Please advise as to what you are transitioning to or give alternate contact method.
Photo of Condor

Condor

  • 338 Posts
  • 43 Reply Likes
@TFB: Sorry to see you make your change. I do understand and wish you well.
Photo of Paul Serra

Paul Serra

  • 200 Posts
  • 29 Reply Likes
I can't believe this isn't fixed yet. I really want to set my products to have no sidebars to boost conversion but i can't because the customer has no way to get back. This is a core issue and I believe Matt said it would be done in Q1 this year...?
Photo of TFB

TFB

  • 190 Posts
  • 19 Reply Likes
Yes Paul - you are correct, supposed to be Q1 (this was the reason we stayed this long) and I have stopped holding my breath on this and other basic issues. Even if this issue does get resolved in time the manner in which the history of basic fixes are addressed or communicated on has not changed. I had hoped the 90/10 example given during the webinar would in fact happen and I am just not seeing it change as paid features still seem to be the priority over basic and necessary fixes. As Simon stated, it really is a crying shame.
Photo of youccnowY

youccnow

  • 98 Posts
  • 13 Reply Likes
@TFB - I too would like to know what you are transitioning too. Please let us know info@laselectshop.com
Photo of Paul Serra

Paul Serra

  • 200 Posts
  • 29 Reply Likes
TFB - let me know where you are transitioning to as well. It's good to keep this in the back of my head in-case it doesn't get fixed. Also, what is your website? I have this unsure feeling about core commerce, I really like them but there are certain "core" features (no pun intended) that are broken or half ass... sort / filter on category page, product detail breadcrumbs, search,etc.
Photo of Lisa Halang

Lisa Halang

  • 24 Posts
  • 7 Reply Likes
@TFB - I would also love to know where you're transitioning to info@purpleunicorncollectibles.com
Photo of Matt DeLong

Matt DeLong, CEO

  • 997 Posts
  • 75 Reply Likes
@all our plans are still to do a 90/10 spending 90% of our time on improving existing features and 10% on new features. This feature is on our list of March features.
Photo of Matt DeLong

Matt DeLong, CEO

  • 997 Posts
  • 75 Reply Likes
Also, contrary to popular belief, we actually dislike custom/paid features because they often are specific to how 1 customer operates that it's clunky for other customers.

So we have really scaled back on what projects we accept unless they can absolutely benefit a large group of our customer base (instead of 1 individual customer)
Photo of NNursery

NNursery

  • 81 Posts
  • 6 Reply Likes
Navigation issues is why I have not been able to bring my stores to CC. This looks to be a positive step.
Photo of Matt DeLong

Matt DeLong, CEO

  • 997 Posts
  • 75 Reply Likes
We are going to build it like this:


<h1>THE TITLE</h1>

<p class="breadcrumbs"><a href="">Products</a> > <a href="">Category</a> > <a href="">Sub-Category</a> > Product Name</p>


BUT, with a checkbox to enable these "new breadcrumbs", so folks can tweak their CSS when they are ready to use it. You will see this by the end of this month. (March)
Photo of Paul Serra

Paul Serra

  • 200 Posts
  • 29 Reply Likes
I'm really excited to see how this will work.
Photo of Alex Cramer

Alex Cramer

  • 4 Posts
  • 0 Reply Likes
Sweet
Photo of Ryan ChaseRC

Ryan Chase

  • 5 Posts
  • 2 Reply Likes
Is there a reason why "Products" is the base for the breadcrumb? Shouldn't it be home? Also why does it link to cart.html?
Photo of Kris Graffagnino

Kris Graffagnino, Director of Sales

  • 455 Posts
  • 34 Reply Likes
Hey Ryan,

Products is just the word we selected when we designed the breadcrumb trial. You can change this inside your admin->site content->edit words and phrases->search for "Products" and you can change it.

As for cart.html, that is the main landing URL for the store, so if you have a Homepage Design setup, for example, it will go to that since that is the main landing page setup in the settings.
Photo of Ryan ChaseRC

Ryan Chase

  • 5 Posts
  • 2 Reply Likes
Wow, you sure don't make that easy. I did a search for "Products" and got a long list of results. There were multiple results for English: Products so its not exactly clear which one needs to be changed.
Photo of JBGood

JBGood

  • 4 Posts
  • 0 Reply Likes
I changed the word "products" as suggested, worked fine with one side effect so far. When you export products the default file name is now "home". I guess i can work around this but i wonder if this is the only thing effected.