Variables are used to attach dynamic data to your packages. You can allow your customers to customize their packages by setting up variables like player name, color, or size.
The variable feature allows you to request custom information from the customer. For example, you can ask which prefix the customer wants for their VIP rank. To do this, configure the {custom_prefix}
variable and add it to the command for execution. We’ll guide you through using variables to set up the {custom_prefix}
option.
To create a new variable, follow the steps below:
Go to the Admin Panel
Navigate to the Admin Panel of your webstore.
Click on Variables Tab
Click on the Variables tab to access the variable management area.
Add New Variable
Press the + Create a Variable button.
Fill in the Fields
Complete the following fields:
Custom Prefix
).custom_prefix
).Input Text
, Input Digit
, or Dropdown
).Save the Variable
Press the Save button to create the new variable.
In case if you want to create a dropdown variable, you also need to add options to the variable. Here’s how you can do it:
Dropdown
variable type.Red
).red
).After creating the variable, you can add it to your package’s command. You just simply need to add the variable identifier to the command.
Here’s an example of how you can use the {custom_prefix}
variable in a package command: