options.html
The options.html page is shown to the customer when adding a package that requires customisation, such as when you are using variables.
Root Object
Variables | Type | Description |
---|---|---|
| An object containing information about the current package. | |
| array[Variable] | An array containing the variables the customer needs to select. |
Package Object
Variable | Type | Description |
---|---|---|
| string | The name of the package. |
| boolean | If the package requires the customer to select a game server. |
| boolean | If the package requires the customer to enter how much they want to pay for the package. |
| string | The category ID of the package. |
| string | The price of the package. |
Variable Object
Variable | Type | Description |
---|---|---|
| string | A summary of the description of the variable. |
| string | Either |
| string | The ID of the variable. |
| array[Variable Option] | If the type is |
| string | The current value of the variable. |
| string | If the variable is type is |
Variable Option Object
Variable | Type | Description |
---|---|---|
| boolean | If this variable option should be selected by default. |
| string | The name of the dropdown option. |
| string | The additional price the customer would pay by selecting this variable option. |
Request Variable
If you'd like access to a variable that is not currently available, please let us know.
Last updated