criat Posted November 12, 2013 Share Posted November 12, 2013 (edited) I would like to skip the "cart.php?a=confdomains" screen when user order a domain So I tried this: includes/hooks/domain-order-redirect.php <?php function onbuydomain_redirect($vars) { $url = "https://mysite.com/cart.php?a=view"; echo '<script type="text/javascript">'; echo 'window.location.href="'.$url.'";'; echo '</script>'; echo '<noscript>'; echo '<meta http-equiv="refresh" content="0;url='.$url.'" />'; echo '</noscript>'; exit; } add_hook("PreDomainRegister",1,"onbuydomain_redirect"); ?> Didn't work >.> People with the same problem, unanswered: http://forum.whmcs.com/showthread.php?15528-If-no-configuration-skip-configuration-page http://forum.whmcs.com/showthread.php?32644-How-to-skip-domain-configuration-before-completed-domain-registration http://forum.whmcs.com/showthread.php?22805-Skip-Product-Configuration http://forum.whmcs.com/showthread.php?76831-Skip-Domain-Configuration Probably a dozen others Edited November 12, 2013 by criat 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.