1. Home   / 
  2. Knowledge Base   / 
  3. WooCommerce Tutorials   / 
  4. How To Install WooCommerce Theme With Sample Data?

How To Install WooCommerce Theme With Sample Data?

Our Support team is excited to share a new lesson that will become an invaluable resource for installing Woocommerce templates.

WooCommerce Theme Setup With Sample Data

This guide will walk you through the process of installing a WooCommerce theme.

If you have already installed and activated WooCommerce to your WordPress Site, then adding WooCommerce themes is an easy task for you. In case you haven’t added the WooCommerce plug, then check this article.

How To Install WooCommerce Themes?

The WooCommerce theme installation with sample product data consists of two steps:

The first step is to install a WooCommerce theme, and the next one is to upload the sample data.

1. Access Your WordPress Admin Panel

Go to your WordPress admin dashboard and log in. (Access the admin panel by adding “/wp-admin” at the end of your site URL in the address bar)

woocommerce theme setup with sample data

Head to the Appearance and then Themes. To move forward, click on the Add New tab.

woocommerce theme setup with sample data

2. Upload and Install A Theme That You Have Downloaded

At this step, you can do one of two things. If you want to use a free theme, all you have to do is choose one from the list below and click “Install.” However, if you choose the premium option, you’ll have to download the theme package to your computer.

In this guide, we will walk you through the process of manually installing your theme (For the paid themes). So let’s get started!
On the next screen, you will find & click the Upload theme option.

woocommerce theme setup with sample data
WooCommerce Theme Setup

Now, navigate to the theme folder in your template bundle and open the theme’s zip file.

woocommerce theme setup with sample data

Next, simply install the theme by clicking the Install Now button.

woocommerce theme setup with sample data
WooCommerce Theme Setup

3. Activate The Installed Theme 

Now you just need to Activate the installed theme.

woocommerce theme setup with sample data
WooCommerce Theme Setup

Now, you are all set with the WooCommerce Theme Setup and installation. However, you will see that your site does not resemble the sample template preview page. You must provide template sample data to make it seem like a demo template. To finish installing the template, follow the instructions in the following step.

How To Install Sample Data?

After installing a theme, you can proceed to install sample data. For that first you will need to find and download the sample-products.csv file.

WooCommerce sample data is stored in a file named sample-products.csv or sample- sample-products.xml, which is placed in the WooCommerce plugin folder under woocommerce/sample-data/.

Now that you’ve downloaded the sample data file, let’s load the shop with some sample product data.

1. Visit the Product Page To Get Started

To begin, navigate to the WordPress admin section’s Products > All Products page

woocommerce theme setup with sample data

After that, you will be sent to the product importer page. To continue with the procedure further than this point, you will need to click the ‘Start Import button.

woocommerce theme setup with sample data

2. Find & Upload the Sample data file

On the screen that follows, you will see an option called “Choose file.” Simply click the Choose file button and select the sample-products.csv file you previously downloaded.Hit the Continue button once you’ve chosen your file.

woocommerce theme setup with sample data

3. Product Column Mapping

The screen for column mapping will appear on the next page.

We suggest keeping all of these parameters at their default configuration.Then scroll down to the bottom of the page. Find and click the Run The Importer button.

woocommerce theme setup with sample data

Now, you can relax and wait until the importer brings in the dummy product data. It just takes a very few minutes to complete.

woocommerce theme setup with sample data

4. Data Imported

Upon completion, you will get the message “Import Complete.” Clicking on the ‘View products’ option will allow you to view all of the newly imported data.

woocommerce theme setup with sample data

The sample WooCommerce items will appear in the same way as generic products. This information can also be found in the Products area of your site’s admin panel.

woocommerce theme setup with sample data

5. The Front-end View

Just like other WooCommerce products, you can find and see them on your WooCommerce store.

woocommerce theme setup with sample data

There you have it! Reload your Shop page, and you’ll see that the template has been set up with sample product data.

Was this article helpful?

Related Articles