WooCommerce SKU

Generate WooCommerce SKUs automatically


Thank goodness 🙂 – a feature that automatically generates SKUs for you! Simply enable WooCommerce SKU module, and every new product added to your store will be allocated a unique SKU number.

Have existing products that don’t have SKUs? This module can do that for you too! Once enabled, go to WooCommerce > Booster > Products > SKU and scroll down to the Autogenerate SKUs tool, or go to WooCommerce > Booster Tools > Autogenerate SKUs to automatically generate SKUs for all existing products in your store. It’s that easy!

SKU Format Options

This section allows you set SKU format. Number generation can be sequential or from product ID. If you choose to use sequential number inside SKU, you can set sequential number counter. Also you can set prefix, suffix and number width here. Additionally you can choose how to generate SKU for variable products. There are three options for variable products:

  • SKU same as parent’s product.
  • Generate different SKU for each variation.
  • SKU same as parent’s product + variation letter suffix.

WooCommerce SKU - Admin Settings - SKU Format Options

Categories Options

You can set different SKU prefix and suffix for each your product category.

WooCommerce SKU - Admin Settings - Categories Options

More Options

If you wish to set SKUs manually, and you need to have same SKUs for different products, you can enable allow duplicate SKUs option here (which is disabled in WooCommerce by default).

WooCommerce SKU - Admin Settings - More Options

Autogenerate SKUs Tool

Module will generate SKUs for new added products automatically, but if you need to set SKUs for your existing products, or if you changed SKU format and would like to recalculate SKUs, you need to use Autogenerate SKUs tool. It will take format settings you set in previous sections, so you only need to click preview and set SKUs.

WooCommerce SKU - Admin Settings - Autogenerate SKUs Tool

Accessible through:
  • WooCommerce > Settings > Booster > Products > SKU
Tested on WooCommerce 3.1.1 and WordPress 4.8.1
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply



  1. Ben May 18, 2015 at 6:21 pm #

    Dear Tom,

    I would like to know if it is possible to not display the SKU on the product description. I notice that if I fill a SKU reference in the product data field, it appears when I visualise the product page (in the product desciption). But in modification mode, nothing appears in the product description field..

    I have the same problem with “key words” and “categories”. If I notch them on my products, they appear on the product description, but in a bad presentation.

    In fact, I would like not to display them as default, and customize myself them with the shortcodes. Is it possible ?

    Thanx a lot for your support.


  2. Karl January 31, 2016 at 1:22 pm #

    This looks a great feature, but before I upgrade to the Plus version, a quick question. I’d like to auto generate SKU by using category. What I want is each category to have it’s own unique numbering, for example cars would be car-001, car-002,… Lorries would be lor-001, lor-002, etc and so on. Is this possible with the plus version?
    Thanks and keep up the great work!


    • Valentin Solovjov February 1, 2016 at 9:12 pm #


      sorry, not possible at the moment. We will add this feature to our to-do list. We will try to add this feature ASAP.


    • Valentin Solovjov February 3, 2016 at 9:12 pm #


      We done modification. You can test/use in dev version. You can download at (need manually reinstall Booster for WooCommerce plugin).


    • Karl February 3, 2016 at 10:29 pm #

      Hi there
      First thank you very much for looking into this and looking to make the update, appreciated.
      I used the link to download the dev version. Deleted previous version and reloaded from the new download. I went to the sku section but it doesn’t look like anything has changed (e.g. the same as the screen shot on the website. If it has, I’m unsure how it works.
      Big thanks and sorry if I’m doing something wrong.

    • Valentin Solovjov February 3, 2016 at 10:50 pm #


      basically you need to do 3 things:

      1) goto WooCommerce > Settings > Booster > Products > SKU

      enable module, setup different prefix/suffix for product groups you need.

      2) goto WooCommerce > Booster Tools > Autogenerate SKUs > Preview SKUs
      3) if all good, Set SKUs


  3. Vitaliy March 11, 2017 at 2:48 pm #

    SKU Preview. Please create option to hide parent item of variable product in SKU Preview. If product is variable, show only it viriables without parent. Its cool to export for auto-generate price list. Thanx!


  4. Vitaliy March 12, 2017 at 9:45 am #

    Please create option to generate SKU only for products with empty SKU. It allows to continue generate SKU.


    • Booster Support Team March 12, 2017 at 12:57 pm #

      Hi Vitaliy,

      Sure. We’ve just made some changes to the plugin – please download the development version here – You will need to uninstall the old plugin version first (don’t worry your saved settings won’t disappear).

      After that in SKU module’s settings (in “WooCommerce > Settings > Booster > Products > SKU”) you will find new “Generate SKUs Only for Products with Empty SKU” option checkbox.

      Please let me know if it works as expected. And if you like Booster, please leave us a rating.

      Best regards,

      Booster Support Team
  5. Mac September 2, 2017 at 5:03 pm #


    I will like to add shortcodes like [wcj_product_weight] to my sku. How can I achieve this?