Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note

With this function you can not only determine the node for a location configurable option, but you can also use it to design your own algorithm to override the default host system.
For example, to deploy SSD products on other host systems than the HDD products, or to create some products on 10 Gbit nodes.
However, the option group "NOCLocationGroup" must always be present to execute the function.


If you want to offer multiple locations for VPS via Configurable Options - or you have your own algorithm for determining the VPS host system - you can override the selected node in the product configuration.
This function must 

To do this, create a Configurable Option named "NOCLocationGroup" and define in the options the options that the customer can select. In this example we setup a selection of countries.

...