Jump to content

Remove "I will update my nameservers on an existing domain Or I will register a new "


layz

Recommended Posts

yes sorry, i was referring to the wrong place.

 

either way, it isnt possible. if i choose to untick that option then the client can not type in the desired subdomain he whish to use. and if i tick the option "Require Domain" the "I will update my nameservers etc..." is in the cart again.

 

i have two different products in my system. one for free subdomain and one for free hosting with existing regular domain. in this case i can not get rid of "i will update my nameservers..." on the product that is for subdomains.

Link to comment
Share on other sites

yes sorry, i was referring to the wrong place.

 

either way, it isnt possible. if i choose to untick that option then the client can not type in the desired subdomain he whish to use. and if i tick the option "Require Domain" the "I will update my nameservers etc..." is in the cart again.

 

i have two different products in my system. one for free subdomain and one for free hosting with existing regular domain. in this case i can not get rid of "i will update my nameservers..." on the product that is for subdomains.

 

you could do like (guide only not working code): configureproductdomain.tpl

{if $owndomainenabled AND if product ID = # }

this will show if both are set

{else}

<input type="radio" name="domainoption" value="owndomain" id="selowndomain" onclick="document.getElementById('register').style.display='none';document.getElementById('transfer').style.display='none';document.getElementById('owndomain').style.display='';document.getElementById('subdomain').style.display='none';document.getElementById('incart').style.display='none'" /> <label for="selowndomain">{$LANG.orderdomainoption2}</label><br />
{/if}

{if $subdomains}
<input type="radio" name="domainoption" value="subdomain" id="selsubdomain" onclick="document.getElementById('register').style.display='none';document.getElementById('transfer').style.display='none';document.getElementById('owndomain').style.display='none';document.getElementById('subdomain').style.display='';document.getElementById('incart').style.display='none'" /> <label for="selsubdomain">{$LANG.orderdomainoption4}</label><br />
{/if}

Edited by thehost5968
Link to comment
Share on other sites

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