Thanks for using our modules and thanks for your feedback.
The code to retrieve address is in following file, looking for getFooter()
/override/classes/pdf/HTMLTemplate.php
You will find following code
- Code: Select all
$id_seller = AgileSellerManager::getObjectOwnerID('order', $this->order->id);
$sellerinfo = new SellerInfo(SellerInfo::getIdBSellerId($id_seller));
$id_lang = intval(Configuration::get('PS_COUNTRY_DEFAULT'));
$this->smarty->assign(array(
'seller_name' => $sellerinfo->company,
'seller_address' => $sellerinfo->fulladdress($id_lang),
'seller_fax' => $sellerinfo->fax,
'seller_phone' => $sellerinfo->phone
));
You can try to print our the address to see if the address is retrieve correctly.
You should also turn on error display to see if there is any error occurs.