If you want to skip adding keys manually, WC Serial Numbers lets you create and assign keys automatically. Hereโs how to set it up:
Configure the Product
- Go to the product Edit page.
- Open the Serial Numbers tab in the Product Data section.
- Check Sell Keys to enable key management for the product.
- Set the Delivery Quantity to define how many keys will be sent with each order.
- In Key Source, select Auto Generated Key.

Configure the Key
Once you select Auto Generated Key, the following configuration fields will appear.
Setting | Description | Example |
Key Prefix | Add a prefix to each generated key | AUTO |
Activation Limit | Number of times the key can be used | 1 |
Validity | Number of days the key remains active | 365 |
Version | (Optional) Software version to bind the key | 1.0.0 |
Update the product once these fields are configured.
How It Works After Purchase
- A unique key is generated automatically when the order is placed. Each key is a random alphanumeric string that includes the specified prefix.
- The key is linked to the order once payment is complete.
- Customers can view the key on the order confirmation page.
Want more control over the format? Use the Generator Rule instead.