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()}}
Related
I am using magento 1.9.I want to display at checkout that "No Payment method required".How to proceed checkout without Payment Method. Or i have to create custom payment method? Thanks
By default this functionality not available in Magento. But you can follow the below steps to remove the payment step and customize this as per your need.
http://excellencemagentoblog.com/blog/2011/10/17/magento-onestep-checkout-remove-payment-method-step/
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.
I want to add customer email to invoice and shipment pdfs. A good solution would be to add it to address template. But I couldn't find the right variable. What is the easiest way to accomplish this.
Something like this not working example would be perfect.
{{depend email}}Email: {{var email}}{{/depend}}
I am using Magento 1.7.0.2 with Firegento Pdf.
For Guest
{{var order.getBillingAddress().getEmail()}}
and for member
{{var order.getCustomerEmail()}}
tested in magento 1.9
Just add the following code into your custom email template:
Email: {{htmlescape var=$order.getCustomerEmail()}}
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.
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?