Adding products is the first real job in any new WooCommerce store, and it is also where most beginners get stuck: what is the difference between a simple and a variable product, why do my variations not show up, and where do I set a different price for size L? In this tutorial, we will learn how to add products in WooCommerce, from a basic simple product to a variable product with sizes, prices and SKUs for every variation.
Previously, I published a tutorial on how to add products and variants in Shopify. WooCommerce works quite differently because everything happens inside the WordPress editor, so let’s go through it step by step. All screenshots below were taken on a fresh store running WordPress 7.1 and WooCommerce 11.3.
Contents
Simple vs variable products in WooCommerce
Before you click anything, decide which product type you need. WooCommerce ships with four core types:
- Simple product: one item, one price, one SKU (a tote bag, a mug, a poster).
- Variable product: one product page with options such as size or color, where each combination (a variation) can have its own price, SKU, stock and image.
- Grouped product: a collection of related simple products shown on one page.
- External/Affiliate product: a product that links to another website instead of being added to your cart.
Virtual and downloadable are not separate types: they are checkboxes you can tick on a simple product (or on each variation) when the item does not need shipping or comes with a file.
Part 1: How to add a simple product in WooCommerce
Step 1: Open Products > Add new product
Log in to your WordPress dashboard and go to Products > All Products. Click the Add new product button at the top of the list (you can also use Products > Add new product in the left menu).
Step 2: Enter the product name and description
Type the product name in the big Product name field. This becomes the product title on your store and is used to build the URL (for example /product/canvas-tote-bag/). Below it, write the long description in the editor. The Product short description box further down the page is shown next to the price on most themes, so keep that one short and focused on the benefits.
Step 3: Set the regular price and sale price
Scroll down to the Product data box. Leave the type dropdown on Simple product and, in the General tab, fill in:
- Regular price: the normal price, for example
24. - Sale price: optional. When it is filled in, WooCommerce shows the regular price crossed out. Click Schedule if the sale should start and end on specific dates.
The other tabs are worth a quick look too: Inventory holds the SKU, stock quantity and stock status, Shipping holds weight, dimensions and shipping class, and Linked Products lets you choose upsells and cross-sells.
Step 4: Add the product image and category
In the right column, click Set product image to upload the main photo and Add product gallery images for extra photos. Then tick one or more boxes under Product categories (or click + Add new category). Categories decide where the product appears in your shop and in category menus, so do not leave every product in “Uncategorized”.
Step 5: Publish the product
Click Publish. If you are not ready yet, use Save Draft and then Preview to check the product page first. That’s it for a simple product. Now let’s create something more interesting.
Part 2: How to add product variations in WooCommerce
In this example, we will sell a Basic T-Shirt in three sizes, S, M and L, where size L costs a little more. Create a new product with Products > Add new product and enter the name and description as in Part 1.
Step 6: Change the product type to Variable product
In the Product data box, open the dropdown that says Simple product and choose Variable product. The General tab with the price fields disappears, because prices are now set per variation, and a new Variations tab appears.
Step 7: Add an attribute and use it for variations
Click the Attributes tab. Here you have two options:
- Add new: creates a custom attribute that only belongs to this product. Fine for a one-off product.
- Add global: picks an attribute you created under Products > Attributes. Use global attributes (such as Size or Color) when many products share the same options, because customers can then filter by them in your shop.
Enter Size as the name and S | M | L in the Value(s) field. Separate the values with a vertical bar |. Make sure Used for variations is ticked (and Visible on the product page if you want the sizes listed in the Additional information tab), then click Save attributes.
Step 8: Generate the variations
Open the Variations tab and click Generate variations. WooCommerce asks for confirmation and then creates one variation for every combination of the attributes marked “Used for variations”. With one attribute and three values, you get three variations. If you only need a few of the combinations (for example with two attributes), click Add manually instead and choose the values for each variation yourself.
Step 9: Set a price (and SKU, stock, image) for each variation
This is the step people forget. A variation without a price is not purchasable and is hidden from the size dropdown on the product page. Click Edit on each variation (or click on its row) to expand it, then fill in:
- Regular price (required) and optionally Sale price.
- SKU, for example
basic-tee-l, which helps a lot with inventory and order exports. - Stock status, or tick Manage stock? to track a stock quantity for this size only.
- A variation image, so the main photo changes when the customer picks that option.
When many variations share the same price, use the Bulk actions dropdown in the Variations tab (Set regular prices, Set sale prices, Toggle “Manage stock”…) instead of editing them one by one. Click Save changes at the bottom of the Variations tab, then Update or Publish the product.
Step 10: Check the variation dropdown on the product page
Open the product on the front end. WooCommerce now shows the price range (here $19.00 – $21.00) and a Size dropdown. The Add to cart button stays disabled until the customer picks a size, and the price updates to the price of the selected variation. The screenshot below was taken on a phone-sized screen with the free Storefront theme.
You can also set Default Form Values at the top of the Variations tab if you want one size to be pre-selected.
Common errors when adding products
Variations do not show on the product page
Nine times out of ten the variation has no regular price, or the attribute is not ticked as Used for variations. Open the Variations tab and look for the warning about variations without prices. Also check that each variation is Enabled and not set to Out of stock when you hide out-of-stock items under WooCommerce > Settings > Products > Inventory.
“Generate variations” creates nothing
You probably clicked it before saving the attributes. Go back to the Attributes tab, click Save attributes, and try again.
The price shows a range I did not expect
The range is calculated from all enabled variations, including ones you forgot to update. Expand each variation and check its regular and sale prices, or use Bulk actions to reset them.
Too many products to add by hand?
If you have dozens of products, add one product manually first, then use Products > All Products > Import with a CSV file. The idea is the same as when you import products into Shopify with CSV: one row per product and one row per variation.
For more details about every field, see the official WooCommerce documentation on managing products and on variable products.
Related: How to install and set up WooCommerce on WordPress (step by step)
Wrapping up
That’s how to add products in WooCommerce: a simple product needs a name, a price, an image and a category, while a variable product needs an attribute marked “Used for variations”, generated variations, and a price on every single variation. Get those three things right and your size and color dropdowns will just work.
If you get stuck on a step or your variations still refuse to show up, leave a comment below with your WooCommerce version and I will try to help.






