Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Display Ordered Products in Confirmation Email
 
lvekua
Jr. Member
 
Total Posts:  11
Joined:  2008-07-23
 

Magento ver. 1.3.2.3

Is it possible to display information of ordered products, inside of the e-mail confirmation??? for both guests and registered customers…

CURRENT EMAIL CONFIRMATION

----------------------------------------------------
<style type="text/css">
body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
</style>

<div style="font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;">
<table cellspacing="0" cellpadding="0" border="0" width="98%" style="margin-top:10px; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; margin-bottom:10px;">
<tr>
<td align="center" valign="top">
<!-- [ header starts here] -->
<table cellspacing="0" cellpadding="0" border="0" width="650">
<tr>
<td valign="top"><a href="{{store url=""}}"><img src="{{skin url="images/bbs_logo_final2.png" _area=’frontend’}}” alt="Brighton Beauty Supply” style="margin-bottom:10px;" border="0"/></a></td>
</tr>
</table>
<!-- [ middle starts here] -->
<table cellspacing="0" cellpadding="0" border="0" width="650">
<tr>
<td valign="top">
<p>
<strong>Hello, {{htmlescape var=$order.getBillingAddress().getName()}}</strong><br/>
Thank you for shopping, your order will be processed in the order which it was received.
Once your package ships we will send a confirmation email with an order tracking number.
In order to check order status please <a href="#">click here</a> and fill out all required fields.<br /><br />
</p>
<p><h3>Your order confirmation is below. Thank you again for your business.</h3></p>
<p>Please review your order carefully, including your shipping address and contact us if any of the information is not completely accurate.</p>

<h3 style="border-bottom:2px solid #eee; font-size:1.05em; padding-bottom:1px; “>Your Order #{{var order.increment_id}} <small>(placed on {{var order.getCreatedAtFormated(’long’)}})</small></h3>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<thead>
<tr>
<th align="left" width="48.5%" bgcolor="#d9e5ee" style="padding:5px 9px 6px 9px; border:1px solid #bebcb7; border-bottom:none; line-height:1em;">Billing Information:</th>
<th width="3%"></th>
<th align="left" width="48.5%" bgcolor="#d9e5ee" style="padding:5px 9px 6px 9px; border:1px solid #bebcb7; border-bottom:none; line-height:1em;">Payment Method:</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" style="padding:7px 9px 9px 9px; border:1px solid #bebcb7; border-top:0; background:#f8f7f5;">
{{var order.getBillingAddress().format(’html’)}}
</td>
<td> </td>
<td valign="top" style="padding:7px 9px 9px 9px; border:1px solid #bebcb7; border-top:0; background:#f8f7f5;">
{{var payment_html}}
</td>
</tr>
</tbody>
</table>
<br/>
<!--{{depend order.getIsNotVirtual()}} -->
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<thead>
<tr>
<th align="left" width="48.5%" bgcolor="#d9e5ee" style="padding:5px 9px 6px 9px; border:1px solid #bebcb7; border-bottom:none; line-height:1em;">Shipping Information:</th>
<th width="3%"></th>
<th align="left" width="48.5%" bgcolor="#d9e5ee" style="padding:5px 9px 6px 9px; border:1px solid #bebcb7; border-bottom:none; line-height:1em;">Shipping Method:</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" style="padding:7px 9px 9px 9px; border:1px solid #bebcb7; border-top:0; background:#f8f7f5;">
{{var order.getShippingAddress().format(’html’)}}
 
</td>
<td> </td>
<td valign="top" style="padding:7px 9px 9px 9px; border:1px solid #bebcb7; border-top:0; background:#f8f7f5;">
{{var order.getShippingDescription()}}
 
</td>
</tr>
</tbody>
</table>
<br/>
<!-- {{/depend}} -->
{{layout handle="sales_email_order_items" order=$order}}
<br/>
{{var order.getEmailCustomerNote()}}
<p>
<br /> Thank you again,<br/><strong>{{var order.getStoreGroupName()}}</strong></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
-------------------------------------------
please help…

Thanks…

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top