Jump to content

using PreCalculateCartTotals displays "gumph" on screen


BigLebowski

Recommended Posts

hi there

 

I added this hook recently. It works with "ClientAdd" but as soon as I change it to "PreCalculateCartTotals" I get the following "gumph" on the client ordering screen:

 

???????���������????������????

 

Any ideas? The hook is here:

 

<?php

/* ******************************************************

** Example Hook Function **

 

Please refer to http://wiki.whmcs.com/Hooks for more info

 

function fred($vars) {

 

$firstname = $vars['firstname'];

$lastname = $vars['lastname'];

$email = $vars['email'];

 

# Run code to create remote forum account here...

 

}

 

add_hook("PreCalculateCartTotals",1,"fred");

 

****************************************************** */

?>

 

Ta

Dude

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated