DrByte:
Thank you for your response! I made the changes but it doesn't show in the email. Here is order.php in context.:
Line 982// 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" . 'custom information';
}
$this->products_ordered_html .=
'<tr>' . "\n" . Line 989
The email looks like this:
Order Confirmation from Vendor
Buyer's name
Thanks for shopping with us today!
The following are the details of your order.
Date Ordered: Monday 05 March, 2012
Products
1 x Product Name =
$0.01------------------------------------------------------
Sub-Total: $0.01
Total: $0.01
Delivery Address
etc.
The custom information will show up in all emails without IF.
// 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']) .
($this->products[$i]['onetime_charges'] !=0 ? "\n" . TEXT_ONETIME_CHARGES_EMAIL . $currencies->display_price($this->products[$i]['onetime_charges'], $this->products[$i]['tax'], 1) : '') .
Line 986 $this->products_ordered_attributes . "\ncustom information";
$this->products_ordered_html .=
'<tr>' . "\n" .
Is the IF statement in the correct area of the file? Should I have changed this area instead?
// lets start with the email confirmation
// make an array to store the html version
I want to make a list of a dozen or so IF statements corresponding to specific product ID numbers that will include specific information (link/user name/password) tied to the product ID number.
Thanks again!!