Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
Product SKU Generator for WooCommerce icon

Product SKU Generator for WooCommerce

v2.5.0
by SkyVerge · 4.9 (20 reviews)

Automatically generate WooCommerce product SKUs from the product / attribute slugs and/or IDs.

9K+ active installs Updated Oct 29, 2024 Tested to 6.7.2 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card

About Product SKU Generator for WooCommerce

The Product SKU Generator for WooCommerce is a plugin that automatically generates SKUs for your products when they are published or updated. It can generate SKUs for simple, external, or parent products using the product's slug or ID, and can also generate SKUs for product variations. You can choose to override existing SKUs or manually set them, and there is a bulk update feature to generate SKUs for multiple products at once.

Screenshots

Product SKU Generator for WooCommerce screenshot
Product SKU Generator for WooCommerce screenshot
Product SKU Generator for WooCommerce screenshot
Product SKU Generator for WooCommerce screenshot
Product SKU Generator for WooCommerce screenshot

Changelog

2023.07.28 – version 2.5.0

  • Misc – Add compatibility for WooCommerce High Performance Order Storage (HPOS)
  • Misc – Require PHP 7.4+ and WordPress 5.6+
  • Dev – Add wc_sku_generator_variation_attributes filter to allow modification of variation attributes used for SKU generation

2022.07.31 – version 2.4.8

  • Fix – Sanitize input

2022.07.31 – version 2.4.7

  • Misc – Rename to Product SKU Generator for WooCommerce

2022.03.01 – version 2.4.6

  • Fix – Avoid uncaught error when saving variable products in certain environments
  • Misc – Replace calls to deprecated is_ajax() with wp_doing_ajax()
  • Misc – Require WooCommerce 3.9.4 or newer

2020.05.04 – version 2.4.5

  • Misc – Add support for WooCommerce 4.1

2020.03.10 – version 2.4.4

  • Misc – Add support for WooCommerce 4.0

2020.02.12 – version 2.4.3

  • Fix – Prevent PHP 7.4 deprecated notice while generating variation SKUs

2020.02.05 – version 2.4.2

  • Misc – Add support for WooCommerce 3.9

2019.11.11 – version 2.4.1

  • Misc – Add support for WooCommerce 3.8

2019.08.15 – version 2.4.0

  • Misc – Add support for WooCommerce 3.7
  • Misc – Remove support for WooCommerce 2.6

2019.06.12 – version 2.3.5

  • Tweak – Ensure generated SKUs are unique before saving
  • Fix – Prevent errors when saving invalid SKUs

2018.07.17 – version 2.3.4

  • Misc – Remove support for WooCommerce 2.5

2017.09.10 – version 2.3.3

  • Tweak – POST variable SKUs when disabled to ensure plugins checking for this specifically find it

2017.08.22 – version 2.3.2

  • Tweak: Disable variation SKU inputs when being generated
  • Fix: PHP warning when WooCommerce is outdated

2017.03.27 – version 2.3.1

  • Fix: Skip trying to generate a SKU for removed variations, which will cause errors

2017.03.23 – version 2.3.0

  • Feature: adds setting to remove spaces from attribute names
  • Fix: SKUs are now set for out of stock variations
  • Misc: bump required WP version to 4.1
  • Misc: added support for WooCommerce 3.0
  • Misc: removed support for WooCommerce 2.3.x and 2.4.x

2016.05.31 – version 2.2.0

  • Feature: attribute names can now replace spaces with hyphens in addition to underscores
  • Misc: added support for WooCommerce 2.6
  • Misc: removed support for WooCommerce 2.2

2016.01.18 – version 2.1.0

  • Feature: adds setting to replace spaces in attribute names with underscores if variation SKUs use them
  • Misc: updated text domain to woocommerce-product-sku-generatorplease update translations!
  • Misc: added WooCommerce 2.5 support

2015.08.20 – version 2.0.1

  • Fix: SKUs generated from UTF-8 characters are no longer encoded

2015.08.19 – version 2.0.0

  • Feature: You can now generate SKUs using slugs or IDs for products / variations
  • Misc: confirms WooCommerce 2.4 compatibility
  • Misc: requires WooCommerce 2.2 or newer
  • Misc: refactored for better performance and to add install / upgrade routine
  • Misc: introduce wc_sku_generator_variation_sku and wc_sku_generator_variation_sku_format filters to adjust generated SKU for variations
  • Misc: introduce wc_sku_generator_force_sorting filter to force attribute sorting in SKUs, props @humancopy!

2015.03.03 – version 1.2.2

  • Misc: added wc_sku_generator_sku filter to change generated SKU base for simple / parent products

2015.02.06 – version 1.2.1

  • Fix: bug with loading translations

2015.02.04 – version 1.2.0

  • Misc: WooCommerce 2.3 compatibility
  • Misc: Settings moved to Product Data (WC 2.2)
  • Misc: Text domain updated to wc-product-sku-generator

2014.08.29 – version 1.1.1

  • Fix: issue with default option being selected

2014.08.12 – version 1.1

  • New: Option to generate only variation SKUs automatically

2014.07.23 – version 1.0.2

  • Fix: Changed SKU disable method to remove javascript

2014.06.13 – version 1.0.1

  • Re-versioned + incremented for bug fix
  • Fix: javascript issue during WooCommerce update

2014.04.15 – version 0.1

  • Initial Release

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

WooCommerce icon

WooCommerce

4.5 · 7M+ installs

Everything you need to launch an online store in days and keep it growing for years. From your…

LiteSpeed Cache icon

LiteSpeed Cache

4.8 · 7M+ installs

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...