Would you like to add some sample data in WooCommerce?
When setting up a new online store, you may want to add some sample product data to see what it would look like. This can also help with testing before going live.
In this article we will show you how to easily add sample data in WooCommerce with product images.
Why add sample data in WooCommerce?
By using dummy data in WooCommerce, you can see what your WooCommerce store looks like with the actual products.
You can test your WooCommerce theme, try out important WooCommerce plugins and set up your shop without adding your own products.
By adding WooCommerce dummy products, you can provide a better customer experience in your store when you go live with real products.
Setting up your WooCommerce store for sample data
If you haven’t started your WordPress website yet, you will need suitable WooCommerce hosting.
Do you need help starting a WooCommerce store with WordPress? Follow the directions in our step-by-step WooCommerce tutorial.
Adding sample product data in WooCommerce
Now that you’ve installed WooCommerce, let’s add some sample product data to your store.
You have to visit them first Products »All products Page in your WordPress administration area and click the “Start import” button.
You will then see the product importer page. From here, you’ll need to click the “Advanced Options” link to expand the settings.
After that, all you have to do is copy the following URL path and paste it into the field for a CSV file on your server.
wp-content / plugins / woocommerce / sample-data / sample_products.csv
This URL leads directly to the sample product data that is supplied with the WooCommerce plugin. This is the fastest way to add the sample data.
Another option is to download the sample_products.csv file from your website and then upload it again. Just go to the following url:
Don’t forget to replace example.com with your own domain name. Your browser will automatically download the CSV file to your computer, which you can then upload to the product importer page.
After uploading the CSV file, you will be asked to choose how the data should be mapped to the product fields in WooCommerce.
We recommend leaving all of these settings as the default and clicking the “Run Importer” button below.
The WooCommerce importer may take a minute or two to import dummy content. Once this is done, you will see the message “Import Complete”. You can then click the “View Products” button to view all of the imported content.
The sample products from WooCommerce are displayed like normal products.
You can then edit these like all WooCommerce products, preview them with your WooCommerce theme and try out different WordPress plugins.
Create sample orders in WooCommerce
WooCommerce comes without a sample order generator. The easiest way to create dummy orders in WooCommerce is to simply do the ordering process yourself.
It’s easy to do without spending any money and without changing the prices of your products.
Just go to the WooCommerce »Settings» Payments Page in your WordPress administrator and activate the “Cash on delivery” payment option. Don’t forget to click the Save Changes button.
Next, you need to visit your store and order some of the dummy products. You will then see your orders on the WooCommerce »Orders Page.
You can create as many sample orders as you like.
How to remove the sample data in WooCommerce
After using your sample data, you can delete the dummy products and orders.
To delete orders, go to WooCommerce »Orders Page in your WordPress administrator. All you have to do here is select all orders and move them to the trash can via the “Mass Actions” menu.
Just select “Move to Trash” from the drop-down list and click the “Apply” button.
To delete products, go to Products »All products Page in your WordPress administrator. Just select all of the products and use the “Bulk Actions” menu. Select “Move to Trash” and click the “Apply” button.
We hope this article has helped you learn how to add sample data in WooCommerce. After your business is done, we recommend that you set up WooCommerce conversion tracking for insights.
You may also want to see our comparison of the best business phone services and email marketing services to grow your ecommerce business.
If you enjoyed this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us on Twitter and Facebook.