1

I want to remove SKU from all email to customer

1) I create folder and copy file to not edit core

/app/design/frontend/my-theme/default/template/email/order/items.phtml

2) Delete this code

<th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><?php echo $this->__('Sku') ?></th>

but Sku is still showing on email

What should I do..?

3
  • which email did you test? you have to remove it from all the items.phtml files for it to be gone from all the emails (so also from email/order/invoice/items.phtml , email/order/creditmemo/items.phtml etc). also did you clear cache?
    – Robin
    Mar 13, 2015 at 8:41
  • @Anja Wow Thanks to your advice I made it without core edit Thanks a lot! Have a good day! :)
    – Yohan
    Mar 13, 2015 at 9:05
  • In case you're using an extension that overrides emails, as in my case, I'm using Delivery Time extension. So the file I need to edit is at: app/design/frontend/base/default/template/magecheckout/deliverytime/order/email.phtml May 30, 2016 at 7:29

1 Answer 1

2

You can remove it from email/order/items.phtml from the <thead>. Btw it's better practice to rewrite those files in your custom theme rather than changing core/base magento files, in case you want to upgrade your magento to a new version in the future.

2
  • Thanks! As you said, when I remove <thead> , all the lines are command out (Item,qty,) Is it okay? Please check my update question
    – Yohan
    Mar 13, 2015 at 8:28
  • Not sure what you're saying, but you just need to remove the <th> line which has <?php echo $this->__('Sku') ?>. your screenshot looks ok
    – Robin
    Mar 13, 2015 at 8:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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