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.
Pretty simple really...
[IGNORE THIS PATCH, IT'S THE ONE BELOW]
Comment | File | Size | Author |
---|---|---|---|
#1 | patch_commit_fa40a4fc97e7.patch | 574 bytes | jdelaune |
commerce_addressbook.patch | 8.2 KB | jdelaune |
Comments
Comment #1
jdelaune CreditAttribution: jdelaune commentedSorry this is the correct patch!
Comment #2
bendiy CreditAttribution: bendiy commentedThis works as designed.
To get first and last name, you have to change the Custom Profile Type Field's default settings to use First and Last name as separate fields.
Go To:
admin/commerce/customer-profiles/types/billing/fields/commerce_customer_address
And change "Format handlers" so "Name (First name, Last name)" is checked and "Name (single line)" is unchecked.
The $address['name_line'] field is not the same field as $address['first_name'] and $address['last_name']. Your patch is simply forcing one field (actually two) into another field.
Comment #3
summerg CreditAttribution: summerg commentedI know this is an old post, but just wanted to say thanks as the link admin/commerce/customer-profiles/types/billing/fields/commerce_customer_address just solved all my issues!
Comment #4
cdnsteve CreditAttribution: cdnsteve commentedSame here, thank you!
Comment #4.0
cdnsteve CreditAttribution: cdnsteve commentedwrong patch attached