DeathHour Posted March 24, 2013 Share Posted March 24, 2013 How do i disable the choose a domain on the homepage and how do i disable the categories for buying: "register a domain" "transfer a domain" when i click on the order form. Help would be greatly appreciated. 0 Quote Link to comment Share on other sites More sharing options...
Nibum Posted March 25, 2013 Share Posted March 25, 2013 1. In the template edit homepage.tpl. 2. In the Administrator Settings "Setup / Products-Services" disable «Require Domain» 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted March 25, 2013 Share Posted March 25, 2013 To hide a product group: go to your product list, when there you can edit the group they are in. inside that there is an option to hide the group. To remove the option on all your productsL you need edit each product manually and deselect the option for showing the domain registration option. To remove the domain registration form from the homepage: Open up the homepage.tpl file and around the specific form ass in the smarty comment tags. {* <form </form> *} You will note im not saying to take the form away entirely just comment it out. the reason for this, if you later come to want to sell domain names then you just need to uncomment it and your instantly in business. 0 Quote Link to comment Share on other sites More sharing options...
Aeterno Posted May 28, 2020 Share Posted May 28, 2020 For WHMCS V7.10 it would be under header.tpl for search domain. {if $registerdomainenabled || $transferdomainenabled} <h2>{$LANG.homebegin}</h2> <form method="post" action="domainchecker.php" id="frmDomainHomepage"> <input type="hidden" name="transfer" /> <div class="row"> <div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1"> <div class="input-group input-group-lg"> <input type="text" class="form-control" name="domain" placeholder="{$LANG.exampledomain}" autocapitalize="none" data-toggle="tooltip" data-placement="left" data-trigger="manual" title="{lang key='orderForm.required'}" /> <span class="input-group-btn"> {if $registerdomainenabled} <input type="submit" class="btn search{$captcha->getButtonClass($captchaForm)}" value="{$LANG.search}" /> {/if} {if $transferdomainenabled} <input type="submit" id="btnTransfer" class="btn transfer{$captcha->getButtonClass($captchaForm)}" value="{$LANG.domainstransfer}" /> {/if} </span> </div> </div> </div> {include file="$template/includes/captcha.tpl"} </form> {else} <h2>{$LANG.doToday}</h2> {/if} </div> </section> <div class="home-shortcuts"> <div class="container"> <div class="row"> <div class="col-md-4 hidden-sm hidden-xs text-center"> <p class="lead"> {$LANG.howcanwehelp} </p> </div> <div class="col-sm-12 col-md-8"> <ul> {if $registerdomainenabled || $transferdomainenabled} <li> <a id="btnBuyADomain" href="domainchecker.php"> <i class="fas fa-globe"></i> <p> {$LANG.buyadomain} <span>»</span> </p> </a> </li> {/if} <li> <a id="btnOrderHosting" href="cart.php"> <i class="far fa-hdd"></i> <p> {$LANG.orderhosting} <span>»</span> </p> </a> </li> <li> <a id="btnMakePayment" href="clientarea.php"> <i class="fas fa-credit-card"></i> <p> {$LANG.makepayment} <span>»</span> </p> </a> </li> <li> <a id="btnGetSupport" href="submitticket.php"> <i class="far fa-envelope"></i> <p> {$LANG.getsupport} <span>»</span> </p> </a> </li> </ul> </div> </div> </div> </div> {/if} On 3/25/2013 at 5:53 PM, CDJ Hosting said: To hide a product group: go to your product list, when there you can edit the group they are in. inside that there is an option to hide the group. To remove the option on all your productsL you need edit each product manually and deselect the option for showing the domain registration option. To remove the domain registration form from the homepage: Open up the homepage.tpl file and around the specific form ass in the smarty comment tags. {* <form </form> *} You will note im not saying to take the form away entirely just comment it out. the reason for this, if you later come to want to sell domain names then you just need to uncomment it and your instantly in business. 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.