mesabos Posted April 21, 2010 Share Posted April 21, 2010 Hi, How i could restrict domains order only with hosting. I tick, in general setting, options to allow register and renew domains. But if someone, use only cart.php, he can order a domain. I dont want to sell domains only. Thanks for help. Regards, 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted April 21, 2010 WHMCS Support Manager Share Posted April 21, 2010 You can edit /templates/orderforms/*your active template*/products.tpl and remove the following code: {if $registerdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a> |{/if} {if $transferdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=transfer">{$LANG.transferdomain}</a> |{/if} 0 Quote Link to comment Share on other sites More sharing options...
mesabos Posted April 21, 2010 Author Share Posted April 21, 2010 You can edit /templates/orderforms/*your active template*/products.tpl and remove the following code: {if $registerdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=register">{$LANG.registerdomain}</a> |{/if} {if $transferdomainenabled}<a href="{$smarty.server.PHP_SELF}?a=add&domain=transfer">{$LANG.transferdomain}</a> |{/if} [/quote Thanks john. 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.