bosti Posted November 18, 2012 Share Posted November 18, 2012 Hi Guys, I have a fairly simple question. I've made a custom field in the customer table `ps_customer`.`kvknum' wich writes a chamber of commerce number. I've managed to implement this to all the necessary files using this tutorial: http://www.prestashop.com/forums/topic/113300-tutorial-add-custom-field-to-customer-registration-how-you-found-us-store-in-db-display-result-in-admin/ Which works great. However I want to call this information in PDF.php. How do I call this variable? In the back office I pull it using: $customer->kvknum But this doesn't work in the PDF.php. Also I tried adding this using the Shipping:Countries custom address field by adding: "Customer:kvknum" to the Address Layout field (the variable even shows on the right) but this does not show anything in the PDF invoice. Any help would be greatly appreciated! Thanks, bosti Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now