Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

how to get a customer address attribute in emails/pdf
 
_herbert_
Jr. Member
 
Total Posts:  1
Joined:  2008-06-20
 

I added a customer address attribute as written in some posts here. While working fine while editing adresses in both backend and frontend (it is saved in the database and retrieved), i can’t manage to get this attribute on emails or pdfs.I modified the importCustomerAddress() method, as described and have the attribute in sales_quote_address_varchar

I suppose the best way would be to add this attribute to the billingaddress. Does anybody know how to do this?
I tried tu use getBillingAddress()->getTax_number() in the pdf-section which does no error but doesn’t retrieve a value while in address-editing getAddress()->getTax_number() works fine.

Any suggestion ?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top