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
Package Object
name
string
The name of the package.
customPrice
boolean
If the package requires the customer to enter how much they want to pay for the package.
category
string
The category ID of the package.
price
string
The price of the package.
Variable Object
description
string
A summary of the description of the variable.
type
string
Either dropdown
, discord_id
, or show an input field for freehand input by the customer.
id
string
The ID of the variable.
options
array[Variable Option]
If the type is dropdown
, we include an array of options the customer should select from.
value
string
The current value of the variable.
discord_tag
string
If the variable is type is discord_id
and the value
is not empty, this will include their discord tag once they have logged in.
Variable Option Object
default
boolean
If this variable option should be selected by default.
name
string
The name of the dropdown option.
price
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