forked from dans-art/add-customer-for-woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
111 lines (84 loc) · 4.7 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
=== Add Customer for WooCommerce ===
Contributors: dansart
Contributors URL: <http://dev.dans-art.ch>
Donate link: <https://paypal.me/dansart13>
Tags: woocommerce, customer, tools, helper
Requires at least: 5.4.0
Tested up to: 5.9
Stable tag: 1.4
License: GPLv3 or later
License URI: <http://www.gnu.org/licenses/gpl-2.0.html>
WC requires at least: 4.7.0
WC tested up to: 6.1.1
Requires PHP: 7.4
Adds a new checkbox to the orders page to add a new customer/user.
It creates a new user, based on the billing data. If no e-mail is provided, it will create a fake email ([email protected]).
== Description ==
This Plugin is designed to help you to create new users/customers with ease.
Especially useful if the client is ordering via phone or email and you like to take advantage of the stock- and order management in WooCommerce.
It adds a simple checkbox at the end of the billing address. If the box is checked, it will create a new user with the role "customer".
If no e-mail is provided, it will create a unique one for you. It uses your site’s domain as the domain part and the name as the name part. E.g. [email protected].
By default, the newly created user will not get any emails while creating the account. But he will eventually on order change.
In the settings menu, there are options for checking the box by default and send login credentials to the new customer.
Settings Menu:
Settings -> Add Customer Settings
Required Plugins: WooCommerce 4.7.0 or higher
If you like the Plugin, please leave some Stars or donate me a coffee. Thanks!
== Installation ==
1. Upload the plugin files to the /wp-content/plugins/add-customer-for-woocommerce directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the ‚Plugins‘ screen in WordPress.
3. Enjoy
== Screenshots ==
1. The billing part of a new order. With the checkbox selected, it will create a new user.
2. The order after saving. A new customer was created and assigned to the order.
3. The settings menu.
4. The template preview menu and look of the Email received by the new customer.
== Upgrade Notice ==
Upload the plugin files to the /wp-content/plugins/add-customer-for-woocommerce directory, or update the plugin through the WordPress plugins screen directly.
== Frequently Asked Questions ==
What role the new user will have?
- Customer
What happens, if an email already exists?
- There will be no new user created. The plugin will assign the order to the existing customer.
Does the new user get a notification of the created account?
- No, not per default. It can be enabled on the settings page. The Email will send the login credentials including a random password to the customer.
Can I change how the email template for the new customer?
- Yes, you can. Just copy the "new-account.php" from "wp-content\plugins\add-customer-for-woocommerce\templates\email" to "\wp-content\themes\[theme/child-theme]\woocommerce\add-customer\email" and do your changes.
== Changelog ==
= [1.4] 2022-02-16 =
* Added: Option to set the sender email
* Added: Option to set the subject of the new customer email
* Added: New tab at the settings page to preview the loaded template (new-account)
* The plain password got replaced by a password reset link to improve security.
* Fixed: Email to the new customer will only be send, if the email is not generated by the plugin.
* Added 18 new language strings. 4 obsolete strings removed.
= [1.3.1] 2022-02-08 =
* Fixed: Wordpress.org translations did not get loaded.
= [1.3] 2022-02-07 =
* Fixed: New customer gets created when an existing guest order is updated.
* Add customer checkbox is only pre-selected on new orders
* Updated: tested up to
* Updated: WC tested up to
= [1.2] 2021-10-10 =
* Added support for custom billing and shipping fields
* Added a second checkbox for customer notification
* Errors and notifications for the admin will now be displayed after saving the order
= [1.1] 2021-07-18 =
* Added Error logging
* Error messages will be saved in the error_log
* Error and success messages will be added to the Log of the Simple History Plugin
* Fixed: Error when no first name and no last name was provided
* Fixed: Error when the domain name is "localhost"
* Added new Language strings for de-DE and de-CH
* Admin/Editor gets a message if the creation of the new user was not successful. Check error_log for details.
* Added Option Menu
* Added Option to send a notification to the new user/customer
* Added Option to select the checkbox by default
* Removed debugger
= [1.0] 2020-11-24 =
* Feature complete Version
* Added comments and method description
* Sanitize input fields
* First and Last name gets saved to the user as well
= [0.1] 2020-11-22 =
* Initial Version!