Automatic Serial Number Generation

The automatic serial number/license key generation is a brilliant feature of WooCommerce Serial Numbers. In order to automatically generate license numbers, you have to add generator rules first. Adding generator rules are fairly simple and it has lots of similarities with manual license key generation. Let’s walk you through with all the steps associated with the license generator rules.

Generator Rules option in the menu
Generator Rules option in the menu

The automatic license generation is a premium feature so you need to have the pro version installed and active to enjoy this feature.

Adding new generator rule
Adding new generator rule
Clicking on the Add Generator Rule will lead you to the following interface:
Add Generator rule from this interface
Add Generator rule from this interface

First of all, you have to select the product to get started. All the products will be available in the drop-down including the variation products. The second option is to provide a pattern to generate serial numbers. There you can add something like Serial-###### the #’s will get replaced with sequential or random numbers. You also have the option to add the year, month and date with your generation rule by adding {Y}, {m} and {d}. The third option is to select the type. Here you have to select either “Random” or “Sequential” order for the rule. The sequential order will replace the # with sequential numbers and the random order will replace the # with random numbers and characters. The first three fields are mandatory.

Mandatory fields of Generation rule
Mandatory fields of Generation rule

Next comes the “Activation Limit”. Though this field is mostly applicable for software and game licenses. If you want to restrict the activation to a single user then enter 1 here. Likewise to allow multiple activations you can enter any number. We recommend to leave it blank if the product is not any software or game. Then comes the “Validity”. This field takes days as input so if in case you want your serial numbers/license keys to be valid for one year then you have to enter 365 days. You should note that the count of days will start from the purchase date. Finally, you have the “Expire date”. You have to select a date from the pop-up calendar section. License keys of your store will expire after the “Expire Date” is crossed and they will not be assigned with the designated product.

Validity and other options of WooCommerce Serial Numbers
Validity and other options of WooCommerce Serial Numbers
Add license keys directly from the products menu with WooCommmerce Serial Numbers:
Add license from the edit product page
Add license from the edit product page

WooCommerce Serial Numbers allows you to directly add license keys while adding a new product or during editing a product. You will find a new option called “Serial Number” in the single product tab menu. First, you have to check the option to expand the menu and add serial numbers/license keys. Upon checking the option you will find the new options to create or assign existing serial numbers with that product. First of all, as a premium user, you will find both manual generation and automatic generation options right there at the product page. Select “Auto-generate serial number” from the drop-down menu and find the options to auto-generate and assign serial numbers. This is one of the awesome features of WooCommerce Serial Numbers. This WooCommerce license generator tool will take care of the whole process behind the scene once you opt in the “Auto-generated serial number”.

Select “Auto-generated serial number” from the following drop down:
Two different options to add license keys
Two different options to add license keys

You should be familiar with the options here. Some confusions may arise as there is no option to select the “Type”. Here the license key will be generated randomly. Each time an order is placed WooCommerce Serial Numbers will automatically generate one serial number/license key for that product and assign it with the product.

Automatic serial key generation right in the edit product section
Automatic serial key generation right in the edit product section

In the “License key prefix” enter a prefix best suited for you. By default, there will not be any prefix. Next, you will find the optional fields “Activation limit”, “Validity” and “Software Version”. The first two options should be familiar as we have already discussed them above. The final option is the “Software Version” and this is also optional. You can enter any number to here to reflect the version of your product.

The notification section may warn you that you do not have any serial number for this particular product but you can ignore this notification. Whenever an order is placed our license key manager plugin will take create one key and assign it with the order. We have covered everything but still if you have some sort of confusion feel free to open a support ticket or contact with our live support team.

Random license number auto generated and delivered by WooCommerce Serial Numbers
Random license number auto generated and delivered by WooCommerce Serial Numbers
Was this article helpful to you? Yes 2 No 1