mickylmartin Posted May 29, 2012 Share Posted May 29, 2012 (edited) I am trying to collect info from site wide cookies after a successful check out through complete.tpl. {php} $foo = $_COOKIE['foo']; $bar = time() - $_COOKIE['bar']; {php} Then have the order hook process the info, store it into a global variable or at least make it usable in an admin order notification email. But whatever I do, there seems to be very little room for modifying default whmcs functionality. You guys do realize that smarty is just a template engine and putting a business logic of sql and php kills its purpose! Is there any way to do it? Edited May 29, 2012 by mickylmartin 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.