Jump to content

Only Register Domain if Hosting


EStarr

Recommended Posts

Hi again,

 

I'm having trouble finding the option to disable domain registrations without buying hosting. My customers are getting confused, thinking that they bought hosting with their domain.

 

I don't want to offer domain registrations without hosting purchase.

Link to comment
Share on other sites

O.K. figured a way out to do this.

 

You will have to edit the "products.tpl" file in the folder of the shopping cart template that you are using i.e. whmcs-folder/templates/orderforms/singlepage/product.tpl (in my case) and remove the code

 

"{if $registerdomainenabled}<input type="radio" onclick="window.location='{$smarty.server.PHP_SELF}?a=add&domain=register'" /> {$LANG.registerdomain}{/if}

{if $transferdomainenabled}<input type="radio" onclick="window.location='{$smarty.server.PHP_SELF}?a=add&domain=transfer'" /> {$LANG.transferdomain}{/if}"

 

The options to register just a domain name will then not be available any more.

 

Hope this helps until someone comes up with something better.

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