Build Your Own Business Website header image

Integrating WooCommerce with Thesis 2 – Part 3 – Import WooCommerce Sample Data

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Where to Install Sample Data

Now that we’ve got WooCommerce installed and set up, we’re going to import some sample data. My suggestion to you is that the first time you do this, you do it on a development server somewhere, on a subdomain or something like that. And that’s where you install the sample data so that you have a chance to play around with ordering and configuring and styling without actually having to have created your own dummy products.

Why I don’t Recommend Installing it on a Live Site

The thing though is that you don’t want to do it on a live site, at least I won’t recommend doing it on a live site. And the reason is that you’ll just have to go back in and delete all that data.

So, what we’re going to do is install some sample data here for us to use and we’re going to get that from wordpress.org. We’re going to go into the plugins, here’s WooCommerce and we’re just going to download WooCommerce to our computer here, download version 2.0.5.

File Storage System

I’m assuming that most people here have followed along with the system that I teach for where to store files. What I recommend that you do here with this file that we’ve just downloaded is to cut it from the download location that it went to. We’re going to go then to the Our Business Website folder that we have set up and go over to downloads and then paste it here.

We’ve got it stored in your Downloads folder and then we’re going to extract it and what we’re going to do is put this in our wp-content folder on our local machine. So we go to Documents and My Documents and My Business Website and then to our WordPress folder, wp-content folder and plugins folder. Let’s just make sure we’re there. Okay, so now, we’re going to extract this folder into our plugins folder.

System of Maintaining Backups

I teach a relatively simple system of maintaining backup copies of your website on your local machine and part of that is from time to time including copies of your theme, your customization files and your plugins. In this case, that’s what we’re doing here, we’re taking a copy of WooCommerce and replacing it in our local copy of our WordPress website.

Import the Data

Let’s open up WooCommerce and look down here under dummy data. This is the data that we’re going to import here using the WordPress importer. Let’s come back over to our website then and come down to tools and import, and we’re going to import from WordPress.This means it’s going to need to install the WordPress importer, so we’ll go ahead and say Install Now.

We’ll activate it and run the importer then choose the file that we want to import, My Business Websites, WordPress, wp-content, plugins, WooCommerce and then dummy data_data.xml . It’s the XML file you’re uploading. You’re not using the CSV file, you’re using this XML file.

We’ll go ahead and select upload file and import and then it wants to know who to attribute the posts to and I’m going to attribute all those new posts to me. I’m going to download and import all file attachments. That’s going to get all of our product images. Then hit submit and when this is done with it, we’ll have products in our store.

Okay, it says we’re all done here. So now if we come into our product page, we’ve got all these different products installed. If we click on one of the products, it’ll take us over to the product page and now we have a bunch of dummy stuff now. Actually, if you edit your product there’s the product information and then all kinds of other stuff here. And that’s the benefit of having that data, you end up with a bunch of stuff that you can use to practice with.

Install and Activate Thesis Classic Skin

Okay, so now that we’ve got that and you’ve seen what happens with the store when you do a minimum amount of modification and load data into it. Now, what we’re going to do is add Thesis and once we install Thesis or activate Thesis, you’ll see that this dummy data stops working properly.

We’ll go over to Appearance and Themes and activate Thesis. Right out of the box, the Classic Skin is activated. I’m going to show some things with the Agility Skin as well towards the end of the session. But for now let’s come back over here and refresh this. Now this is the store page and this is the product page. So, everything that really matters about this product page is missing and so this is where Serge comes to the rescue with his WooCommerce Thesis 2 Integrator Plugin.

0 Comments… add one
0 comments… add one

Leave a Comment