Pretty simple really...

[IGNORE THIS PATCH, IT'S THE ONE BELOW]

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jdelaune’s picture

Sorry this is the correct patch!

bendiy’s picture

Assigned: jdelaune » Unassigned
Status: Needs review » Closed (works as designed)

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

summerg’s picture

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!

cdnsteve’s picture

Same here, thank you!

cdnsteve’s picture

Issue summary: View changes

wrong patch attached