Using Configurable options to override product setting

That Allows Overriding the Product module setting by using PreDefined configurable options, every VM can be fully Customized separately either by Clients when ordering the product from order page , or from Admin Area .

changing the Configoptions values from Admin Area will affect only this vm , so you can customize vm specs and setting as needed without changing the default product setting that affect all users .

you can disable overriding ConfigOption values from the product module setting 'Override product setting' option.


Allowed Configoptions Variables:

  • 'IPv4 Count'
  • 'IPv6 Count'
  • 'Extra IPs' for backward compatibility only (will add the IPs to the max of ipv4, ipv6)
  • 'Bandwidth'
  • 'Virtual CPUs'
  • 'Disk Size'
  • 'Memory Size'
  • 'Server' specify which server/pool the vm will be created in
  • 'Max Snaps'

and off curse the 'Operating System' configoption which is necessary ant not affected by the 'Override product setting' option.


how to use configurable options to override product setting :

  • create Configurable Option Group and assign it to the product
  • add Configurable Options items with the Exact variable names (above)

  • set the configoption item parameters :

  • remember that you can use the pipe '|' to separate the value from the description
  • you can use also the 'Default' value , that mean Xenica will take the default value as set in the product module setting (will not overwrite the default setting for this item)
  • Admin area will be like this :

you can change values for each vm sperately (press 'save changes' button after)

  • the client order page will be like this

clients can specify their custom specs , and whmcs will automatically add costs as configured

  • configoptions.txt
  • Last modified: 2020/02/24 13:55
  • by orwah