Make something amazing, for anyone, at DrupalCon. Standard prices end on August 26.
Pretty simple really...
[IGNORE THIS PATCH, IT'S THE ONE BELOW]
Sorry this is the correct patch!
This 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.
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.
I 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!
Same here, thank you!
wrong patch attached
Drupal is a registered trademark of Dries Buytaert.