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.
If I have the Addressbook enabled for both shipping and billing, I see this:
But if I disable it for billing, I see this:
Should we consider showing the address type in a site where there are multiple address types used in checkout but only a single address type supporting addressbook? Not sure if that's even a popular use case - I just happened across it in answering a Commerce Q&A question.
Comment | File | Size | Author |
---|---|---|---|
#1 | addressbook_profile_page_title-2016297-1.patch | 656 bytes | vasike |
addressbook2.png | 22.73 KB | rszrama | |
addressbook1.png | 26.49 KB | rszrama |
Comments
Comment #1
vasikeindeed. there, we have Menu local tasks implementation for shipping and billing tabs, and i'm not sure it could be solved within menu items.
here is a quick solution : to have this info in the page title - drupal_set_title(), patch attached.
Comment #2
mglamanPatch in #1 is a good interface improvement to set the page title to give context to the profile type being edited. However the original reported issue can't be done, I don't think? At least I can't find a way to force rendering of the local tasks when there is only one under a specific path.