I am still attempting to send detail in a success email specific to the product ordered. I had it working until I tried to make it product specific. Now it gives me a PHP Parse error: syntax error, unexpected T_IF.
PHP Code:
if($this->products[$i]['id'] = '4') {
$this->products_ordered_attributes .= "\n" . 'custom information';
I know it is somtimes the line before...here it is in context:
PHP Code:
// 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';
Also, I am not sure how to include a link/bold/color within the custom information. <> doesn't work. I have my email setting set to html.
Thank you!!