Automatically generate WooCommerce product SKUs from the product / attribute slugs and/or IDs.
Requires: WooCommerce 2.3 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.
SKUs for simple, external, or parent products can be generated from the product's slug (name) or ID. For example, a product with the slug
wp-tee-shirt can have a SKU of
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.
This plugin provides options to:
The WooCommerce Product SKU generator 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.
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.
Requires: 4.0 or higher
Compatible up to: 4.5.3
Last Updated: 3 months ago
Active Installs: 4,000+
1 of 3 support threads in the last two months have been marked resolved.
Got something to say? Need help?