Magento Transactional Emails – How to Remove SKU Column

skutransactional-mail

I would like to know how to remove the SKU column from transactional emails my store sends.

The email template contains {{var order.shipping_description}} but I don't know where this block is pulled from.

At least I assume that's what's rendering the table of info displayed in the following image:

enter image description here

Best Answer

You need to edit two files:
File 1:

app/design/frontend/base/default/template/email/order/items.phtml
Find the following line and comment it:

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

-----OR-----

empty the value as:

<th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px">&nsbp;</th>

File 2:

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

And comment the following line:

<td align="left" valign="top" style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;"><?php echo $this->escapeHtml($this->getSku($_item)) ?></td>

-----OR-----

empty the value as:

<td align="left" valign="top" style="font-size:11px; padding:3px 9px; border-bottom:1px dotted #CCCCCC;">&nbsp;</td>

Hope this helps.

Related Topic