Hi there,
Thanks for your suggestion. Fields can be hidden from the order form by way of a template customisation to /templates/orderforms/*your child template*/configureproduct.tpl. The key part is to pass a default value.
So this line:


[co]
  • <input type="password" name="rootpw" class="form-control" id="inputRootpw" value="{$server.rootpw}">
  • [/co]
    Becomes:


    [co]
  • <input type="hidden" name="rootpw" class="form-control" id="inputRootpw" value="NA">
  • [/co]


    -


    For nameservers:


    [co]
  • <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="{$server.ns1prefix}" placeholder="ns1">
  • [/co]
    Becomes:


    [co]
  • <input type="hidden" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1">
  • [/co]