inrated Posted March 5, 2010 Share Posted March 5, 2010 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. Thanks All! 0 Quote Link to comment Share on other sites More sharing options...
robb3369 Posted March 6, 2010 Share Posted March 6, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
inrated Posted March 6, 2010 Author Share Posted March 6, 2010 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? 0 Quote Link to comment Share on other sites More sharing options...
robb3369 Posted March 6, 2010 Share Posted March 6, 2010 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.