thanks for using our modules.
1. First of all, we only guarantee our modules will work with PrestaShop standard invoice. we do not support 3rd party invoice modules.
2. All our override class are in open code, you can find how the seller address and seller information in following files(which is in open code);
/override/classes/pdf/HTMLTemplate.php
And also here is the code from that file
- Code: Select all
public function getFooter()
{
$parent_footer = parent::getFooter();
if(!isset($this->order) OR !Validate::isLoadedObject($this->order))return $parent_footer;
if(!Module::isInstalled('agilemultipleseller'))return $parent_footer;
require_once(_PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php");
$id_seller = AgileSellerManager::getObjectOwnerID('order', $this->order->id);
$sellerinfo = new SellerInfo(SellerInfo::getIdBSellerId($id_seller), $this->order->id_lang);
$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,
'sellerinfo' => $sellerinfo
));
return $this->smarty->fetch($this->getTemplate('footer'));
}
3. If you need additional information about extended database scheme, you can find in the following file
/modules/agilemultipleseller/install.sql
4. if you need additional core module files in open code, please provide following info
- your order #
- your store URL
- version of the module
- the file you needed and for what purpose.