spartanza Posted December 12, 2018 Share Posted December 12, 2018 Hi there. I am using virtualizor module in order to have VPS products and services that automatically are deployed. The issue that I am experiencing now is that during the shopping cart ordering process, there are fields that require name servers, name server 1 and name server 2, however, these fields are not required fro VPS. I have managed, with the help of my template developer, to hide the name server name fields, however, I am experiencing an issue where the ordering process is still looking for the name servers, and displays the following error during the process: Quote Please correct the following errors before continuing: orderErrorServerNameserversInvalid As you can see from above, and the attached image, the system is still looking for the nameserver fields before continuing. Question: How can I disable that check altogether? Thank you in advanced. 0 Quote Link to comment Share on other sites More sharing options...
spartanza Posted December 12, 2018 Author Share Posted December 12, 2018 I have solved the issue by changing the following code in the order template files from: <div class="row hidden"> <div class="col-sm-6"> <div class="form-group"> <label for="inputNs1prefix">{$LANG.serverns1prefix}</label> <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="N/A" placeholder="ns1"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label for="inputNs2prefix">{$LANG.serverns2prefix}</label> <input type="text" name="ns2prefix" class="form-control" id="inputNs2prefix" value="N/A" placeholder="ns2"> </div> </div> </div> to <div class="col-sm-6"> <div class="form-group"> <label for="inputNs1prefix">{$LANG.serverns1prefix}</label> <input type="text" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1" placeholder="ns1"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label for="inputNs2prefix">{$LANG.serverns2prefix}</label> <input type="text" name="ns2prefix" class="form-control" id="inputNs2prefix" value="ns2" placeholder="ns2"> </div> </div> I changed the "value" from N/A to ns1 and ns2 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.