Line 944 includes/classes/order.php is part of the variable assignment to display product information where specifically the attributes are "called out". It seems that if there are attributes associated with the product then they should be added to the products_ordered_html variable as part of the default code. If they are not, then that's curious.
Beginning on line 939, the code used to display information specific to the product as part of say the email creation is:
Code:
$this->products_ordered_html .=
'<tr>' . "\n" .
'<td class="product-details" align="right" valign="top" width="30">' . $this->products[$i]['qty'] . ' x</td>' . "\n" .
'<td class="product-details" valign="top">' . nl2br($this->products[$i]['name']) . ($this->products[$i]['model'] != '' ? ' (' . nl2br($this->products[$i]['model']) . ') ' : '') . "\n" .
'<nobr>' .
'<small><em> '. nl2br($this->products_ordered_attributes) .'</em></small>' .
'</nobr>' .
'</td>' . "\n" .
'<td class="product-details-num" valign="top" align="right">' .
$currencies->display_price($this->products[$i]['final_price'], $this->products[$i]['tax'], $this->products[$i]['qty']) .
($this->products[$i]['onetime_charges'] !=0 ?
'</td></tr>' . "\n" . '<tr><td class="product-details">' . nl2br(TEXT_ONETIME_CHARGES_EMAIL) . '</td>' . "\n" .
'<td>' . $currencies->display_price($this->products[$i]['onetime_charges'], $this->products[$i]['tax'], 1) : '') .
'</td></tr>' . "\n";
I apologize in "advance" if there are #'s anywhere that a space should be. I copied the above from github which sometimes causes odd characters to appear in the pasted content. It would take me way too long to correct if it occurs, so providing warning that the # symbol would/should only remain in any reproduced text where syntactically required say as necessary for particular css.
Bookmarks