plugin-icon

RDP Auto SKU Generator

作者 rawdogplugins·
Automatically generate unique SKUs for WooCommerce products using category-based prefixes or custom prefixes you define.
版本
1.0.0
最近更新:
May 27, 2026

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
目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。