Warning: Invalid argument supplied for foreach() in /home/customer/www/licenseserver.io/public_html/wp-content/plugins/woo-mailerlite/includes/shared/api/class.woo-mailerlite-rewrite-api.php on line 83
Software Product Creation - Software License Server for WooCommerce

Software Product Creation

Once all settings have been reviewed or changed, products must be added and the proper attributes are specified to start selling the products as software.

You can add plugins and themes to the License Server by first creating WooCommerce Products and then choosing the option to mark the product as Software and then add the proper software attributes. To do this, Go to your WordPress dashboard and click on ‘Products > Add New’ to create a new product. On the ‘Add new product’ page that will open up, type in the product details as you would for any WooCommerce product as follows:

Product Basic Details

1. Product title – This is the name of the product and it will be visible in your store listing

2. Product slug – This is the product slug, it is used in a single product URL and also used by the License Client to check for the software’s public information.

2. Description / Product Short Description – Describe the product. The description will also be visible on your product page.

Please refer to the screenshot below for a sample setup.

Software Downloads

Under the ‘Product data’ section choose the type of product this is, choose ‘Simple product’ if you will define one price for the software, or choose ‘Variable product’ if you wish to offer multiple pricing options for the product.

Like in the screenshot below, check the ‘Downloadable’ checkbox to reveal the Downloadable files section under the General tab where you add the file that will be downloaded as the update file as follows:

  1. Click the ‘Choose file’ button to open the Media Selector where you can select an already uploaded file from your library or choose to upload from your computer, laternatively, paste a file URL in the ‘File URL’ field.
  2. Specify the file’s name in the Name column
  3. Click ‘Add File’ to add fields for another file and repeat step 1 and 2 above for all the downloadable files you wish to add.
  4. Choose the license type in the drop down menu labelled ‘Software License Type’ – If you wish to have other types, you can update this list fron the ‘WooCommerce > Settings > License Server > General’ page.
Product Dowmloadable Files

Download limit – If you want to limit the number of times the customer can download the files, specify the number in the ‘Download limit’ field. Please note that this will also limit updates, so if they reach the download limit and try to update the plugin/theme on their website, this limit will be in effect and the update will fail.

Download expiry – The download expiry limits the number of days the generated download link will be valid for.

Software License Type – Choose the license type for this product.

License Details

To specify the License details, first, check the ‘Software License’ checkbox to specify that this product is software. This will reveal a new tab titled ‘License’ for you to add the software and licensing details.

Click on the ‘License’ tab to start filling in the software details like in the screenshots below for reference

Produc License Panel

Some of the fields are optional and some are required, but we recommend you fill all the fields to have full control of how the licenses are served. Please refer to the table below for the description of the fields and to see which ones are required and which ones are optional.

Table 1: Software attribute description:

Field LabelRequiredDescription
Software TyperequiredThe type of software product this is. Available options are WordPress Plugin, WordPress Theme, or Other, defaults to WordPress Plugin.
Allow StagingoptionalWhere licenses associated with this product will be allowed activation on staging sites or not. Yes, or No, defaults to Yes.
Software SlugrequiredThe slug of the software. must be unique and similar to the slug generated from the product title.
Software VersionrequiredThe current version of the software. Updates will be checked against this version and must be changed each time an updated version of the software is uploaded.
Software AuthorrequiredThe name of the person or entity that developed the software.
Requires WP VersionrequiredThe minimum version of WordPress is required for the plugin/theme to function properly.
Compatible up torequiredThe maximum version of WordPress this plugin/theme is compatible with.
Last UpdatedrequiredThe date on which the plugin/theme was last updated.
Activation LimitrequiredThe number of times this plugin/theme can be activated on a live site.
Staging Activation LimitoptionalThe number of times this plugin/theme can be activated on a staging site.
Documentation LinkoptionalA link to the plugin/theme’s documentation
DescriptionoptionalThe description of the plugin/theme. This description will be returned in API requests for view on sites using this plugin/theme.
ChangelogrequiredThe software changelog. Show what has changed in each version of the plugin/theme
InstallationrequiredInstructions on how to install the plugin/theme
Banner HighoptionalHigh-resolution banner image for the plugin/theme.
Banner LowoptionalLow-Resolution banner image for the plugin/theme
Update FilerequiredThe downloadable zip file that will be served as the update for this software. See the section below for more details about this field.

More about Software update file

The update file is a required file that will be served as a downloadable update file for the software. A valid zip file must be provided by choosing a file from the WordPress media library or by pasting/typing the file’s URL and name in the corresponding fields. In order to specify the software update file for a product, you must be on the product edit screen, on the License panel, then do the following:

  1. Scroll to the bottom of the License panel section, and click the ‘Choose file’ button to open the media library
  2. On the popup titled ‘Media Library’ do one of the following:
    • If file is already uploaded: Click the ‘Media Library’ tab if you already have the file uploaded, click the file to choose it from the list and move to step 3 below
    • f the file is not yet uploaded: Click on the ‘Upload files’ tab, then click ‘Select files’, browse and locate the file in your computer’s file explorer to open and and upload the file to the Media Library, once the upload finished, make sure the file is selected the follow step 3 below
  3. Once you have located the file in the library, make sure it is selected and then click the ‘Select’ button at the bottom of the popup. This will insert the file URL and name in the corresponding fields for the update file. You may edit the file name if required
  4. Click on ‘Update’ or ‘Publish’ to save the product

Saving the product will add the selected file to the Downloadable files section under the Product’s General tab. This is required since this download will also be served by WooCommerce and will also be available on the customer’s downloads page if they wish to download it manually.

Provide updates for the software

To mark that a new version is available for the product, you have to edit the product and specify a new version that is higher than the current version, then specify a new update file with a URL that is different from the current update file. If the update file URL is the same as the previous one, the current file will continue to be served until a different update file URL is provided. The new update file will also be added to the Downloadable files section in the General tab.

Always save the product after updating the details to ensure the newly updated information is served to the customer.

Was this article helpful?

Related Articles

Scroll to Top