Auto Generated Key

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.
Auto Generated Key Settings

Configure the Key

Once you select Auto Generated Key, the following configuration fields will appear.

SettingDescriptionExample
Key PrefixAdd a prefix to each generated keyAUTO
Activation LimitNumber of times the key can be used1
ValidityNumber of days the key remains active365
Version(Optional) Software version to bind the key1.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.