You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,12 @@ WooCommerce Smooth Generator requires Composer and WP-CLI to function.
14
14
15
15
### Products
16
16
17
-
Generate products based on the number of products paramater.
17
+
Generate products based on the number of products parameter.
18
18
-`wp wc generate products <nr of products>`
19
19
20
20
### Orders
21
21
22
-
Generate orders from existing products based on the number of orders paramater, customers will also be generated to mimic guest checkout.
22
+
Generate orders from existing products based on the number of orders parameter, customers will also be generated to mimic guest checkout.
23
23
24
24
Generate orders for the current date
25
25
-`wp wc generate orders <nr of orders>`
@@ -33,9 +33,18 @@ Generate orders with random dates between `--date-start` and `--date-end`.
33
33
Generate orders with a specific status.
34
34
-`wp wc generate orders <nr of orders> --status=completed`
35
35
36
-
You may wish to disable emails if creating a large number of orders as this will trigger emails. To block all emails from your site, install a plugin like [Disable Emails](https://wordpress.org/plugins/disable-emails/).
36
+
### Coupons
37
+
38
+
Generate coupons based on the number of coupons parameter.
39
+
-`wp wc generate coupons <nr of coupons>`
40
+
41
+
Generate coupons with a minimum discount amount.
42
+
-`wp wc generate coupons <nr of coupons> --min=5`
43
+
44
+
Generate coupons with a maximum discount amount.
45
+
-`wp wc generate coupons <nr of coupons> --max=50`
37
46
38
47
### Customers
39
48
40
-
Generate customers based on the number of customers paramater.
49
+
Generate customers based on the number of customers parameter.
0 commit comments