Location

Overview

You can configure location selection as a customizable option for SolusVM products in WHMCS. This allows customers to choose their preferred geographic location when ordering a virtual server.

  1. Log in to your WHMCS administrator web interface.

  2. Navigate to System Settings > Configurable Options.

    The following image shows the System Settings menu:

    WHMCS System Settings menu with Configurable Options highlighted

  3. Click Create a New Group or select an existing group.

    Note:

    We recommend keeping configurable option group for location selection separated from other groups.

  4. Enter a group name, select the product you created earlier to assign to the group, and then click Save Changes.

    The following image shows the configurable options group creation:

    WHMCS configurable options group creation form

  5. Click Add New Configurable Option. A new browser window opens where you can specify the option settings.

  6. Enter Location in the option name field and select Dropdown as the option type.

  7. In the Add Option field, enter the option value following the pattern: LOCATION_ID|LOCATION_Name, and then click Save Changes. The pattern components are:

    • LOCATION_ID — The ID of a location on the SolusVM management server. To view location IDs, navigate to SolusVM’s Locations interface (SolusVM » Compute Resources » Locations) and locate the IDs of the locations you want to add as a configurable option.
    • LOCATION_Name — The name of the location to display in WHMCS.

    The following image shows location IDs in SolusVM:

    SolusVM Locations interface showing location IDs

    In this example, options are added for Europe (LOCATION_ID 2) and USA (LOCATION_ID 3).

  8. Repeat the previous step for each location you want to offer. Once finished, click Close Window.

    The following image shows the location configuration:

    WHMCS location configurable option showing dropdown values