This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Product SKU Generator for WooCommerce

Product SKU Generator for WooCommerce

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

8K+ active installs
4.9
(20 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Product SKU Generator for WooCommerce running.

WordPress compatibility
Tested to 6.9.5 — 1 branch behind 7.0
Tested against the WordPress branch in use today.
Last updated
3 months ago
At least 2.4 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
5.6
Contributors
2

8K+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Product SKU Generator for WooCommerce is looked after — not on how many stores run it.

90

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 100 days ago.
WordPress compatibility
14 / 20
Tested to WP 6.9.5, 1 branch(es) behind.
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
13 / 15
4.9/5 across 20 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

4.9

20 ratings
5★19
4★0
3★1
2★0
1★0
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Requires: WooCommerce 3.9.4 or newer

Automatically generate a SKU for parent / simple products, variations, or both when the product is published or updated.

IMPORTANT: The SKU field will be disabled for SKUs being generated by the plugin. Your own previously created SKUs will be overridden if you update a product while generating SKUs, and they will change if you change your product slug (while using this to generate them). Be sure you want to complete automate SKUs if you leave this enabled all of the time.

You can also selectively enable and disable the plugin if you don’t want to override existing SKUs when saving products. You can view product documentation for help.

Automated SKUs

SKUs for simple, external, or parent products can be generated from the product’s slug (hyphenated name) or ID. For example, a product with the slug wp-tee-shirt can have a SKU of wp-tee-shirt or 192 (whatever the product’s ID is). This SKU will be generated any time the product is published or updated.

If the product is a variable product, this plugin can also generate SKUs for the product variations if desired (these typically inherit the parent SKU). Variation SKUs can either append attribute slugs or variation IDs for each variation to the parent SKU.

Here are some samples of different SKU formats that can be created with this plugin.

You can also manually set simple / parent SKUs, or manually set the variation SKUs, if you don’t want the plugin to generate them for you.

Features

This plugin provides options to:

  • automatically generate simple / parent product SKUs when the product is published or updated
  • generate simple / parent product SKUs using the product slug or ID
  • automatically generate SKUs for product variations when the product is published or updated
  • generate variation SKUs using the attribute slugs or variation ID
  • use the bulk product update action to easily force SKU generation for more than one product — handy to bulk-generate SKUs for products created before installing this plugin

SKUs for all product types

The Product SKU Generator for WooCommerce lets you determine which SKUs should be generated automatically, and whether these SKUs should use product slugs or IDs. If a SKU is generated, the input for that SKU will be disabled since you cannot adjust it.

If you choose not to generate a SKU, then you can enter your own SKU. For example, if you only generate variation SKUs, then you can enter a parent product SKU. This will be used as the base for your generated variation SKUs, and slugs or IDs will be appended to it.

If you only create parent / simple SKUs, you will be able to manually create your own variation SKUs, as these will not be overridden by saving or updating a product.

Bulk Updating

You can bulk add SKUs to products that you’ve created prior to installing this plugin. If you select the products you want to update, then bulk edit them, all you have to do is hit “Update”. When the products are saved, SKUs will be generated for all products.

This action will also automatically generate the SKUs for product variations if you have them enabled.

More Details

  • See the product page for full details and documentation
  • View more of SkyVerge’s free WooCommerce extensions
  • View all WooCommerce extensions from SkyVerge

Translations

The plugin text domain is: woocommerce-product-sku-generator

Attribute Names

By default, if you have an attribute name with a space (such as “Burnt Marshmallow” for color), the SKU will use this exact formatting. A SKU for this variation would look like: parentSKU-Burnt Marshmallow

If you enable the setting to replace spaces, this will instead look like: parentSKU-Burnt_Marshmallow or parentSKU-Burnt-Marshmallow — depending on which setting you’ve chose. This is helpful if your external fulfillment service does not allow spaces in SKUs.

Attribute Sorting

In very rare cases, you may find that variation SKUs do not sort attributes in the same order. For example, one variation may be tee-shirt-large-black, and another could be tee-shirt-black-medium.

If this occurs, you can force attributes to sort themselves consistently before generating the SKU, which will resolve this problem. You could also consider this for new installations.

Be sure you want to enable this if you have existing SKUs, as variation SKUs that were generated previously could be overridden while updating a product – they’ll be re-generated with the forced attribute order.

To force attribute sorting, add this code snippet where you add your site modifications, such as a custom plugin or theme’s functions.php:

add_filter( 'wc_sku_generator_force_attribute_sorting', '__return_true' );

What happens to my old SKUs?

This plugin generates SKUs any time products are created or updated. Your old SKUs will be overridden if you use it – only leave the plugin enabled if you don’t want to manage SKUs yourself.

You can also selectively disable and re-enable the plugin if you don’t want to override SKUs when saving products.

How do I add SKUs to old products?

Select the products you’d like to generate SKUs for under Products. Go to the bulk actions in the top left and click “Edit”, then apply. All you need to do is hit “Update” to save these products, and SKUs will automatically be added.

Why does whatever I enter for the variation SKU get overridden?

Variation SKUs can be set manually if you’re not generating them. They will be overridden if your settings are set auto-generate them, even if you try to change them manually. Please check your settings here.

If you’d like to change a SKU for a product, disable the plugin, change the SKU, and update the product. You can re-enable the plugin as needed.

I’m using IDs for SKUs. Will they be sequential?

Roughly, yes. Actually, no. The SKUs will increase as you add more products / variations, but these use the post ID from WordPress (similar to your orders). Each SKU will be higher than the last, but they won’t be exactly in order, as other posts (like blog posts, orders or products), also use the same ID counter. Your SKUs will increase, but skip numbers.

Can I use something other than the product slug to generate the SKUs?

Yep! Version 2.0 added the ability to use product slugs or IDs.

For more advanced uses, you can use the wc_sku_generator_sku filter, which passes the parent SKU as the value and the product as a variable, to change what’s used as the parent SKU. You can change the variation SKU using the wc_sku_generator_variation_sku filter.

You must use a unique value for SKUs (WooCommerce checks this). For example, you could generate a unique string or number in a custom snippet to use for the SKU with the help of a developer.

Sometimes attributes for my variation SKUs aren’t in the same order. Can I fix this?

We’ve seen this happen in only one situation, so we have a filter + code snippet rather than a setting for this. Please see the instructions in Other Notes to force the attribute order.

This is handy! Can I contribute?

Yes you can! Join in on our GitHub repository and submit a pull request 🙂

Categories
Catalogue & variations
Plugin details
Version2.5.1
Last updated2026-04-23 12:48pm GMT
Added2014-04-13
Requires WordPress5.6
Tested up to6.9.5
Requires PHP7.4

Tags on WordPress.org
product sku
sku
sku generator
woocommerce
Alternatives
Other plugins in the same categories.
Variation Swatches for WooCommerce
300K+ installs
4.8(919)
Advanced Woo Labels – Product Labels & Badges for WooCommerce
10K+ installs
5.0(64)
Easy Auto SKU Generator for WooCommerce
10K+ installs
4.9(269)
PW WooCommerce Bulk Edit
20K+ installs
4.9(236)
PVT – Product Variation Table for WooCommerce
1K+ installs
5.0(49)
Custom Product Tabs for WooCommerce & WordPress Tabs Builder – Smart Tabs
10K+ installs
4.9(133)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy