Super Admin's Panel

Product Addons on FHBRS – Explained

Introduction:

Addons on FHBRS are specific configurations needed for a particular product to function and create correctly if such product needs to be automatically created.  Addons are pre-configured per product though several products could have the same Addon.

If your product does not need to be automatically created after order, then you don’t need to worry about setting Addons. What to set depends on the structure of the API. But we would go ahead to further explain how it works.

 

Illustration:

Using A Hosting Business As A Case Study:

Let’s assume we have created 10 shared hosting products; these different products would have different privileges. Let’s call the products Shared1 to shared10.

If shared 1 has 50GB disk space then shared 2 should have something like 60GB or 100GB disk space as we want it set.

So, the addon will specify these settings for each product so that when a particular shared hosting has been paid for, the correct addons which would already be attached to it, would make it possible for the API to call the correct settings based on the product paid for.

 

Usage:

On the Addon Tab, there are different usage examples based on the product and API structure. The illustration we shall be using here is for a Hosting business creating a CPANEL account from the WHM/CPANEL API.

But, generally the Addon creation process is the same. You have some fields which we would explain below.

 

Name: Call it whatever name you can remember when attaching it to the Product. In our case we would use a name we can remember because it shall create a Package in our WHM (using shared hosting as example)

Col1 – Val1 to Col40 – Val40: ‘Col’ which means column is the name of the variable while ‘Val’ as Value is the value itself.  Example, if the API we are connecting to says, send a variable called account limit and enter the value. Here, our col1 will be account limit while the value will be what the value for account limit is example 100.

All the col name and values set for the Addons will then be used when creating the product via the Module integration.

Related Articles