Niccol:
Thank you for your response!!
I attempted to add it to the existing email. The email is still functioning, but it does not show up in the email. I am using an elseif statement. It starts on line 985 with:
if($this->products[$i]['id'] = '4') {
// build output for email notification
$this->products_ordered .= $this->products[$i]['qty'] . ' x ' . $this->products[$i]['name'] . ($this->products[$i]['model'] != '' ? ' (' . $this->products[$i]['model'] . ') ' : '') . ' = ' .
$currencies->display_price($this->products[$i]['final_price'], $this->products[$i]['tax'], $this->products[$i]['qty']) ;
if($this->products[$i]['id'] = '4') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: 90 Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '2') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: 90 Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '7') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: 45 Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '3') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: 45 Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '8') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: abc Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '9') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: abc Password: student (the word student, not your name)';
}
elseif($this->products[$i]['id'] = '6') {
$this->products_ordered_attributes .= "\n" . 'Link: link User Name: abc Password: student (the word student, not your name)';
}
($this->products[$i]['onetime_charges'] !=0 ? "\n" . TEXT_ONETIME_CHARGES_EMAIL . $currencies->display_price($this->products[$i]['onetime_charges'], $this->products[$i]['tax'], 1) : '') .
What am I doing wrong?


Reply With Quote
