In this new order email.
I want to add a column in this table where i want to show a custom product attribute..
Please tell me how can i add column inside the new Order confirmation email template so it will show another column and attribute
already tried editing
app/design/frontend/template/default/template/email/order/items/order/default.phtml
app/design/frontend/base/default/template/email/order/items/order/default.phtml
and template files in app/locale
folder.
Thanks
Best Answer
First we need to add a column to template:
add below code before Qty th
Now we need to get value of custom attribute.file that is responsible for getting all attribute values is:
In above file when you log $_item, it will default not having value of custom attribute.So what we need is to load product and get value of product custom attribute. for that you need to add below code before Qty td:
Result: