How do I base a new account username on the Billing Name for an anonymous order?
I don't want to use the current cart owner's email address as the user name for a new account for an anonymous order but the Billing Name instead.
I have cloned the existing rule "Create a new account for an anonymous order" and I am trying to use the "Create a new entity" action to use the Billing Name instead of email address as the new user name.
I have tried to find a Data selector to use to no avail. The commerce-order:commerce-customer-billing:user:name resorts to "Guest" which is my anonymous user.
Comments
Works a treat! Thanks very much, Josh! :-)
Thanks josh! It helped me too!!!