Join Patrick Rauland for an in-depth discussion in this video Import WooCommerce dummy data, part of WordPress Ecommerce: WooCommerce.
- [Instructor] If you don't have any of your own products, it can be a bit tricky to follow the rest of this course, and it's hard to imagine what your store could look like. Luckily, the WooCommerce team has already thought of this. They've included dummy data that you can use. To import this data, we need to go to the Admin, and then Tools, Import. Then scroll down and under WordPress, click Install Now. Once it's done, click Run Importer. On this next screen, we have to upload a file with all of the data.
This file is actually included within the WooCommerce plugin. It's just a little hidden. Click Choose File, and then find your way to the WooCommerce plugin. On my computer, I'm using MAMP to run a local site, and my MAMP settings determine where the WooCommerce plugin was installed. If you use MAMP, you should have a similar file structure. If not, you can try searching for the WooCommerce plugin using the built-in search functionality in your operating system. In the MAMP folder, I'll go to the htdocs folder, which is the website, and here's my website.
I'll open that up, then I'll go to wp-content, which holds all of your plugins and themes. I'll go the plugins folder, and then I'll go to the woocommerce folder. I'll open up dummy-data, and click dummy-data.xml. Then click the Upload file and import button. On the next screen, assign the products to yourself. This shouldn't matter too much. It's just in case you have multiple people that have the ability to create products. Make sure you click Download and import file attachments. If you don't do this, you won't have any product images.
Click Submit, and wait. This could take a while depending on your internet connection. Once the next page loads, we should be good. It took about one to two minutes for us to download and install all those images. Let's go to the store to check out all of the new products. You can now see all of the existing products as well as new products that came with the WooCommerce plugin. Again, I do recommend using your own products, and your own photography, because certain layouts or settings might work with the generic store, but won't work well with your products.
But if you don't have anything, then this can be very helpful. Since I have my own products, I'm going to delete this sample data after this video.
- Why WooCommerce?
- Installing WooCommerce
- Setting up your store
- Adding products, including images and data
- Creating a subscription product
- Setting up shipping
- Configuring payment options
- Setting up taxes
- Customizing your theme
- Connecting Google Analytics and MailChimp
- Managing orders and reports