But before you can add any products, you need to configure your product settings, which is what this tutorial will work . Let's take a look at the options in the WooCommerce Products menu:
To complete this tutorial you'll need:
Let's take a look at the options in the WooCommerce Products menu:
The screens available to you in the Products section of the WooCommerce admin are:
I'll start by working through the last four of these and demonstrating what you need to add.
Product categories work in a similar way to categories in your main WordPress site, but they are not the same thing - when a visitor looks at your product category pages in your store, they won't see blog posts, and when they look at your category archives in your blog, they won't see products. Product categories have one feature which normal categories don't: You can give them a featured image.
The Product Categories screen lets you add new categories, define a slug and description for each, and identify a parent category if you are using hierarchical product categories:
As you can see above, you can also add a thumbnail to each category, which will be used in the main shop page.
My store will be selling the books that I've written, so I'm adding Books as my product category. I add a category, click on Add New Product Category and then it's displayed on the right hand side:
Note that as with normal categories, you can also add new product categories when you're adding products, from the product editing screen.
Product tags work in a similar way to tags in the rest of your site, but again they are separate. You can add as many tags as you want, either in the Product Tags screen or when adding your products:
Add the information for your tag, click on Add New Product Tag and it will appear in the list.
You may remember I touched on shipping classes in the previous tutorial but explained that you would need to add them when configuring product settings. In the Shipping Classes screen you add classes which you then assign to individual products. I'm going to add two classes: standard and heavy. If a book is particularly heavy, I can give it the heavy class and then buyers will be charged extra postage.
Start by adding your classes in the Shipping Classes screen:
Having done that, you need to return to the shipping settings to define costs for each class. Go to WooCommerce > Settings > Shipping > Flat Rate:
As you can see I've added an extra £2.00 to the Heavy Items class. I've also selected Per Item from the drop down menu, meaning that the extra £2.00 will be added for each heavy item purchased and not for the order as a whole. If you want to just apply the extra charge once, select Per Order instead.
Save your changes by clicking Save Changes and the rate for that class will be saved and automatically added to any orders containing items which you assign the class to.
Attributes work like taxonomies and not categories: each attribute you add to WooCommerce is a taxonomy which you then add terms to.
In my site, I'm going to add two attributes: publisher and level. This means that each term in 'Publisher', for example, is equivalent to a category.
First, add the attributes in the Attributes screen:
The Type field is important and gives you two options:
To define the terms for each of my attributes, I click the symbol to the right of the attribute's name in the list on the right: if you hover over the symbol, you'll see a link saying Configure terms.
This takes me to the terms screen for my attribute:
Simply add your terms in the same way as you would add categories: note that like categories, these are hierarchical.
So that's all of the product settings configured. You have attributes, categories and tags ready to assign to your products, as well as shipping classes. The next step is to add the first product.