Jump to content

Displaying supplier address and phone on the product page


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...