1
Answers
How to use Billing information values to populate user fields at account creation at checkout
I've added a field to the user entity (field_first_name)
Now I'd like to populate it at account creation during checkout (default Rule commerce_checkout_new_account)
with billing information values the user entered during checkout, specifically 'First name'.
I'm using the 'Name (First name, Last name)' widget on the 'billing information' customer profile type.
Comments
:) Thank you Josh.
I saw that Q&A before I created this one, but was unable to solve my usecase with that information.
I'm unable to get to the individual addressfield fields (with both data selection mode and direct input mode)
Perhaps this?
http://www.drupalcommerce.org/discussions/1004/fetching-customer-profile...
Josh
I haven't figured this out yet, but once I do (or someone else does) I'll create a blogpost tutorial about this.
Greeting a customer with their name in (welcome) emails and throughout the site seems like something every customer appreciating store would do.
I have added those function into .module file.But it says undefined variable error, How can i define these variable. Please help me