In order to allow your client to decide whether he wants to order a server with or without the license, we will use Product Addon. In this way, when the client orders an addon, the relation will be triggered and the license product will be ordered along with the module.
The following steps must be performed to prepare such connection:
1.Proceed to Setup → Products/Services → Products Addons and click Add New Addon.
2.Fill addon name, set up billing cycle and price. Then mark Show on Order checkbox, assign addon to the product and click Save Changes.
Fig 3: Configuration of product addon, which will trigger license product adding.
3. Go to Addons → CloudLinux Licenses Addon → Addon Relations and click Add Relation.
4. Select previously created product addon and license product as shown below and click Add Relation.
Fig 4: Creating relation between product addon and provisioning module.