How to Import WooCommerce Dummy Data

As of version 1.5.3, the plugin comes bundled with dummy data that can be imported to instantly give you a working store with products to test different WooCommerce features.

Locating the WooCommerce Dummy Data

Dummy data for WooCommerce is located in a file called dummy-data.xml, which is located in the WooCommerce plugin directory. Once WooCommerce is installed, you can find it two ways:

  • Use your cPanel or FTP, go to ‘wp-content/plugins/woocommerce/dummy-data’ and locate the dummy-data.xml file.
  • Unpack or unzip the WooCommerce .zip file

Installing the WooCommerce Dummy Data

From the WordPress admin, go to: Tools > Import and select the WordPress link.

If you do not have the WordPress importer installed, you will be prompted to install the importer and then proceed. You have the choice of installing manually or clicking the Install Now button.

Select the Choose a file from your computer button and then the dummy-data.xml file you located above.

woo2

Select the Upload file and import button.

You will be presented with a screen to import or select an author and various other options related to download and import file attachments.

Select who you want to make the author of the new products from the dropdown, such as your admin user, and Select the download and import file attachments checkbox. The latter will download all the images to your local server for use on the products.

woo3

Click Submit and your dummy data will be installed. You now have a working copy of WooCommerce with data.

Related Posts

Recommended File Permissions for WordPress

July 31, 2017

Security, Tutorial, WordPress

What permissions should I have for the following: Root folder storing all the WordPress content wp-admin wp-content wp-includes On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. […]

Read More

[Woocommerce] How to Display Products from Specific Category

July 25, 2017

PHP, Tutorial, WooCommerce, WordPress

These code to show product with ‘shoe’ category. You can change ‘shoe’ with any category you want. ‘orderby’ => ‘rand’ mean show the product as random. orderby (string | array) – Sort retrieved posts by parameter. Defaults to ‘date (post_date)’. One or more options can be passed. ‘none’ – No order (available since Version 2.8). […]

Read More