Jump to content

Please help. Cannot remove domain checker "More Info"


inrated

Recommended Posts

Hi Everyone,

 

New here and was wondering or if someone can guide me to remove the "More Info" displayed after a domain is checked for availability?

 

I am offering free domain name for the life of client, so I dont understand why the "More Info" would show the year and pricing in the drop down. Anyone?

 

See attachment below.choose-domain.jpg

 

 

 

Thanks All!

Link to comment
Share on other sites

Those fields are in the "configureproductdomain.tpl" file of your selected cart template.

 

To show the domain as free... change the following lines from:

{$period} {$LANG.orderyears} @ {$regoption.$domainoption}

to:

{$period} {$LANG.orderyears} @ {$LANG.orderfree}

 

Or to completely hide the column (you can't remove it since the cart needs to know how many years the renewal is for)... change it to a hidden field and force only a single year:

<select name="domainsregperiod[{$result.domain}]">
 {foreach key=period item=regoption from=$result.regoptions}
 {if $regoption.$domainoption}<option value="{$period}">
   {$period} {$LANG.orderyears} @ {$regoption.$domainoption}
 </option>{/if}
 {/foreach}
</select>

to:

<input type="hidden" name="domainsregperiod[{$result.domain}]" value="1">

 

I threw this together without testing but as always, make a backup first and then try it yourself.

Link to comment
Share on other sites

Thank-You Rob! Either or, will work just fine.

 

Greatly appreciate your response and fix!

 

Quick Question: Doing one of the mods you mention, how long does whmcs really register the domain for?

In my pricing options i had only entered $1.00 for new and renewals only, per year.

 

With the mods you mention above which one will take precendence over?

Link to comment
Share on other sites

I would set your domain pricing to what someone off the street whould pay for a domain, without hosting. While you are giving away the domain registration and/or renewal with paid hosting, there still is an associated cost that you have to pay...

 

The second tweak (which removes the multi-year dropdown) sets the domain registration to only 1 year... Refer to the WHMCS docs for info on offering a free domain name with a package:

http://wiki.whmcs.com/Domains_Management#Offering_Free_Domain_Registration_with_Selected_Packages

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