Exemplo n.º 1
0
 public function postProcess()
 {
     parent::postProcess();
     if (Module::isInstalled('agilemultipleseller') && Tools::getValue('passwd')) {
         include_once _PS_ROOT_DIR_ . "/modules/agilemultipleseller/SellerInfo.php";
         $id_seller = SellerInfo::getSellerIdByCustomerId(Context::getContext()->customer->id);
         AgileSellerManager::syncSellerCredentials('f2b', $id_seller);
     }
 }
 public function setMedia()
 {
     parent::setMedia();
     $this->addCSS(_THEME_CSS_DIR_ . 'identity.css');
     $this->addJS(_PS_JS_DIR_ . 'validate.js');
 }