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

Transactional Emails
 
symbol
Jr. Member
 
Total Posts:  2
Joined:  2009-01-20
 

I was trying to set up a template for New Orders through transactional emails , but only the personal information, payement method, shipping information and shipping methods were converted to the text format, but the order information was converted to text with all the html tags intact.

Can anybody help.

Here is how the email after converting to text looked. The bold part below is the unconverted text

Hello pratic sharma,
Thank you for your order from Main Store.
Once your package ships we will send an email with a link to track your order.
You can check the status of your order by logging into your account.
If you have any questions about your order please contact us at or call us at (555) 555-0123 Monday - Friday, 8am - 5pm PST.

Your order confirmation is below. Thank you again for your business.

Your Order #100000027 (placed on February 10, 2009)


Billing Information:

Payment Method:

Pratic Sharma<br/>

ABC<br />

DEFH, 44801<br/>
Nepal<br/>
T: 66332251
 

<p>Check / Money order</p>


Shipping Information:

Shipping Method:

PT SHS<br/>
jj<br />
jj<br />

989889, Utah, 88989<br/>
United States<br/>
T: 8980808
 

 

Best Way - Table Rate
 


<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
<thead>
<tr>
<th align="left" bgcolor="#d9e5ee" style="padding:3px 9px">Item</th>
<th align="left" bgcolor="#d9e5ee" style="padding:3px 9px">Sku</th>
<th align="center" bgcolor="#d9e5ee" style="padding:3px 9px">Qty</th>
<th align="right" bgcolor="#d9e5ee" style="padding:3px 9px">Subtotal</th>
</tr>
</thead>

<tbody bgcolor="#eeeded">
</tbody>

<tfoot>
<tr>
<td colspan="3" align="right" style="padding:3px 9px">Subtotal</td>
<td align="right" style="padding:3px 9px"><span class="price">Nrs 11,504.23</span></td>
</tr>
<tr>
<td colspan="3" align="right" style="padding:3px 9px">Shipping & Handling</td>
<td align="right" style="padding:3px 9px"><span class="price">Nrs 15,723.50</span></td>
</tr>
<tr bgcolor="#DEE5E8">
<td colspan="3" align="right" style="padding:3px 9px"><strong><big>Grand Total</big></strong></td>
<td align="right" style="padding:6px 9px"><strong><big><span class="price">Nrs 27,227.73</span></big></strong></td>
</tr>
</tfoot>

</table>;

Thank you again,Main Store

And the template looks like this:

Hello {{var order.getCustomerName()}},
Thank you for your order from {{var order.getStoreGroupName()}}.
Once your package ships we will send an email with a link to track your order.
You can check the status of your order by logging into your account.
If you have any questions about your order please contact us at or call us at (555) 555-0123 Monday - Friday, 8am - 5pm PST.

Your order confirmation is below. Thank you again for your business.

Your Order #{{var order.increment_id}} (placed on {{var order.getCreatedAtFormated(’long’)}})



Billing Information:

Payment Method:

{{var order.getBillingAddress().format(’html’)}}

 

{{var payment_html}}


{{depend order.getIsNotVirtual()}}

Shipping Information:

Shipping Method:

{{var order.getShippingAddress().format(’html’)}}
 

 

{{var order.getShippingDescription()}}
 


{{/depend}}
{{layout handle="sales_email_order_items" order=$order}};

{{var items_html}}
{{var order.getEmailCustomerNote()}}
Thank you again,{{var order.getStoreGroupName()}}

 
Magento Community Magento Community
Magento Community
Magento Community
 
subesh
Sr. Member
 
Avatar
Total Posts:  145
Joined:  2009-01-08
 

you mean while creating a new template and then converting it into plain text it is not converted

or.

.. while sending email… (Actually how did you check the email format)

if its the first part then what is then it worked good for me.. my ver. 1.1.7

second ...? i don’t know :D

 
Magento Community Magento Community
Magento Community
Magento Community
 
ShopMagCart
Member
 
Total Posts:  70
Joined:  2009-01-04
 

Symbol, did you ever find a solution to this?  I’m running into the same problem.

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