If you are using WooCommerce Bookings, sometimes it could be hard to understand what customer booked for a product on your site.
It could be the case when you have multiple customers with the same name.

An easy way to avoid confusion is to print the username of the customer. WordPress only allows for unique usernames, so there will be no mistakes using it instead of the real customer name.

Open the file functions.php located in wp-content/themes/your-theme-name/ and add this code at the end of the file:

This code will print the customer username after his real name, like in this screenshot:

bookings-username

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

You have to agree to the comment policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.