{"id":132484,"date":"2020-12-01T20:08:32","date_gmt":"2020-12-01T20:08:32","guid":{"rendered":"https:\/\/de-ch.wordpress.org\/plugins\/add-customer-for-woocommerce\/"},"modified":"2026-01-19T14:12:57","modified_gmt":"2026-01-19T14:12:57","slug":"add-customer-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/ca-valencia.wordpress.org\/plugins\/add-customer-for-woocommerce\/","author":15529900,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.5","stable_tag":"1.9.5","tested":"6.9.4","requires":"5.4.0","requires_php":"7.4","requires_plugins":null,"header_name":"Add Customer for WooCommerce","header_author":"Dan's Art","header_description":"Allows you to add a customer when a new order is created at the orders page.","assets_banners_color":"eaeced","last_updated":"2026-01-19 14:12:57","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/dansart13","header_plugin_uri":"https:\/\/dev.dans-art.ch\/blog\/wordpress\/add-customer-for-woocommerce\/","header_author_uri":"https:\/\/dev.dans-art.ch","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":26147,"num_ratings":12,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"dansart","date":"2020-12-01 20:11:02"},"1.1":{"tag":"1.1","author":"dansart","date":"2021-07-18 12:19:27"},"1.2":{"tag":"1.2","author":"dansart","date":"2021-10-06 09:55:51"},"1.3":{"tag":"1.3","author":"dansart","date":"2022-02-08 09:07:31"},"1.3.1":{"tag":"1.3.1","author":"dansart","date":"2022-02-08 17:03:16"},"1.4":{"tag":"1.4","author":"dansart","date":"2022-02-22 08:37:12"},"1.4.1":{"tag":"1.4.1","author":"dansart","date":"2022-02-24 18:29:11"},"1.4.2":{"tag":"1.4.2","author":"dansart","date":"2022-05-15 20:21:09"},"1.5.0":{"tag":"1.5.0","author":"dansart","date":"2022-09-14 20:50:06"},"1.5.1":{"tag":"1.5.1","author":"dansart","date":"2022-09-14 21:02:03"},"1.6.0":{"tag":"1.6.0","author":"dansart","date":"2022-11-03 20:38:48"},"1.6.1":{"tag":"1.6.1","author":"dansart","date":"2022-11-03 21:24:00"},"1.6.2":{"tag":"1.6.2","author":"dansart","date":"2022-11-07 12:28:13"},"1.6.3":{"tag":"1.6.3","author":"dansart","date":"2022-11-12 15:13:40"},"1.6.4":{"tag":"1.6.4","author":"dansart","date":"2022-12-28 18:22:14"},"1.6.5":{"tag":"1.6.5","author":"dansart","date":"2023-01-17 18:54:22"},"1.7":{"tag":"1.7","author":"dansart","date":"2023-09-22 18:46:36"},"1.7.1":{"tag":"1.7.1","author":"dansart","date":"2024-01-07 10:39:02"},"1.8.0":{"tag":"1.8.0","author":"dansart","date":"2024-03-10 07:19:56"},"1.9.0":{"tag":"1.9.0","author":"dansart","date":"2024-08-04 09:44:40"},"1.9.1":{"tag":"1.9.1","author":"dansart","date":"2024-09-02 15:31:06"},"1.9.2":{"tag":"1.9.2","author":"dansart","date":"2024-09-13 14:42:43"},"1.9.3":{"tag":"1.9.3","author":"dansart","date":"2024-12-01 09:26:26"},"1.9.4":{"tag":"1.9.4","author":"dansart","date":"2025-01-20 12:27:49"},"1.9.5":{"tag":"1.9.5","author":"dansart","date":"2026-01-19 14:12:57"}},"upgrade_notice":{"":"<p>Upload the plugin files to the \/wp-content\/plugins\/add-customer-for-woocommerce directory, or update the plugin through the WordPress plugins screen directly.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":12},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2970352,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2429788,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2429788,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2429788,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.3.1","1.4","1.4.1","1.4.2","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.7","1.7.1","1.8.0","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3048453,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3048453,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3048453,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3130588,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3048453,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"The billing section of a new order. When the checkboxes are selected, it creates a new user who will receive a notification.","2":"Selection of the role when \"Define user role individually\" is activated","3":"The order after saving. A new customer was created and assigned to the order.","4":"The main settings menu.","5":"The template preview menu and the design of the email that the new customer receives."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5593,21977,3972,286],"plugin_category":[45,58],"plugin_contributors":[193651],"plugin_business_model":[],"class_list":["post-132484","plugin","type-plugin","status-publish","hentry","plugin_tags-customer","plugin_tags-helper","plugin_tags-tools","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_category-user-management","plugin_contributors-dansart","plugin_committers-dansart"],"banners":{"banner":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/banner-772x250.png?rev=2429788","banner_2x":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/banner-1544x500.png?rev=2429788","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/icon-128x128.png?rev=2970352","icon_2x":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/icon-256x256.png?rev=2429788","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/screenshot-1.png?rev=3048453","caption":"The billing section of a new order. When the checkboxes are selected, it creates a new user who will receive a notification."},{"src":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/screenshot-2.png?rev=3048453","caption":"Selection of the role when \"Define user role individually\" is activated"},{"src":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/screenshot-3.png?rev=3048453","caption":"The order after saving. A new customer was created and assigned to the order."},{"src":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/screenshot-4.png?rev=3130588","caption":"The main settings menu."},{"src":"https:\/\/ps.w.org\/add-customer-for-woocommerce\/assets\/screenshot-5.png?rev=3048453","caption":"The template preview menu and the design of the email that the new customer receives."}],"raw_content":"<!--section=description-->\n<p>This plugin is designed to simplify the process of creating new users\/customers. It's particularly useful if you receive client orders via phone or email and want to integrate these orders into WooCommerce for stock and order management.\nThe plugin adds a checkbox at the end of the billing address form. When this box is checked, it creates a new user with the role \"customer.\" If an email is not provided, the plugin generates a unique one using your site\u2019s domain as the email domain and the customer's name as the local part (e.g., firstname.lastname@your-site.com). You have the option to customize this auto-generated email format.<\/p>\n\n<p>Try it out for free with TasteWP:\n<a href=\"https:\/\/tastewp.com\/new?pre-installed-plugin-slug=woocommerce%2Cadd-customer-for-woocommerce&amp;redirect=admin.php%3Fpage%3Dwac_general_options&amp;ni=true\">https:\/\/tastewp.com\/new?pre-installed-plugin-slug=woocommerce%2Cadd-customer-for-woocommerce<\/a><\/p>\n\n<p>By default, the newly created user does not receive any emails during account creation, though they will probably on order updates.<\/p>\n\n<p>In the settings menu, there are options to:\n- Check the box by default\n- Send login credentials to the new customer<\/p>\n\n<p>There are also additional options:\n- Update new customer information by default\n- Link customer orders\n- Define the user role individually\n- Set the user role for new customers\n- Customize the auto-generated email format\n- Edit the email subject for accounts created\n- Change the sender's email address<\/p>\n\n<p>Settings Menu:\nWooCommerce -&gt; Add customer settings<\/p>\n\n<p>Required Plugins: WooCommerce 4.7.0 or higher\nRequired PHP extension: Intl<\/p>\n\n<p>If you like the plugin, please leave some stars or buy me a coffee. Thank you!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the \/wp-content\/plugins\/add-customer-for-woocommerce directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the \u201aPlugins\u2018 screen in WordPress.<\/li>\n<li>Enjoy<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>What role will the new user have?\n- By default, the new user will have the \"Customer\" role. You can select a different default role from any available roles in the options menu.<\/p>\n\n<p>What happens if an email already exists?\n- A new user will not be created. The plugin will assign the order to the existing user with that email.<\/p>\n\n<p>How can I link guest orders to users?\n- Activate the option \"Link customer orders\" to associate guest orders with existing users.<\/p>\n\n<p>Does the new user receive a notification about the created account?\n- No, not by default. This can be enabled on the settings page. An email will then be sent to the customer with login credentials, including a random password.<\/p>\n\n<p>Can I change the email template for the new customer?\n- Yes, you can. Copy \"new-account.php\" from \"wp-content\/plugins\/add-customer-for-woocommerce\/templates\/email\" to \"wp-content\/themes\/[your-theme\/child-theme]\/woocommerce\/add-customer\/email\" and make your changes there.<\/p>\n\n<p>Is it possible to change the email format?\n- Yes. You can select the preferred format in the Settings menu of the plugin.<\/p>\n\n<p>Are there any hooks I can use?\n- Certainly! There are currently four filters:\n wac_add_customer_email - To modify the email saved by the plugin.\n wac_supported_fake_email_parts - To add custom fields support.\n wac_get_user_roles - An array with the user roles a user is allowed to set.\n wac_deactivate_user_emails - Allows you to override the deactivation of user emails\n- And two actions:\n wac_after_insert_new_customer - To execute after a new customer has been created.\n wac_after_insert_updated_customer - To execute after an existing customer has been updated.\n Consult the example file examples\/hooks.php for more details how to use them.<\/p>\n\n<p>I created a users before the update 1.9.0 and would like use the feature to suppress the emails from being sent.\n - You can use the new hook \"wac_deactivate_user_emails\" for that. It has two parameters: $is_deactivated and $user_id. You can use this filter and return \"true\" for the users you like to suppress the messages.<\/p>\n\n<!--section=changelog-->\n<h4>[1.9.5] 2025-02-02<\/h4>\n\n<ul>\n<li>Fixed: Failed to save customers with very long names<\/li>\n<li>Fixed: Text overlap on options pages<\/li>\n<\/ul>\n\n<h4>[1.9.4] 2025-01-17<\/h4>\n\n<ul>\n<li>Added compatibility for Enhanced Cloudflare Turnstile<\/li>\n<li>Updated WC Tested up to version<\/li>\n<\/ul>\n\n<h4>[1.9.3] 2024-12-01<\/h4>\n\n<ul>\n<li>Fixed: Fatal error when suppressing all emails<\/li>\n<li>Added TasteWP link<\/li>\n<li>Updated Support page<\/li>\n<\/ul>\n\n<h4>[1.9.2] 2024-09-13<\/h4>\n\n<ul>\n<li>Fixed: Options could not be saved (Error: The wac_general_options options page is not in the allowed options list.)<\/li>\n<\/ul>\n\n<h4>[1.9.1] 2024-08-29<\/h4>\n\n<ul>\n<li>Fixes: Added compatibility with reCAPTCHA for WooCommerce<\/li>\n<li>Improved: Code for the menu gets loaded on demand<\/li>\n<\/ul>\n\n<h4>[1.9.0] 2024-08-04<\/h4>\n\n<ul>\n<li>Added new option to suppress all the notification for customers added by the plugin<\/li>\n<li>Added new filter \"wac_deactivate_user_emails\"<\/li>\n<li>Moved settings to be a WooCommerce submenu<\/li>\n<li>Increased tested up version<\/li>\n<li>Added filter in users page to get all the users created by the plugin<\/li>\n<\/ul>\n\n<h4>[1.8.0] 2024-03-09<\/h4>\n\n<ul>\n<li>Updated style of the options menu<\/li>\n<li>Added option to select the default user role<\/li>\n<li>Added option to allow the user role to be set before user creation<\/li>\n<li>Added option to link orders to existing user<\/li>\n<li>Fixed spelling and wording in English language (thanks Naakai)<\/li>\n<li>French language added (thanks patou)<\/li>\n<\/ul>\n\n<h4>[1.7.1] 2024-01-07<\/h4>\n\n<ul>\n<li>Fixed: XSS Security issue<\/li>\n<li>Fixed: Fatal error when creating a fake email<\/li>\n<li>Updated tested up version<\/li>\n<\/ul>\n\n<h4>[1.7] 2023-09-22<\/h4>\n\n<ul>\n<li>Added support for WooCommerce HPOS.<\/li>\n<li>Increased minimum WooCommerce version to 7.4.1 <\/li>\n<\/ul>\n\n<h4>[1.6.5] 2023-01-17<\/h4>\n\n<ul>\n<li>Fixed: Better error messages if creation of customer fails<\/li>\n<\/ul>\n\n<h4>[1.6.4] 2022-12-28<\/h4>\n\n<ul>\n<li>Fixed: Compatibility issues with the plugin https:\/\/wordpress.org\/plugins\/simple-cloudflare-turnstile<\/li>\n<li>Added: Support page<\/li>\n<li>Added 12 new language strings, 1 updated<\/li>\n<\/ul>\n\n<h4>[1.6.3] 2022-11-12<\/h4>\n\n<ul>\n<li>Fixed: Errors when non-Latin characters were used.<\/li>\n<li>Added filter: wac_make_user_valid - Use this if you like to modify the username before saving it to the database<\/li>\n<li>Added filter: wac_make_email_valid - Use this if you like to modify the email before saving it to the database<\/li>\n<li>Added two new language strings<\/li>\n<\/ul>\n\n<h4>[1.6.2] 2022-11-07<\/h4>\n\n<ul>\n<li>Fixed: Notify customer checkbox did not get displayed<\/li>\n<\/ul>\n\n<h4>[1.6.1] 2022-11-03<\/h4>\n\n<ul>\n<li>Fixed: Removed extra dots if not all three fields (billing_first_name, billing_last_name and billing_company) are filled out<\/li>\n<li>Added action \"wac_after_insert_new_customer\" to hook in after new customer got created<\/li>\n<li>Added action \"wac_after_insert_updated_customer\" to hook in after new customer got updated<\/li>\n<\/ul>\n\n<h4>[1.6.0] 2022-11-03<\/h4>\n\n<ul>\n<li>Fixed: Invalid email when the value of the tags, defined in the custom fake email where empty<\/li>\n<li>Changed: Default fake-email structure to [billing_first_name].[billing_last_name].[billing_company]<\/li>\n<li>Added: The add_customer checkbox gets unchecked if a customer gets loaded<\/li>\n<li>Added hook to filter \"wac_add_customer_email\" the email before checking and saving a new user <\/li>\n<li>Fixed 'wac_supported_fake_email_parts' hook<\/li>\n<li>Fixed various issues<\/li>\n<li>Removed the need to have billing name\/surname or company at all. It will just generate a random name for the email<\/li>\n<li>Added 1 new language string<\/li>\n<\/ul>\n\n<h4>[1.5.1] 2022-09-14<\/h4>\n\n<ul>\n<li>Fixed: Error on add customer settings page when no eMail was provided.<\/li>\n<\/ul>\n\n<h4>[1.5.0] 2022-09-14<\/h4>\n\n<ul>\n<li>Added settings field to customize the generated email<\/li>\n<li>Added filter: wac_supported_fake_email_parts<\/li>\n<li>Fixed Language strings, 15 new strings added. 2 obsolete strings removed<\/li>\n<li>Added \"Update customer\" function<\/li>\n<li>Added counter to keep track of updated and created customers<\/li>\n<li>Optimized code. Moved HTML code to dedicated template files<\/li>\n<li>Added new settings field. Allowing to preselect the update customer checkbox<\/li>\n<li>Backend style fixes<\/li>\n<\/ul>\n\n<h4>[1.4.2] 2022-05-15<\/h4>\n\n<ul>\n<li>Fixed: Fatal error on template preview if WooCommerce is not installed<\/li>\n<li>Tested up to WP 6.0<\/li>\n<\/ul>\n\n<h4>[1.4.1] 2022-02-24<\/h4>\n\n<ul>\n<li>Fixed: Fatal error on loading the version<\/li>\n<\/ul>\n\n<h4>[1.4] 2022-02-22<\/h4>\n\n<ul>\n<li>Added: Option to set the sender email<\/li>\n<li>Added: Option to set the subject of the new customer email<\/li>\n<li>Added: New tab at the settings page to preview the loaded template (new-account)<\/li>\n<li>The plain password got replaced by a password reset link to improve security.<\/li>\n<li>Fixed: Email to the new customer will only be send, if the email is not generated by the plugin.<\/li>\n<li>Added 18 new language strings. 4 obsolete strings removed.<\/li>\n<\/ul>\n\n<h4>[1.3.1] 2022-02-08<\/h4>\n\n<ul>\n<li>Fixed: Wordpress.org translations did not get loaded.<\/li>\n<\/ul>\n\n<h4>[1.3] 2022-02-07<\/h4>\n\n<ul>\n<li>Fixed: New customer gets created when an existing guest order is updated.<\/li>\n<li>Add customer checkbox is only pre-selected on new orders<\/li>\n<li>Updated: tested up to<\/li>\n<li>Updated: WC tested up to<\/li>\n<\/ul>\n\n<h4>[1.2] 2021-10-10<\/h4>\n\n<ul>\n<li>Added support for custom billing and shipping fields<\/li>\n<li>Added a second checkbox for customer notification<\/li>\n<li>Errors and notifications for the admin will now be displayed after saving the order<\/li>\n<\/ul>\n\n<h4>[1.1] 2021-07-18<\/h4>\n\n<ul>\n<li>Added Error logging<\/li>\n<li>Error messages will be saved in the error_log<\/li>\n<li>Error and success messages will be added to the Log of the Simple History Plugin<\/li>\n<li>Fixed: Error when no first name and no last name was provided<\/li>\n<li>Fixed: Error when the domain name is \"localhost\"<\/li>\n<li>Added new Language strings for de-DE and de-CH<\/li>\n<li>Admin\/Editor gets a message if the creation of the new user was not successful. Check error_log for details.<\/li>\n<li>Added Option Menu<\/li>\n<li>Added Option to send a notification to the new user\/customer <\/li>\n<li>Added Option to select the checkbox by default<\/li>\n<li>Removed debugger<\/li>\n<\/ul>\n\n<h4>[1.0] 2020-11-24<\/h4>\n\n<ul>\n<li>Feature complete Version<\/li>\n<li>Added comments and method description<\/li>\n<li>Sanitize input fields<\/li>\n<li>First and Last name gets saved to the user as well<\/li>\n<\/ul>\n\n<h4>[0.1] 2020-11-22<\/h4>\n\n<ul>\n<li>Initial Version!<\/li>\n<\/ul>","raw_excerpt":"Adds a new checkbox to the orders page to add a new customer\/user and links orders to existing accounts","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/132484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=132484"}],"author":[{"embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dansart"}],"wp:attachment":[{"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=132484"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=132484"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=132484"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=132484"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=132484"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ca-valencia.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=132484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}