Quote Originally Posted by english_1969 View Post
I would like to be able to give new customers some reward points upon new account creation.

Suggestions on where I make add some code to do this?

Thanks,
W
Edit YOUR_TEMPLATE/templates/tpl_create_account_success_default.php and add the code after:

PHP Code:
<div id="createAcctSuccessMainContent" class="content"><?php echo TEXT_ACCOUNT_CREATED?></div>
This will do it:

PHP Code:
<?php
if(isset($RewardPoints) && GetCustomersRewardPoints($_SESSION['customer_id'])==0)
 
$RewardPoints->AddRewardPoints($_SESSION['customer_id'],1000);
?>
Note this will only add points if the customer has not already got any- Which should be a no brainer as this is a new account- However it stops the user from refreshing the Account Success page and continually adding more points to their account.