I've been trying to simply add the product field: UPC to new order transactional emails, in addition to SKU that's the default.
I'm pretty sure I found the template to make the modifications from another help article on making changes to the template. But can't find the right way to pull the actual UPC to show.
I'm making modifications to the template: /store/app/design/frontend/MYTHEME/default/template/email/order/items/order/default.phtml
The table cell next to SKU, I have tried all of the following calls for UPC:
<?php echo $_item->getUpc() <?php echo $_item->getData('upc') ?> <?php echo $this->getData('upc') ?> <?php $this->getUpc($_item) ?>
I'm pretty much just taking stabs at it, but didn't think it would be this difficult considering it's pretty much a key product field, if you want to use an additional code other than an internal SKU.