Adding and Managing Products in Woocommerce
Before we start to add Products in WooCommerce. It is best to understand how product categories, tags, and attributes function.
What are Product Categories?
Similar to writing a Post in WordPress, product categories and tags work in much the same way. They can be created, edited, and selected at any time. It is best practice to create a product category/tag specifically before creating a product.
What are Attributes?
These are features a product has, which can be displayed when users are reviewing a product. They can be added per product, or set up as global attributes for the entire store to use.
To learn more, see: Managing Product Categories, Tags and Attributes
Knowing which Product Type to use.
Once you have set up your attributes and categories and stock management configuration, you can begin adding products. It is important to know the product types.
- Simple – covers the most products you can sell. Simple products are shipped and have no additional options. For example, a t-shirt.
- Grouped – a group of related products that can be purchased individually made up of simple products. For example, a set of 4 knives.
- Virtual – this can be a digital asset, that will not require shipping. The shipping fields will be disabled when selected. Virtual products don’t trigger the shipping calculator in cart and checkout.
- Downloadable – after purchase, customers are given a downloadable file as a link via the order notification email. Examples, are a digital album, PDF magazine, or photo.
- External or Affiliate – this gives you the ability to provide a link to the product you list on your website to be sold elsewhere.
- Variable – a product may have a different SKU, price or stock option. For example, a dress available in different colours and/or sizes.
What is a SKU?
SKU, or Stock Keeping Unit number, is a unique number assigned to a product for, amongst other things, the purpose of keeping track of inventory.
The SKU field can accept up to 255 characters, which can include alphanumeric values and some special characters. The input is checked using the WordPress function santize_text_field, which means HTML, invalid UTF characters, and octets will be removed when saved (an octet is defined by % followed by 2 characters with a value in the range of a-f or 0-9).
How to add a simple product
Adding a Simple product is a simple process.
- Go to WooCommerce > Products > Add Product.
- First enter a product Title and long Description.
- Scroll down to the Product Data panel, and select downloadable (digital) or virtual (service) if applicable.
Product data
The Product Data box is where the majority of your product data is added.
General Section
- Price
- Regular Price – add your retail price
- Sale Price – If you have a sale, you can add your discounted price, it can be scheduled for certain date ranges.
- Tax
- Tax status – Taxable / Shipping only / None
- Tax class – Choose which tax class should be applied
Inventory section
The inventory section allows you to manage stock for the product individually and define whether to allow back orders and more. It enables you to sell products and allows customers to add them to the cart to buy.
Enable Stock Management must be selected in Products Inventory Settings; otherwise, only the ‘Stock status’ option is visible in the Product Data Inventory box.
Options when stock management at the product level is disabled. You are responsible for updating the Stock Status.
Options when stock management at the product level is enabled.
- Enter the Stock Quantity, and WooCommerce auto-manages inventory and auto-updates Stock Status as Stock, Out of Stock or On Backorder.
- Select whether to Allow Backorders.
- Low stock threshold – Enter a number upon which you are notified.
- Tick the Sold Individually box to limit the product to one per order.
Shipping section
- Weight – Weight of the item.
- Dimensions – Length, width and height for the item.
- Shipping Class – Shipping classes are used by certain shipping methods to group similar products.
Linked Products section
Using up-sells and cross-sells, you can cross-promote your products. They can be added by searching for a particular product and selecting the product from the dropdown list:
Up-sells are displayed on the product details page. These are products that you may wish to encourage users to upgrade, based on the product they are currently viewing. For example, if the user is viewing the coffee product listing page, you may want to display tea kettles on that same page as an up-sell.
Cross-sells are products that are displayed with the cart and related to the user’s cart contents. As an example, if the user adds a Nintendo DS to their cart, you may want to suggest they purchase a spare stylus when they arrive at the cart page.
Grouping – Used to make a product part of a grouped product. More info below at: Grouped Products.
Attributes section
On the Attributes tab, you can assign details to a product. You will see a select box containing global attribute sets you created (e.g., platform). More at: Managing Product Categories, Tags and Attributes.
Once you have chosen an attribute from the select box, click add and apply the terms attached to that attribute (e.g., Nintendo DS) to the product. You can hide the attribute on the frontend by leaving the Visible checkbox unticked.
Custom attributes can also be applied by choosing a Custom product attribute from the select box. These are added at the product level and won’t be available in layered navigation or other products.
Advanced section
- Purchase note – Enter an optional note to send the customer after they purchase the product.
- Menu order – Custom ordering position for this item.
- Enable Reviews – Enable/Disable customer reviews for this item.
Product short description
Add an excerpt. This typically appears next to product imagery on the listing page, and the long description appears in the Product Description tab.
Taxonomies
On the right-hand side of the Add New Product panel, there are product categories in which you can place your product, similar to a standard WordPress post. You can also assign product tags in the same way.
Product images
Add a main product image and a gallery of images. More at: Adding Product Images and Galleries.
Setting catalogue visibility options and feature status
In the Publish panel, you can set Catalog Visibility for your product.
- Shop and search – Visible everywhere, shop pages, category pages and search results.
- Shop only – Visible in shop pages and category pages, but not search results.
- Search only – Visible in search results, but not in the shop page or category pages.
- Hidden – Only visible on the single product page – not on any other pages.
You can also set whether the product is promoted in product categories, up-sells, related products as a Featured Product. For example, you could tick the Featured box on all bundles you sell.
Other ways to set it as Featured are described in the below section: Mark a product as Featured.
Adding a grouped product
A grouped product is created in much the same way as a Simple product. Grouped products are like lists of other products in your shop, and as a result, do not have prices or stock numbers of their own. To create one, select Grouped Product from the Product Type dropdown.
Create the Grouped product
- Go to: WooCommerce > Products > Add New.
- Enter a Title for the Grouped product, e.g., Back to School set
- Scroll down to Product Data and select Grouped from the dropdown. The price and several other fields disappear. This is normal because a Grouped Product is a collection of ‘child products’, which is where you add this information.
- Publish.
The Grouped product is still an empty group. To this Grouped product, you need to:
- Create products and add them
- Add existing child products
Having the choice to first create Simple products and add them to a Grouped product later; or first create a Grouped product and add Simple products later gives you flexibility to add Simple products to more than one Grouped product.
Add products to the Group
- Go to: WooCommerce > Products > Add New.
- Select the Grouped product you wish to add products to.
- Scroll down to Product Data and go to Linked Products.
- Select Grouped Products, and search for the product by typing
- Click the products you wish to add.
- Update
- You can drag and drop to reorder the Grouped Products. Once you press Update, the new order will be shown on the product page.
Adding a virtual product
When adding a Simple product, you can tick the Virtual checkbox box in the product type panel.
With Variable products this checkbox is moved to each variation.
Enabling this disables all shipping-related fields such as shipping dimensions. A virtual product will also not trigger the shipping calculator in the cart and checkout.
Adding a downloadable product
When adding a simple product, you can select the Downloadable checkbox box in the product type panel. This adds two new fields:
- File path — Path or URL to your downloadable file.
- Download limit – Limit on the number of times the customer can download a file. Left blank for unlimited downloads.
For maximum flexibility, downloadable products also incur a shipping cost (if, for example, you were offering both a packaged and a downloadable version of a product, this would be ideal). You can also check the Virtual box if the downloadable product is not shippable.
Note: If the Completed Order Email doesn’t contain downloadable links, see this Troubleshooting Guide.
Adding an external/affiliate product
Select ‘External/Affiliate’ from the product type dropdown. This will change the Product data meta box a bit. It first removes the shipping section from the left side. It then adds two new fields in the General section, the Product URL and Button text fields. The Product URL field is the destination where users can purchase this product. Then the Button text lets you change the normal Add to Cart button text to your preferred text.
Adding a variable product
Variable products are one of the more complex of product types. They let you define variations of a single product where each variation may have a different SKU, price or stock level.
See our Variable Product docs for a guide on creating a product with variations.
Duplicating a product
To save time, it’s possible to use a product and duplicate it to create similar products with variations and other qualities.
Go to WooCommerce > Products and look through the list for a product you wish to replicate, then click Duplicate.
Deleting a product
To delete a product:
- Go to: WooCommerce > Products.
- Find the product you wish to delete.
- Hover in the area under the Product name and click Trash.
Mark a product as Featured
To mark a product as featured, go to Products > Products and select the Star in the featured column. Alternatively, select Quick Edit and then the Featured option.
Filter or sort products
In addition to the options below, WooCommerce Customizer gives you the ability to customize your Product Catalog. Go to: WooCommerce Customizer – Product Catalog.
Filtering products
Use the Filter function to get a product count, view products by type, or see which products are On Backorder or Out of Stock.
- Go to: WooCommerce > Products.
- Select a Category, Product Type and/or Stock Status, or any combination of the three.
- Click Filter.
Filter by category
Use the category filter function to filter products by category.
Note: When the site has fewer than 100 categories, the category filter field will appear as a dropdown. When the number of categories reaches 100, an input search will be used instead of a dropdown.
Unlike dropdown, input search will not show all categories, only categories that are tied to some product.
Sorting products
Sorting is different than Filtering, in that you can drag and drop products to re-order them.
- Go to: WooCommerce > Products.
- Select Sorting.
- Select a Category, Product Type and/or Stock Status, or any combination of the three.
- Click Filter.
You can now drag and drop products in an order to your liking.
Product ID
A WooCommerce Product ID is sometimes needed when using shortcodes, widgets, and links.
To find the ID, go to Products and hover over the product you need the ID for. The product ID number is displayed.
Allow backorders
Select whether to allow Backorders from the dropdown, if you are managing stock on a product. Use Advanced Notifications (separate purchase) to help notify someone other than the shop admin if backorders are placed.
To allow backorders, the Stock status must be set to In Stock even though the Stock Quantity is 0 or less.