Lucas Posted October 15, 2007 Share Posted October 15, 2007 Is there a way to do this without getting into the template files? I would like to remove any kind of domain options you can see while on the order process. Such as in: secure.speedy5.com/order.php "Order Domain Registration Only" Choose a Package > "Domain Options" > Configure > Confirm Order > Checkout Thank you! 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 15, 2007 WHMCS CEO Share Posted October 15, 2007 You can only do that from the templates. Matt 0 Quote Link to comment Share on other sites More sharing options...
keefe007 Posted December 6, 2007 Share Posted December 6, 2007 It would be nice if this would be easier to do. 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted December 6, 2007 Share Posted December 6, 2007 Its actually quite simple to edit the templates. Just make 100% certain you make a backup of the WORKING one, BEFORE you edit it. Once you make the required change(s) in the template(s) you really don't need to touch them again. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
keefe007 Posted December 21, 2007 Share Posted December 21, 2007 Does anyone have a guide on what all needs to be removed? 0 Quote Link to comment Share on other sites More sharing options...
darkaz Posted January 16, 2008 Share Posted January 16, 2008 I've just been figuring this myself - really depends on how much you want to skip e.g. in domainchecker.tpl replace the line <form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}order.php?order=domains"> with: <form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}order.php?step=2&domainonly=true"> this will skip the next screen where you choose packages as far as skipping more of these options - I'm sure more can be done but is not quite so simple... take a look at the code (templates) and work through the process to see what is required for each step hope this is of some help John 0 Quote Link to comment Share on other sites More sharing options...
darkaz Posted January 16, 2008 Share Posted January 16, 2008 scrap that - it jumps screens but doesn't function correctly... my bad 0 Quote Link to comment Share on other sites More sharing options...
darkaz Posted January 16, 2008 Share Posted January 16, 2008 Have figured out a bit of a workaround, Matt if you have a better way to do it please advise. In domainchecker.tpl change the line mentioned above to <form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}patchstep2.php"> Then create a new php file named patchstep2.php in the root directory and put the following: <? @session_start(); $_SESSION['frm_domaintype'] = 'register'; $_SESSION['frm_domainsearch'] = $_POST['domainsearch']; $_SESSION['frm_domains'] = array(); foreach ($_POST['domains'] AS $Domain) { $_SESSION['frm_domains'][] = array('domain'=>$Domain); } $_SESSION['frm_fromdomainchecker'] = 1; header("location: order.php?step=2&domainonly=true"); ?> Not particularly the best method, but it seems to work. You may also want to edit the order templates to remove the link to package options. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted January 16, 2008 WHMCS Developer Share Posted January 16, 2008 in each product you configure, on the details tab, there is a tickbox that is automatically ticked to show domain options... just untick it? 0 Quote Link to comment Share on other sites More sharing options...
darkaz Posted January 23, 2008 Share Posted January 23, 2008 This skips the Choose a Package option, rather than the Domain Options 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.