generateClassIndex() ->autoload(); Db::getInstance()->execute(' ALTER TABLE `' . _DB_PREFIX_ . 'xallegro_auction` ADD `fees` decimal(10,2) NOT NULL DEFAULT 0 AFTER `price_buy_now`' ); XAllegroConfiguration::updateValue('PRODUCTIZATION_DESCRIPTION', 'prestashop'); XAllegroConfiguration::updateValue('PRODUCTIZATION_IMAGES', 'prestashop'); XAllegroConfiguration::updateValue('PARAMETERS_GLOBAL_CONDITION', 1); foreach (XAllegroAccount::getAll() as $account) { $accountConfiguration = new XAllegroConfigurationAccount((int) $account->id); if (!XAllegroConfiguration::get('AUCTION_CALCULATE_FEES')) { $accountConfiguration->updateValue('AUCTION_CALCULATE_FEES', XAllegroConfigurationAccount::GLOBAL_OPTION); } } return true; }