Isiecom Posted May 9, 2016 Share Posted May 9, 2016 (edited) Hi, I am trying to add the manufacturer's name at the beggining of the delivery-slip.product.tab.tpl so when I print the delivary slip the manufacturer's name appears. Anybody knows how to do it? Thanks! Edited May 10, 2016 by Isiecom (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted May 10, 2016 Share Posted May 10, 2016 It is no so easy. Only id_product is available in order details. You need to get product object and finally, use Manufacturer::getNameById($id_manufacturer) function to get the manufacturer. Link to comment Share on other sites More sharing options...
Isiecom Posted May 10, 2016 Author Share Posted May 10, 2016 Thanks it works! 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