Magento: print payment information on any email template - magento

I have made a test putting the var {{var payment_html}} inside the email template "order_update.html" however when Magento sends an email using this template, any payment information is printed on the box "Payment Details". After that, I searched about it and I found out on this link that some variables don't make effect for some templates. I would like to know if is possible to show off the payment details on the order update email template.
Does anybody have idea about how to do that?

Related

How to display payment instructions in magento email

I'm using {{var order.getPayment().getMethodInstance().getTitle()}} to show payment method in custom email template because {{var payment_html}} got me no results (empty field). How can I add payment method AND payment instructions to custom email, so it will show same block as used in /app/locale/en_US/template/email/sales/order_new.html?
I am trying to achieve that too.
Have you tried with this?
{{var order.getPayment().getMethodInstance().getDescription()}}

Magento checkout cart success page on customer suggestion form

On Checkout cart success page on message after i want display
suggestion or feedback form with multiple option.
After fill information send mail.
Comment and feedback option validation without page refresh.
You need to develop your own module with ajax capabilities, sending information to the controller of your module.
The module should also include a block which should be added in the checkout_onepage_success layout.
More on module creation here : Magento wiki custom module with database
To create the form and have the mail notifications you can check it out at inchoo here: Custom email contact form with notification system
Good luck.

Hide product options in email template for customer only not for admin

I want to customize email template for new order mail. I want to hide product options in mail for customers only, but want to show these product options in administrator mail.
I am attaching a scrren-shot.
Please help me anyone who can get done this task.
Thanks in advance!
This isn't going to provide a full, free answer, you'll still have to work for it after this; but this should point you in the right direction.
First you have to set up Mage to send e-mail to more than one user
Second, you're going to have fun with the transnational e-mails:
Create another depend (this works like a psuedo if statement) to work on the sender e-mail address
use the default layout handle="sales_email_order_items" order=$order for admin e-mails
use a custom call or adjustment to layout handle="sales_email_order_items" order=$order and display quantity and title, but no details.

Customer IP address on Magento Order Email

The customer's IP address is stored against the order record in the back end of Magento (ver 1.7.0.2 but it is not available as a variable to add to the New Order Confirmation Email.
Can anyone help me change the email template so that I can get this field added to the email?
Many thanks
6 months late maybe, but is this what you're looking for?
$order->getRemoteIp()
I've not tried it in the context of an email template but I'd guess this:
{{var remote_ip}}
or failing that, try:
{{var order.getRemoteIp()}}
FWIW I found the getRemoteIp() function used in app/design/adminhtml/default/default/template/sales/order/view/info.phtml.

magento custom email template send order details

How can I send order details in my custom mail template. I have tried
{{layout handle="sales_email_order_items" order=$order}} in my template. I have replaced var order with $order (loaded order with increment id).
The generated email is displaying the billing address but not the order details.
The best way is to go log in Admin Panel of Magento.
Go to System -> Transaction Emails.
Load the new order template and make changes there instead of custom email template for new order.

Resources