energysx Posted November 13, 2015 Share Posted November 13, 2015 (edited) Hi all, I want a supplier address and supplier phone number to be displayed on the product page. How could I implement this? Prestashop version is 1.6.1.2 , thanks for attention. Edited November 13, 2015 by energysx (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 14, 2015 Share Posted November 14, 2015 I think the best way to do it would be to instantiate a new Supplier using $this->product->id_supplier inside initCOntent() of the ProductController. Then, use the supplier's id_address to instantiate a new address, and grab info from there. You can use an override, of course Link to comment Share on other sites More sharing options...
energysx Posted November 14, 2015 Author Share Posted November 14, 2015 I think the best way to do it would be to instantiate a new Supplier using $this->product->id_supplier inside initCOntent() of the ProductController. Then, use the supplier's id_address to instantiate a new address, and grab info from there. You can use an override, of course Hi Nemo1, thank you for your response. I haven't enough knowledge in php scripting, could you please write me an exact code which I should add to the ProductController and product.tpl files? many thanks 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