Creating a product with PIN codes is similar to creating an ordinary product, as described here. The difference is that you must disable shipping for this product and generate PIN codes using the PIN Codes tab of the product details.
Creating PIN Codes
To add an automatic PIN code product:
For the sake of example, we will use a product "License PIN" that will be our PIN code product.
On the Info tab of the product details page, locate the Shipping section and disable shipping for the product.
Set the "Requires shipping" toggle to NO and click the "Update product" button.
Switch to the PIN Codes tab and turn on the "PIN codes enabled" toggle. It will let you add PIN codes for the product.
Now, you can add PIN codes for the product either manually or automatically. Select one of the following options:
Automatically: With this option enabled, your online store will generate a PIN code on demand for each product buyer. The PIN itself will be a 16-digit numeric code.
Click "Save changes" to proceed to the PIN code generation.
Setting Manual PIN Codes Values
To specify PIN codes manually:
In the PIN Codes tab of the product details page, click the "Add pin codes" button.
In the popup that appears, add the PIN codes' values.
You should enter one new PIN code per line. PIN codes max length is 64 characters.
Click Save. The PIN codes will be added to the list.
Importing PIN Codes
X-Cart does not allow creating new products with PIN codes via import. However, you can import PIN code values to existing products if necessary.
To import PIN codes:
Prepare a CSV file to import PIN codes. It should be a simple file with the PIN values like this:
In the Admin's area product list (Catalog -> Products), locate a product with PIN codes and proceed to the PIN Codes tab of the product details page. Then, click "Import from CSV file."
In the popup that appears, choose the CSV file for import.
Click Upload. The PIN code values from the file will be added to the product's PIN list.