Jump to content

Configure Server on order form


webRulon

Recommended Posts

  • 3 months later...
  • 1 month later...

the same me please anybody help , How to remove :

configure server of the order form to display these fields:

 

Hostname

Operating System

IP Addresses

Root Password

 

 

I Just set up free script and going to buy , I do not see how remove these fields in Configurable Options

 

Please advise

Regards

Link to comment
Share on other sites

the same me please anybody help , How to remove :

configure server of the order form to display these fields:

 

Hostname

Operating System

IP Addresses

Root Password

 

 

I Just set up free script and going to buy , I do not see how remove these fields in Configurable Options

 

Please advise

Regards

 

i will tell you how to remove the Hostname, Root Password field but tell me which order form you are using ? is it the regular order form or Ajax order form ?

 

 

, but the following field are not exist as a default configuration, you can remove them from configurable option:

Operating System

IP Addresses

Link to comment
Share on other sites

This is regular order form I just testing script :

 

Configuration server after press button order, but before checkout

These fields:

 

Hostname:

NS1 Prefix:

NS2 Prefix:

Root Password:

 

Thank you,

Regards

 

Ok, now you will open your cart template files, you can find it here( whmcspath/templates/orderforms/cart)

open this file:

configureproduct.tpl

search for :

<input type="text" name="hostname" size="15" value="{$server.hostname}" />

<input type="text" name="ns1prefix" size="10" value="{$server.ns1prefix}" />

<input type="text" name="ns2prefix" size="10" value="{$server.ns2prefix}" />

<input type="password" name="rootpw" size="20" value="{$server.rootpw}" />

 

remove it and add this Instead of:

<input type="hidden" value="NA" value="NA" name="hostname" size="15" />

<input type="hidden" value="NA" name="ns1prefix" size="10" />

<input type="hidden" value="NA" name="ns2prefix" size="10" />

<input type="hidden" value="NA" name="rootpw" size="20" />

 

The End !

^__^

Link to comment
Share on other sites

  • 12 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated