Donna Torr
Donna Torr
Offline
0
Hi Guys,

I am currently testing the system and noticed that the affiliate link (generate for the affiliate) is not being included in the email even though it appears to be in the default_email.php file.

case "user": 
?>
<?php echo JText::sprintf( 'EMAIL_PAYMENT_SALUTATION', $theusername ); ?>

<?php echo JText::_( 'NEW_ACCOUNT_APPROVED' ); ?>

<strong><?php echo JText::_( 'ACCOUNT_DETAILS' ); ?></strong>:

<?php echo JText::_( 'ACCOUNT_NAME' ); ?>: <?php echo $this->account->account_name; ?>
<?php echo JText::_( 'CONTACT_NAME' ); ?>: <?php echo $this->account->name; ?>
<?php echo JText::_( 'CONTACT_EMAIL' ); ?>: <?php echo $this->account->email; ?>
<?php echo JText::_( 'CONTACT_USERNAME' ); ?>: <?php echo $this->account->username; ?>

<?php echo JText::_( 'YOUR_LINK' ); ?>: <?php echo AffiliateHelper::get_account_link($this->account->id); ?>


The information being sent is:

Dear Donna Torr,

Your affiliate account has been approved

Account details:

Name: Donna Torr
Contact name: Donna Torr
Contact e-mail: removed for security
Contact username: sitewideuk


Is this a bug or have I missed something?

Best Regards
Donna

Accepted Answer

Wednesday, September 12 2018, 01:35 PM - #Permalink
0
you just discovered a little bug.
this is found in the /administrator/ version of the email, but NOT in the frontend version.

so, basically, that line of code need to be added to the frontend file as well.

I have already added this to our official package

many thanks!
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply