View Single Post
  #2  
Old 08-05-2015, 11:26 AM
Wendy's Avatar
Wendy Wendy is offline
Ecwid Team
 
Join Date: Jun 2014
Posts: 1,122
Default

Hello,

Thank you for contacting Ecwid Customer Care Team.

As I understand, you'd like to add product attributes (visible and hidden) and their values in the "Order confirmation" email message.

In order to achieve this you should add the following code in the notification template:

Code:
<table border="0" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
  <#list orderItem.visibleAttributes as visibleAttribute>
    <tr>
      <td style="font-family: Arial,sans-serif; font-size: 12px; color: #999999; padding-top: 9px;">
        ${visibleAttribute.name}: 
      </td>
      <td style="font-family: Arial,sans-serif; font-size: 12px; color: #999999; padding-top: 9px; padding-left:10px;">
        ${visibleAttribute.value}
      </td>
    </tr>
  </#list>
  <#list orderItem.attributes as attribute>
    <tr>
      <td style="font-family: Arial,sans-serif; font-size: 12px; color: #999999; padding-top: 9px;">
        ${attribute.name}: 
      </td>
      <td style="font-family: Arial,sans-serif; font-size: 12px; color: #999999; padding-top: 9px; padding-left:10px;">
        ${attribute.value}
      </td>
    </tr>
  </#list>                            
</table>
Please, go to your Ecwid control panel > Settings > Mail page and open the "Order Confirmation" template for editing. Then place the code between <!-- Order item: end --></td></tr> and </#list><!-- Order items : end -->

Please, see the screenshot: http://take.ms/QVeD7 Do not forget to save changes after editing.

Please, feel free to write me back if you have any further questions. I'll be glad to help.
__________________
Wendy
Ecwid Customer Care Team
Help Center


⬇ Please click Thanks if my reply helped you.