Stand with Ukraine. Fight for freedom and democracy


How to add SKU for WooCommerce products to use in the query

From this tutorial, you’ll learn how to add SKU for WooCommerce products. And if you want to learn how to add a new product using WooCommerce from this tutorial.

What is SKU?

SKU stands for a stock keeping unit and refers to a unique identification number of a single product that will help you and your customers to track product quickly.

Typically, SKU is associated with any purchasable item in a store or catalogue. If you sell, for instance, 5 dresses with different prints, you need to distinguish them somehow. Here is when SKU comes into play.

There are special WooCommerce Product SKU Generator plugin and online SKU Generator to help you to add unique numbers to all of your products.

Now let’s learn how to add SKU to your products.

Step 1 — First, you need to log into the WordPress Dashboard.

Step 2 — To see a list of all the products you’d have to navigate to the Products > All Products block. Hover over a product to reveal the Edit option. Click it to add SKU.

all products list

Step 3 — Scroll down to the Product data block. There is a side menu on the left.

Step 4 — Open the Inventory tab and you’ll see the SKU number field.

Step 5 — Type in the unique code that you have previously made up or generated.

adding sku to woocommerce product

Click the Update button in order to save all the modifications.

Now you can view SKU in the description of the product. Take a look at it!