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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vasike’s picture

Status: Active » Needs review
FileSize
656 bytes

indeed. 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.

mglaman’s picture

Issue summary: View changes
Status: Needs review » Postponed

Patch 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.