How to add a SKU to products in WooCommerce

As of Yoast SEO 20.0, the settings interface inside our plugins has received a major overhaul. Please update to the latest version of Yoast SEO if your plugin does not look like the screenshots you encounter in our Help center.

WooCommerce SEO checks if you’ve added a SKU to your products. If you haven’t, it will give you an orange bullet in the SEO analysis. This article explains what a SKU is and how you can add it with WooCommerce SEO.

What is a SKU?

SKU is short for Stock Keeping Unit. They are unique numbers/letters for your products that help you track your inventory and identify your product traits. SKU is also a recommended product schema property that helps search engines understand your product better and increases the chance they will get displayed as rich results. In fact, if your products are missing a SKU, Google Search Console may issue a missing field ‘sku’ warning. But don’t worry. WooCommerce SEO takes care of that, and it outputs the correct Schema for you automatically!

The Yoast WooCommerce SEO SKU check

If you are using Yoast WooCommerce SEO 15.2 or higher, the plugin will check and give you an orange bullet in the SEO analysis if you haven’t added a SKU to your product. The feedback is different for simple products and variable products.

Screenshot SKU check for simple products in SEO analysis Yoast WooCommerce SEO
Feedback on SKU for simple products
Screenshot SU check for variable products in SEO analysis Yoast WooCommerce SEO
Feedback on SKU for variable products
The SKU assessment only support SKUs entered via the standard input fields. SKUs provided via third party plugins or other methods are not supported.

How to add a SKU to your simple products

To add a SKU to your products and allow WooCoommerce SEO to automatically output the correct sku schema property, follow these steps.

  1. Select the product you want to add a SKU to from the Products overview.

  2. In the Product editing screen, scroll down to the Product data box.

    You will see a box with different tabs. The settings of the General tab are shown first by default.

  3. Click on the Inventory tab.

    You will see the Inventory tab options.

  4. Add the SKU to the SKU input field.

    You can add up to 255 alphanumeric and special characters in the input field.

  5. Click the Update button at the top of the Product editing screen.

    Yoast WooCommerce SEO will automatically output the missing schema properties to the product.

How to add a SKU to your variable products

If you have a variable product, you can add a SKU to each variation.

  1. First, go to the Variations tab of the Product data box.
    Screenshot Variations tab in product data box WooCommerce
  2. Expand your variations by clicking ‘Expand’.
    Screenshot expand variations of variable product WooCommerce
  3. Enter the SKU in the input field for each variation.
    Screenshot SKU input field for product variations WooCommerce

How to fix missing Schema property: missing field ‘sku’

If the SKU information is missing, Google Search Console or the Rich Results Test can show the warning Missing field ‘sku’ (optional). Follow the steps above to add a SKU to your simple or variable products. The Yoast WooCommerce SEO plugin, will output the correct Schema for you automatically!

Use the WooCommerce SEO plugin to solve this issue and more!

Get best practice technical SEO for ecommerce, automatically! And make your products stand out in the search results.

Get WooCommerce SEO Only $79 USD / year (ex VAT) for 1 site – incl. 1 year free updates and support

Related articles

Get free SEO tips!