Developer Center

Product / Service

Product/Service Default Parameters

In the following parameters "/" slash character is used to determine the array data under an array data.

Name Type Description
type string Product / Service Type
(domain, hosting, server, software, special, sms)
type_id int Product / Service Special Group ID Number
If the product type is "special," it includes the identity number belonging to the created special product group.
id int Product / Service ID number
title string Product / Service Name
name string Product / Service Name (Valid only for domain name extensions)
options array It is the string where configuration options belonging to Product / Service are included.
optionsl array It is the string where configuration options related to language belonging to Product / Service is included.
module string Name of the module defined to the Product / Service
module_data array Configuration options of module defined to Product / Service
category int ID number of the Product / Service category
category_title string Name of the Product / Service category
category_route string URL link of Product / Service category
price array It is pricing string of Product / Service
The field specified with below "/*/" character includes a random number and “register, renewal, transfer” value for domain name extensions.
price/*/id int It includes ID number related to Database Field (prices.id)
price/*/period string Price Period Type
(day, week, month, year)
price/*/time int Price Period Duration
price/*/amount float Price amount information
price/*/cid int ID number related to Database field (currencies.id)
price/*/discount string Includes discount rate
In addition to the above values, values in the database which belong to the relevant product are included.

Category Default Parameters

Name Type Description
data array  
languages array  

Server Default Parameters

Name Type Description
id int Server ID number
name string Hostname information or name of the server
username string Server User Name
password
string
Server Password
access_hash
string
Access Key of Server
secure
boolean
If SSL is active in the server configuration returns as true, otherwise as false.
port
int
PORT information of the server

Sample Usage

Hook::add("ProductCreated",1,function($params=[]){
    // Write the code here...
});

ProductCategoryCreated

Called after a product / service category is created.

Return

Not supported

ProductCategoryModified

Called after a product / service category is updated.

Return

Not supported

ProductCategoryDeleted

Called after a product / service category is deleted.

Return

Not supported

ProductCreated

Called after a product / service is created.

Return

Not supported

ProductModified

Called after a product / service is updated.

Return

Not supported

ProductDeleted

Called after a product / service is deleted.

Return

Not supported

ProductServerCreated

Called after a product / service server is created.

Return

Not supported

ProductServerModified

Called after a product / service server is updated.

Return

Not supported

ProductServerDeleted

Called after a product / service server is deleted.

Return

Not supported

Invoice Ticket

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top