sku

WooCommerce SKU

Generate WooCommerce SKUs automatically

Description

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.

Booster for WooCommerce - WooCommerce SKU - Admin Options - SKU Format Options Section

Number Generation
Number generation method. Possible values: from product ID, sequential or pseudorandom.

Default: From product ID
Sequential Number Generation – Counter
If you choose to use sequential number inside SKU, you can set current sequential number counter here.

Default:
Sequential Number Generation – By Category
Enables sequential number generation by category.

Default: no
Prefix
SKU prefix.

Default: None
Minimum Number Length
Minimum length for SKU number part.

Default:
Suffix
SKU suffix.

Default: None
Template
SKU template. Replaced values: {category_prefix}, {category_suffix}, {prefix}, {suffix}, {variation_suffix}, {sku_number}

Default: {category_prefix}{prefix}{sku_number}{suffix}{category_suffix}{variation_suffix}
Variable Products Variations
SKU generation for variations. Please note, that on new variable product creation, variations will get same SKUs as parent product, and if you want variations to have different SKUs, you will need to run “Autogenerate SKUs” tool manually. Possible values: SKU same as parent’s product; Generate different SKU for each variation; SKU same as parent’s product + variation letter suffix.

Default: SKU same as parent's product

Categories Options

You can set different SKU prefix, suffix and counter (in case if “Sequential Number Generation – By Category” option is enabled) for each your product category

WooCommerce SKU - Admin Settings - Categories Options

More Options

Booster for WooCommerce - WooCommerce SKU - Admin Options - More Options Section

Automatically Generate SKU for New Products
Alternatively you can use Autogenerate SKUs tool.

Default: yes
Generate SKU for New Products Only on First Publish
This is important if, for example, you are using category prefix and don’t want SKU generated too early, before you set the category.

Default: no
Allow Duplicate SKUs
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).

Default: no
Search by SKU
Add product searching by SKU on frontend.

Default: no
Generate SKUs Only for Products with Empty SKU
This may help if you are going to use Autogenerate SKUs tool, but don’t want to change your existing SKUs.

Default: no
Add SKU to Customer Emails
Adds product SKU to customer’s emails.

Default: no
Disable SKUs
Enable this option if you are not going to use SKUs in your shop at all.

Default: no

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.

Booster for WooCommerce - WooCommerce SKU -  Autogenerate SKUs Tool

Accessible through:

  • WooCommerce > Settings > Booster > Products > SKU

Tested on WooCommerce 4.0.0 and WordPress 5.3.2Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

WooCommerce Booster ModulesWooCommerce Product SKUWooCommerce ProductsWooCommerce SKU

#comment>

#comment>

#comment>#comment>#comment>

Leave a Reply Click here to cancel reply.

#comment>

Comments

23 Comments

  1. Rasul December 10, 2019 at 6:36 am#comment>

    hello, when i generate sku plugin has show error >
    ” An error of type E_ERROR was caused in line 324 of the file public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-sku.php. Error message: Uncaught Error: Call to a member function get_sku() on bool in /public_html/wp-content/plugins/booster-plus-for-woocommerce/includes/class-wcj-sku.php:324 ”

    also i send this error in email for you, Please Help to fix this problem. thanks

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  2. #comment>

  3. phong nguyen July 2, 2019 at 6:15 am#comment>

    Hello!
    I want to buy this plugin, but i have a quenstion:
    I will use feature “Generate different SKU for each variation; SKU same as parent’s product + variation letter suffix”, but variation product more than the number of anphabet letters, this plugin will create 2 letters (example: AA, AB, AC,…..)????

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ July 2, 2019 at 4:07 pm#comment>

      Hi Phong,

      This option will add an extra letter, for example XXa, XXb, XXc etc. You can also add variation attribute by customizing the template option,

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  4. #comment>

  5. Sig Kappel April 23, 2019 at 9:23 pm#comment>

    Trying to append a custom field to the SKU using the short code.
    It’s not working. I know the short code works because it displays when I use it in the product description.

    I tried both of these short codes in the SKU generator template.

    or

    please advise 🙂

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ April 24, 2019 at 10:59 am#comment>

      Hi Sig,

      Could you try using the shortcode in the prefix or suffix fields instead of the template? Also, what is shown when you add the shortcode – does it become empty or shows the shortcode itself?

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  6. #comment>

  7. ktse2 April 13, 2019 at 9:27 am#comment>

    Hello,

    The auto creation of SKU for variation products don’t work even I have enable the option of “Generate SKU for New Products Only on First Publish”. May you confirm whether this is a malfunction of some settings I have made wrong?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • ktse2 April 13, 2019 at 9:41 am#comment>

      Nevermind, I got it working now. Thanks 🙂

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  8. #comment>

  9. prabhu April 6, 2018 at 12:25 pm#comment>

    Hi, just bought the booster plus. Was working on SKU but not sure how to achieve this?

    Illustration
    >Car as a category –
    >>sedan, hatch as subcategory
    >>>car model
    >>>>color
    something like: car-saccord-1001

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • danielc April 17, 2018 at 11:24 pm#comment>

      Hi Prabhu,

      sorry for a late response, the SKU you can create while you edit your product and below you can see General, Inventory, Shipping and etc. You need to open Inventory and here you can create the SKU for your product like you want car-saccord-1001 for example.

      Best regards,
      Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  10. #comment>

  11. mmhinojales January 8, 2018 at 5:12 pm#comment>

    Hi,

    I just got the Plus version. However, when click on Preview SKU/ Autogenerate SKU, nothing happens (e.g. it just shows me the Autogenerate SKUs gray page with no other content whatsoever.) My SKUs didn’t change either.

    Please help.

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • Booster Support Team January 10, 2018 at 5:24 pm#comment>

      Hi,

      Maybe it’s possible to share an admin account to your server (WP and FTP) so I could login and check what’s going on? My email is tom@booster.io

      Best regards,
      Tom

      #comment>#comment>Booster Support Team#comment>

    • #comment>

    #comment>

  12. #comment>

  13. Yashar November 15, 2017 at 3:25 pm#comment>

    Hi
    We just want to buy Booster Plus for our woocommerce site, whoever I have one question:
    Is there possibility to add SKU for products variations by adding a suffix based on the attributes?
    For example AB1234567890 for parrent product
    AB1234567890-blue for blue colored variant
    AB1234567890-xl for extra large variant
    AB1234567890-blue-xl for a variant with blue and extra large attributes
    Since the SKU module of your plugin will be the most used feature for us, it’s important to know the answer for above question.
    Thanks for your awesome work

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  14. #comment>

  15. Mac September 2, 2017 at 5:03 pm#comment>

    Hi,

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

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  16. #comment>

  17. Vitaliy March 12, 2017 at 9:45 am#comment>

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

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

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

      Hi Vitaliy,

      Sure. We’ve just made some changes to the plugin – please download the development version here – http://booster.io/dev/. 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,
      Tom

      #comment>#comment>Booster Support Team#comment>

    • #comment>

    #comment>

  18. #comment>

  19. Vitaliy March 11, 2017 at 2:48 pm#comment>

    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!

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  20. #comment>

  21. Karl January 31, 2016 at 1:22 pm#comment>

    Hi
    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!

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

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

      Hi,

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

      BR,
      Val

      #comment>#comment>Avatar#comment>

    • #comment>

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

      Hi,

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

      BR,
      Val

      #comment>#comment>Avatar#comment>

    • #comment>

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

      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.
      Karl

      #comment>#comment>Avatar#comment>

    • #comment>

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

      Hi,

      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

      BR,
      Val

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  22. #comment>

  23. Ben May 18, 2015 at 6:21 pm#comment>

    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.
    Ben.

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    #comment>

  24. #comment>

#comment>#comment>#comment>#comment>

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

This site uses Akismet to reduce spam. Learn how your comment data is processed.