Jump to content
EStarr

Only Register Domain if Hosting

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Will this help if I have the domain checker on a main page?

 

I'd like for them to check their domain on my main pages, then continue on to pick a package.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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