RDP Auto SKU Generator

RDP Auto SKU Generator

Details
View on WordPress

Auto SKU Generator takes the hassle out of creating SKUs for your WooCommerce products. Instead of manually typing a SKU for every product, this plugin automatically generates structured, unique SKUs based on your product’s category and ID.

How It Works

When you create or save a WooCommerce product without a SKU, Auto SKU Generator automatically assigns one using a consistent format:

[Prefix][Product ID][Suffix]

  • The prefix is derived from the product’s category ID (zero-padded to 3 digits) or a custom prefix you define per category.
  • The product ID portion is zero-padded to fill the remaining SKU length.
  • A trailing digit is appended to ensure uniqueness in case of collisions.

Features

  • Automatic SKU assignment — Products saved without a SKU get one automatically.
  • Two prefix modes — Use the category ID as a prefix, or define your own custom prefix for each category.
  • Configurable SKU length — Set your preferred total SKU length between 8 and 20 characters.
  • Live SKU preview — A suggested SKU appears below the SKU field on the product edit screen, updating in real time as you change categories.
  • Click-to-insert — Click the suggested SKU to instantly populate the SKU field.
  • Collision handling — If a generated SKU already exists, the plugin automatically tries alternative suffixes.
  • Settings page — Configure everything from Products > Auto SKU Generator in your WordPress admin.
  • Clean uninstall — All plugin data is removed when you delete the plugin.

Use Cases

  • Online stores with large product catalogs that need consistent SKU formatting.
  • Shops where multiple team members add products and you want standardized SKUs.
  • Stores migrating from another platform that need to establish a new SKU system.
  • Any WooCommerce store that wants to save time on manual SKU entry.

Requirements

  • WordPress 5.6 or higher
  • WooCommerce 5.0 or higher
  • PHP 7.4 or higher

Details

Plugin code:
rdp-auto-sku-generator
Plugin version:
1.0.0
Outdated:
No
WP version:
5.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0
Total installations:
0
Last updated:
2026-05-27
Rating:
Times rated:
0
generator
inventory
product
sku
woocommerce