Adding Test Data

To get started testing North Commerce you can add test data to your store.

Load Test Data

To load test data, access your WordPress server. If this is a remote server, then this is probably done via ssh. If your running a local server, then you can probably access your server via a terminal of some sort.

Change in the plugin source code directory and run the following command:

ssh <my linux server>
$ cd /var/www/html/wp-content/plugins/north-commerce
$ php -f tools/populate_test_data.php num_users=3 num_products=4 num_coupons=3
...

The populate_test_data.php command takes some time. It will create the number of users requested, and 10 test orders for each of these users.

Last updated