A smooth products, customer and order generator using WP-CLI. Future versions will include scheduled auto generation functionality.
WooCommerce Smooth Generator requires Composer and WP-CLI to function.
- Clone this repository into your site's plugins folder
- From command line CD into the cloned repository
- From command run
composer install
and wait for the installation to complete - You now have access to a couple of new WP-CLI commands under the main
wp wc generate
command.
wp wc generate products <nr of products>
Generate products based on the number of products paramater.wp wc generate orders <nr of orders>
Generate orders from existing products based on the number of orders paramater, customers will also be generated to mimic guest checkout.wp wc generate customers <nr of customers>
Generate customers based on the number of customers paramater.