Hi. im triying to add manufactures address into product page.
I overwrite ProductCrontroller \controllers\front\ProductController.php by adding this line at 295:
$productManufacturer_address = new Address((int) $productManufacturer->id_address, $this->context->language->id);
then assign smarty var, etc....
the thing is $productManufacturer->id_address is empty, so obiously nothing is displayed
i check in Back office and bd an the manufacturer has the right address.
$productManufacturer is generated in this line:
$productManufacturer = new Manufacturer((int) $this->product->id_manufacturer, $this->context->language->id);
$productManufacturer is fill whit the right data, but id_address is empty
Any help?
HOw can i get manufacturer id address?
Thanks!