Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the 'Add product Type' form: breadcrumbs = Home > Administration > Store > Products > Product types.
The problem is there is no 'Store' main menu link, and the path to the 'Add product type' form is: Administration > Store settings > Product & content types.
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedSame problem for Content types, if you try to edit a content type the displayed breadcrumb is:
All breadcrumbs for those two pages (Content and product types) and their subpages (add, edit, manage fields, manage display) should be under "Home > Administration > Store settings > Product & content types" (and go in depth as needed).
Comment #2
theo_ CreditAttribution: theo_ commentedI rewrote the menu, then we do not need to alter the breadcrumb.
https://code.drupalcommerce.org/87
Comment #3
bojanz CreditAttribution: bojanz commentedStill wrong (manage fields, manage display on product types, pretty much everything on node types).
Assigning to myself.
Comment #4
theo_ CreditAttribution: theo_ commentedHave a look on the new patchset https://code.drupalcommerce.org/#/c/87/3
Comment #5
bojanz CreditAttribution: bojanz commentedI've tested the commit.
It fixes the content type breadcrumbs.
For example, when editing a product type, the breadcrumb is no longer:
but instead
Same for "Manage Display" and "Manage Fields" for content types.
The issue described in #1665802: Breadcrumb issue on the "Add product" page is still present. I get the "Add Content" title for the "Add Product" page. This might be unrelated to this issue, though.
The product type breadcrumbs are still broken.
Editing a product type gives me:
just like it does on master, no change.
Is it because you didn't add the Commerce patch? See if adding it makes a difference.
I'm prepared to merge this before the release since it's obviously an improvement, but the issue is not fixed yet completely.
Comment #6
theo_ CreditAttribution: theo_ commentedJust added the patch from commerce, should fix the "Home > Administration > Store > Products > Product types" breadcrumb.
About the "Add content" we have "Home > Administration > Content" on node/add then when your adding a node it append the appropriate item "Add product" or "Add content". What's wrong with that ?
Comment #7
bojanz CreditAttribution: bojanz commentedFixed by theo, and merged.