If you add multiple field for a customer profile then profiles under user addressbook collection control links will show up with unexpected order compared with fields.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-addressbook-links-weight-2171527-2.patch | 601 bytes | roderik |
| #1 | add-addressbook-links-weight-2171527.patch | 487 bytes | kaido.toomingas |
| commerce_addressbook_issue.png | 69.66 KB | kaido.toomingas |
Comments
Comment #1
kaido.toomingas commentedComment #2
roderikHa! Thanks :) I was wondering why those links were showing so weird, but hadn't looked at it yet.
The structure of the array gets a bit weird, though. It doesn't actually matter for the HTML produced, and there's more code in my patch... but it achieves a 'flatter' array.
Also, while we're at it: I saw that the links are just appended to the enitity HTML. Shall we stick them inside their own div?
Comment #3
mglamanCommitted with one tweak, instead of "links" made class "addressbook-links". Should make theming much easier, now.