How do i specify a user name for new account other than the email address on an anonymous order?
Ok so here's the use case:
Our site also includes phpBB forums, which of course display the user name in posts... most people don't like their email address being displayed, for obvious reasons.
Orders placed by anonymous users automatically generates an account with the username the same as the email address. I want to keep the auto account creation, but have the user enter a UserID when they enter their billing info.
So i've created a field on the billing profile (field_account_name is the machine name). How do i reference that field in the entity creation rule? I looked at this topic:
http://www.drupalcommerce.org/questions/5370/how-do-i-base-new-account-u...
but that doesn't show me how to reference a field i've created, only ones that already exist in the commerce-order entity.
This might be a stupid question, but i'm still relatively new to drupal... any help would be HUGELY appreciated.
Comments
Thanks - that worked quite nicely. Now to work on the rules to handle the fringe cases ;)