Lagom WHMCS One Step Order Form introduces an advanced tool, which allows to easily manage and customize configuration options for every WHMCS product. You can now set up different product configuration layouts for every WHMCS product.
In the below article you will find information on how to use its functions. Every function will be described based on the exemplary use cases from our demo page (opens new window) in order to better understand all the features.
This page lists product configurable option groups available in the WHMCS system. Learn more how to create a configurable option group by reading WHMCS documentation (opens new window).
Since 1.1.0 version, every configurable option assigned to a specific product will be shown as a new section in the order process.
By clicking the "Edit" button next to a single configurable option group, you will be able to change that behaviour by activating the "Configurable Options Displayed In Single Section" option. When activated, every configurable option in this specific group will be shown under a single section, where configurable options will be shown as sub-sections. See examples:
Once "Configurable Options Dispalyed In Single Section" option is activated, the below settings will be shown.
Set up the "Title" which will be used for your new order section. This field is required.
If needed, enter additional description, so your customers would be able to better understand settings available in this section. This field is optional, you can leave it empty, so no description will be shown.
This option allows you to decide how the above description should be shown in the ordering process.
This page lists all configurable options assigned to specific groups. Learn more how to create configurable fields, by reading WHMCS documentation (opens new window).
By clicking the "Edit" button next to a specific configurable option, you can define how it should be displayed in your order process. The below modal displays different fields, based on selected values in "Option Type" select.
There is no "title" field, because configurable options use names created in the WHMCS configurable option settings. Learn more how to change the option title by reading WHMCS documentation (opens new window).
This option works the same way as the "Description" field in the configurable option group - learn more.
This option works the same way as the "Description Type" field in the configurable option group - learn more.
Option type allows to choose how configurable options will be shown in your order. There are multiple options, however, not all of them will be visible. These options are dependent on the "option type" which you selected in your WHMCS system, learn how to change configurable option in WHMCS documentation (opens new window).
When this option is selected, the order form will not display any 0.00
prices.
Option Management is ONLY available for the below "option types":
This page lists the available suboptions created for specific configurable options. Configuration of these suboptions is available in WHMCS system (opens new window).
Take a look below at an exemplary "suboptions" management page.
Click "Edit" button, to perform further management of specific suboption.
This tab allows to create new groups and assign suboptions. Below you will find an exemplary list of groups for "Server Location" section.
Click the "Edit" button to perform management of a specific group. To create a new group you have to click the "Add Group" button in the top right corner.
Groups will be displayed on the order form as tabs or group boxes, depending on the selected option type.
When "Group Box" option type is selected, groups will be displayed as boxes, where suboptions will be shown as dropdown items:
This section presents and provides further explanation for all available "option types". These types can be assigned to every configurable option.
When "Radio Box" type is selected, all suboptions will be shown as separate "radio boxes". This type can be selected only for the below option types assigned in WHMCS system (opens new window):
In our demo page (opens new window), this option is used to display:
,
sign to the configurable option name - see example.42px
width."Group Box" type requires at least one group to be created. This type can be selected only for the below option types assigned in WHMCS system (opens new window):
In our demo page (opens new window), this option type is used to display:
72px
width.When the "Product Box" option type is selected, it will display configurable options as product boxes. This type can be selected only for the below option types assigned in WHMCS system (opens new window):
In our demo page (opens new window), this option type is used to display:
64px
width.<ul class="package-features"><li><b>1</b> vCPU</li><li><b>10 GB</b> Memory</li><li><b>4 TB</b> Bandwidth</li></ul>
When the "Addon Box" type is selected, new fields will be shown. This type can be selected only for below option types assigned in WHMCS system (opens new window):
In our demo page (opens new window), this option is used to display:
Choose from 4 different types for the graphic container.
This type uses a container with 198px
width, all graphics placed in this container will be shown with maximum width of 198px
:
This type uses container with 64px
width, its been designed to be used with Lagom WHMCS Client Theme (opens new window) icons:
This option is designed to work with illustrations available in Lagom WHMCS Client Theme (opens new window).
This option works the same way as the above type, with the difference that the illustration is smaller.
Currently this option type does not have any management options.
Currently this option type does not have any management options.
In this section we will provide detailed insctruction on how to prepare product configuration, for every product group available in our demo page (opens new window).
Web Hosting product group in our demo page, does not contain any configurable options.
VPS Hosting product group in our demo page, uses multiple option types, described below.
Learn how to create "Server Location" section, similar to the example below.
Learn how to create "Server Image" section, similar to the example below.
Learn how to create "Configure Server" section, similar to the example below.
Save changes and click the "Options" button next to the "VPS - Configure Server (VPS-1)" row.
Click on "Edit" button next to each option, to perform correct configuration, based on the below example.
Learn how to create "Available Addons" section, basing on the below example.
Dedicated Servers product group in our demo page, use multiple option types, described below.
Learn how to create "Server Location" section, similar to the example below.
Learn how to create "Operating System" and "Control Panel" sections similar to the example below:
Configuration of this section is similar to the configuration of "Configure Server" in VPS Hosting product.
Configuration of this section is similar to the configuration of "Configure Server" in VPS Hosting product.
Configuration of this section is similar to the configuration of "Configure Server" in VPS Hosting product.
Vultr Reseller product group in our demo page was designed to present how the Vultr (opens new window) product can be presented in the WHMCS system using our product.
Receive $100 free credits to start reselling Vultr services by clicking this url (opens new window).
Each "Server Type", available in Vultr (opens new window) deploy page, has been created as a separate WHMCS product. Below, there is a screenshot from the Vultr deploy page:
Important: The possibility to assign graphics to the product packages will be introduced in the future product versions.
Products in WHMCS system:
This section uses the same configurable options group as "Server Location" section in the Dedicated Servers product group.
This section use the same configurable options group as "Server Image" section in the VPS Hosting product group.
Learn how to create a "Server Size" section, similar to the below example.
Each product in this group uses its own configurable option group.
<ul class="package-features"><li><b>2</b> vCPU</li><li><b>2 GB</b> Memory</li><li><b>5 TB</b> Bandwidth</li></ul>
This section uses the same configurable options group as "Available Addons" section in VPS Hosting product group.
Reseller Hosting product group in our demo page, does not contain any configurable options.
All fields related to configurable options, including groups and suboptions, and order fields where you can enter a name or description can be translated to any language using the Smarty Langs method. Take a look below to learn how to do that easily.
{$_LANG.ToBeTranslated}
italian.php
and add a new entry at the very bottom: $_LANG['ToBeTranslated'] = "Titolo Tradotto";
. As a reesult, you will receive "Titolo Tradotto" visible in the order form.Important! It is possible to add translations from both the module level and directly in the WHMCS files. If you wish to add translation from the WHMCS level you will have to use a different variable that the one used in case of module translations, i.e.: $_LANG:
WHMCS:
$LANG
- without the "_" sign in the middle
Exemplary entries:
{$LANG.Titolo Tradotto}
$LANG['Titolo Tradotto'] = "Titolo Tradotto";