Title: SKU Generator for WooCommerce
Author: WP Wham
Published: <strong>Hagayya 8, 2015</strong>
Last modified: Fulbaana 23, 2026

---

Search plugins

![](https://ps.w.org/sku-for-woocommerce/assets/banner-772x250.jpg?rev=1215731)

![](https://ps.w.org/sku-for-woocommerce/assets/icon-256x256.jpg?rev=1215752)

# SKU Generator for WooCommerce

 By [WP Wham](https://profiles.wordpress.org/wpwham/)

[Download](https://downloads.wordpress.org/plugin/sku-for-woocommerce.1.6.6.zip)

 * [Details](https://gax.wordpress.org/plugins/sku-for-woocommerce/#description)
 * [Reviews](https://gax.wordpress.org/plugins/sku-for-woocommerce/#reviews)
 *  [Installation](https://gax.wordpress.org/plugins/sku-for-woocommerce/#installation)
 * [Development](https://gax.wordpress.org/plugins/sku-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/sku-for-woocommerce/)

## Description

Add full SKU support to WooCommerce:

 * Set SKU by custom format (prefix, suffix, number length, category, tag) automatically
   for new products.
 * Regenerate SKUs for all existing products (or regenerate only for products with
   no SKU).
 * Add product searching by SKU on frontend.
 * Add SKU to customer emails.
 * Allow Duplicate SKUs.

#### Feedback

 * We are open to your suggestions and feedback, and thank you for using or trying
   out one of our plugins!
 * Drop us a line at [www.wpwham.com](http://www.wpwham.com).

#### More

 * Visit the [SKU Generator for WooCommerce plugin page](https://wpwham.com/products/sku-generator-for-woocommerce/).

## Screenshots

[⌊SKU Generator for WooCommerce - SKU Format Options.⌉⌊SKU Generator for WooCommerce-
SKU Format Options.⌉[

SKU Generator for WooCommerce – SKU Format Options.

[⌊SKU Generator for WooCommerce - More Options.⌉⌊SKU Generator for WooCommerce -
More Options.⌉[

SKU Generator for WooCommerce – More Options.

[⌊SKU Generator for WooCommerce - Categories Options.⌉⌊SKU Generator for WooCommerce-
Categories Options.⌉[

SKU Generator for WooCommerce – Categories Options.

[⌊SKU Generator for WooCommerce - Tags Options.⌉⌊SKU Generator for WooCommerce -
Tags Options.⌉[

SKU Generator for WooCommerce – Tags Options.

[⌊SKU Generator for WooCommerce - SKU Regenerator Tool.⌉⌊SKU Generator for WooCommerce-
SKU Regenerator Tool.⌉[

SKU Generator for WooCommerce – SKU Regenerator Tool.

## Installation

 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to “WooCommerce > Settings > SKU”.

## FAQ

### What options are in Pro version?

[SKU Generator for WooCommerce Pro](https://wpwham.com/products/sku-generator-for-woocommerce/)
includes options to generate SKUs sequentially or randomly. Also there are additional
SKU format options for variable products.

## Reviews

![](https://secure.gravatar.com/avatar/a305c6e9879dc3c9edd09c78e8d2bf034605df6effe515029dd946bb6c236c3b?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-16949/)󠁿

 [happiness4ever](https://profiles.wordpress.org/happiness4ever/) Onkololeessa 28,
2025

Great

![](https://secure.gravatar.com/avatar/9d4afd9e5b8a818d686e7569ba897ef2e6796628535118e3c3eda70c19e3a086?
s=60&d=retro&r=g)

### 󠀁[Does not support HPOS](https://wordpress.org/support/topic/does-not-support-hpos/)󠁿

 [1vista](https://profiles.wordpress.org/1vista/) Ebla 13, 2024 2 replies

Does not support HPOS

![](https://secure.gravatar.com/avatar/d94be630b1ac7275eb33842183531eb5eb760349c6974310b879ae049ad220cb?
s=60&d=retro&r=g)

### 󠀁[Worst support](https://wordpress.org/support/topic/worst-support-23/)󠁿

 [regedy1](https://profiles.wordpress.org/regedy1/) Sadaasa 25, 2023 4 replies

Missing HPOS support for months and no update so far. support needs constant nudges
and takes forever to respond.

![](https://secure.gravatar.com/avatar/b049e5c744f8ae12a1742b0e02d10963111e179500837e597a7ea0b1411a4589?
s=60&d=retro&r=g)

### 󠀁[Its the best SKU for me](https://wordpress.org/support/topic/its-the-best-sku-for-me/)󠁿

 [redrobred](https://profiles.wordpress.org/redrobred/) Gurraandhala 6, 2023 1 reply

Its the best SKU for me at least, hope the dev updates and maintains it

![](https://secure.gravatar.com/avatar/b94e2b2546b8ceb0637a68a2ea522c1dcd9ff376bd944a1c3e186263223466f6?
s=60&d=retro&r=g)

### 󠀁[Decent](https://wordpress.org/support/topic/decent-31/)󠁿

 [panon](https://profiles.wordpress.org/panon/) Adoolessa 26, 2022

Very nice if you want an easy way to add product ID to SKU field automatically. 
Thank you.

![](https://secure.gravatar.com/avatar/3c0c01b1ec773d43c2f370bd5bb241b759af4355e7448cd230ab008d77c0d8f7?
s=60&d=retro&r=g)

### 󠀁[It’s Fine at best](https://wordpress.org/support/topic/its-fine-at-best/)󠁿

 [fsteward5](https://profiles.wordpress.org/fsteward5/) Muddee 21, 2018

There could be some improvement. Overall I did used this plugin a year ago but this
month I change to a pay version.

 [ Read all 11 reviews ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/)

## Contributors & Developers

“SKU Generator for WooCommerce” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ WP Wham ](https://profiles.wordpress.org/wpwham/)

“SKU Generator for WooCommerce” has been translated into 2 locales. Thank you to
[the translators](https://translate.wordpress.org/projects/wp-plugins/sku-for-woocommerce/contributors)
for their contributions.

[Translate “SKU Generator for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/sku-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sku-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sku-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sku-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/sku-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.6 – 2026-09-23

 * UPDATE: coding standards.

#### 1.6.5 – 2026-03-10

 * FIX: PHP notice.

#### 1.6.4 – 2025-05-31

 * FIX: PHP notice.

#### 1.6.3 – 2025-03-06

 * FIX: admin searching by SKU (94732).

#### 1.6.2 – 2024-08-29

 * UPDATE: bump tested versions.

#### 1.6.1 – 2023-07-15

 * FIX: PHP 8.2 notices.
 * NEW: add “Generate different SKU for each variation” option into free version(
   previously was a feature only in the pro version).

#### 1.6.0 – 2022-03-07

 * NEW: add filter ‘wpwham_sku_sku_template_variables’. This filter will be useful
   for creating your own SKU template variables using custom code.
 * UPDATE: PHP 8 now officially supported.
 * UPDATE: updated .pot file for translations.

#### 1.5.1 – 2021-04-12

 * UPDATE: bump tested versions

#### 1.5.0 – 2021-01-20

 * NEW: (premium version only) add support for Yoast primary categories.
 * NEW: (premium version only) add product attributes as option for variation suffix(
   thanks to Joseph VanTine).
 * FIX: issues when using Search by SKU “pre_get_posts” algorithm.
 * FIX: minor display bug on settings page, also clarify settings page wording a
   little.
 * UPDATE: updated .pot file for translations.

#### 1.4.3 – 2020-09-17

 * UPDATE: bump tested versions

#### 1.4.2 – 2020-08-25

 * UPDATE: bump tested versions

#### 1.4.1 – 2020-07-24

 * FIX: issue with variations always being assigned same SKU as parent product, 
   when inserting new product.
 * UPDATE: display our settings in WC status report.

#### 1.4.0 – 2020-06-08

 * NEW: add “Generate SKUs for Variations” option to variations bulk action dropdown.
 * NEW: allow forcing uppercase letters in SKU templates.
 * FIX: show correct “old SKU” for variations in bulk regenerator tool preview.
 * UPDATE: reorder columns in previews (show Old SKU on the left, New SKU on the
   right).
 * UPDATE: updated .pot file for translations.

#### 1.3.3 – 2019-12-17

 * UPDATE: bump tested versions

#### 1.3.2 – 2019-11-15

 * UPDATE: bump tested versions

#### 1.3.1 – 2019-09-14

 * UPDATE: bump tested upto versions

#### 1.3.0 – 2018-10-21

 * UPDATE: updated .pot file for translations

#### 1.2.5 – 2018-09-20

 * Dev – General – `{category_slug}`, `{category_name}`, `{tag_slug}` and `{tag_name}`
   replaced values added.
 * Dev – General – Template – Admin settings field now accepts “raw” input.
 * Dev – Tool – Minor restyling.

#### 1.2.4 – 2018-09-10

 * Dev – “Contributors” and “Author URI” updated.

#### 1.2.3 – 2018-08-25

 * Fix – `version_updated()` function fixed.

#### 1.2.2 – 2018-08-23

 * Fix – “Search by SKU” option fixed (and “Search by SKU: Algorithm” option added
   to “General > More Options > Search by SKU”).
 * Dev – “Sequential numbering on per category basis” option added.
 * Dev – “WC tested up to” added to plugin header.
 * Dev – General – More Options – Automatically generate SKU for new products – “
   Delay SKU generation till product is published” option default set to “yes”.
 * Dev – Code refactoring.
 * Dev – Admin settings restyled.
 * Dev – Plugin URI updated.

#### 1.2.1 – 2017-12-06

 * Dev – General – WooCommerce v3.2.0 compatibility – `select` type in admin settings
   fixed.
 * Dev – General – “Delay SKU generation till product is published” option added.
 * Dev – General – Admin settings minor restyling.
 * Dev – Saving settings array as main class property.

#### 1.2.0 – 2017-04-18

 * Dev – WooCommerce v3.0.0 compatibility – `get_child()` replaced with `wc_get_product()`.
 * Dev – “Template” option added.
 * Dev – “Pseudorandom – Hash (max 10 digits)” option added to “Number Generation”.
 * Dev – “Generate SKUs Only for Products with Empty SKU” option added.
 * Dev – “Categories Options” section added.
 * Dev – “Tags Options” section added.
 * Dev – “Search by SKU” option added.
 * Dev – “Add SKU to Customer Emails” option added.
 * Dev – “Automatically Generate SKU for New Products” option added.
 * Dev – “Reset Section Settings” option added.
 * Dev – `WP_Query` optimized to return `ids` only.
 * Tweak – Plugin link updated from `coder.fm` to `wpcodefactory.com`.
 * Tweak – `general` section cleanup.
 * Tweak – Default values added to all `get_option()` calls.
 * Tweak – Filter rewritten.

#### 1.1.3 – 2016-12-21

 * Fix – `load_plugin_textdomain()` moved from `init` hook to constructor.
 * Fix – Generating SKU on “duplicate product” action.
 * Dev – Language (POT) file updated.

#### 1.1.2 – 2016-08-21

 * Dev – “Allow duplicate SKUs” option added.
 * Dev – Version system added.
 * Tweak – Plugin renamed.
 * Tweak – Contributors changed.
 * Tweak – Option filter added.

#### 1.1.1 – 2016-06-13

 * Dev – `get_available_variations` replaced with `get_all_variations`.
 * Dev – SKU Regenerator tool – No auto preview after generation.

#### 1.1.0 – 2016-06-10

 * Dev – Sequential SKU number format option added.
 * Dev – Language (POT) file added.
 * Dev – Multisite support added.
 * Dev – Description added to “SKU Format Options”.

#### 1.0.0 – 2015-08-06

 * Initial Release.

## Meta

 *  Version **1.6.6**
 *  Last updated **3 weeks ago**
 *  Active installations **2,000+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **7.1.3**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/sku-for-woocommerce/), [Persian](https://fa.wordpress.org/plugins/sku-for-woocommerce/),
   and [Russian](https://ru.wordpress.org/plugins/sku-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/sku-for-woocommerce)
 * Tags
 * [generate](https://gax.wordpress.org/plugins/tags/generate/)[sku](https://gax.wordpress.org/plugins/tags/sku/)
   [stock keeping unit](https://gax.wordpress.org/plugins/tags/stock-keeping-unit/)
   [woocommerce](https://gax.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://gax.wordpress.org/plugins/sku-for-woocommerce/advanced/)

## Ratings

 4.1 out of 5 stars.

 *  [  8 5-star reviews     ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sku-for-woocommerce/reviews/)

## Contributors

 *   [ WP Wham ](https://profiles.wordpress.org/wpwham/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sku-for-woocommerce/)