Need some help to add a custom attribute to my email order confirmation. I have an attribute Location that I would like to be shown under the product sku in the order confirmation email.

Could any supply me with the code for displaying the location attribute under the sku?

Have tried a lot but no success yet.

I use magento 1 1.9.2

  • Something like that $locationValue = Mage::getModel('catalog/product')->load($product)->getData("location"); not work for you ?
    – Kozame
    Apr 20, 2018 at 10:17
  • Where to I add the code in the order default.phtml? Apr 20, 2018 at 10:27
  • In your code, where is display the product sku ? Add my code just after.
    – Kozame
    Apr 20, 2018 at 11:48
  • HI Not good add this. Could you please show me the code and where to insert it? Apr 21, 2018 at 8:28
  • in the default.phtml Apr 21, 2018 at 8:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.