PlugAndHost Posted May 24, 2008 Share Posted May 24, 2008 Hi all, I found the following script earlier and it's something that i've been been interested in for some time: http://forum.whmcs.com/showthread.php?t=5364 Unfortunately, this script requires checkout.php and from another thread i've recently read, it seems you have taken the checkout script out and replaced it with action hooks and the likes. I was wondering how do i go about doing this using action hooks, i have already attempted throwing the script into actionhooks.php under the "function actionhook_ShoppingCartCheckout($vars) {" option, however when it gets to checkout it simply loads a blank page. Could anyone shed some light on this? Also, (for when the above is fixed) is it possible to call on $vars["FirstName"] for example within the "ctionhook_ShoppingCartCheckout($vars) {" as it isn't listed within that function, just "actionhook_ClientSignup($vars)". Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
PlugAndHost Posted May 24, 2008 Author Share Posted May 24, 2008 I think it would be helpful if i could just see an example of someone who has something within the actionhooks.php, specifically under the heading actionhook_ShoppingCartCheckout. Thanks 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.