How to Create a New Customer When Admin Places an Order on the Frontend Checkout Form

woocommerce-admin-custom-order-fields

There are many great reasons why I work with WordPress and WooCommerce. These reasons include the pleasant user experience during customer checkout. And the familiar UI for the shop manager.

Recently I was working on a WooCommerce powered booking system. The client catered to an older demographic. They often processed new bookings over the phone, and use an in office payment processor, which meant they had to enter the new booking into WooCommerce manually, and bypass the payment gateway.

After a few attempt to teach them how to use the WordPress UI, they asked me why they can not use the super simple checkout form that we created for customers. This left me with a need for them to be able to log in as admin and place an order that would be associated with a customer and not their own admin user.

This is what I came up with: