0

I have designed my email and have added the following code to get the order information but two problems

It doesn't show product image? How do I edit the style? It doesn't appear right

{{if order.getEmailCustomerNote()}}
{{var order.getEmailCustomerNote()}}
{{layout handle="sales_email_order_items" order=$order}}</p></div>

the email

1 Answer 1

0

The template on the default theme is:

frontend/base/default/template/email/order/items.phtml

There are a loop in wich load each item:

frontend/base/default/template/email/order/items/order/default.phtml

You can move that file to your theme and modify it to show the images and modify the html.

2
  • Then do I need to change the order.getEmailCustomerNote to something else?
    – Will Beach
    Commented Feb 3, 2017 at 12:15
  • No, thats ok, you can change the template directly.
    – Ander
    Commented Feb 3, 2017 at 12:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.