1

$_item->getProduct()->getShortDescription() returns blank when used in a frontend email.

If I use send email in Sales > Orders in admin it displays. I tried setting the Attribute to global. Any ideas

1

Magento does not save product short description on sales_flat_order_item table,So you can not get data short_descriptionto order email to sales order item related any object

You need to save short_description to this table using create new field to sales_flat_order_item table.

Or you need load product Model Object(Mage::getModel('catalog/product')) by $_item->getProductId().

$product=Mage::getModel('catalog/product')->load($_item->getProductId());

// check product is exit in system 
if($product->getId()):
$product->getShortDescription()
endif;
1
  • I accept the answer. Do I have to do more.Thank You your Answer worked great. – Paul Arthur Aug 23 '15 at 17:45

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.