Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
PrestaShop 8.0 adds supports for PHP 8.0 and PHP 8.1 and requires at least PHP 7.2.5.
en.php
, fr.php
…, deprecated in 1.7), has been removed from Core controllers. Only modules can still use this system now.modules
directory during the installation process will be installed by default (except in the web-based installation where you can unselect some of them). Modules can use Module::postInstall()
to execute code after the shop installation is done (Read more).rtl.scss
stylesheets.RegistrationController
, AuthController
). This might impact third-party themes and modules as the URL to the registration has changed.Symfony has been upgraded to 4.4, which includes a number of changes:
ChoiceType
’s option “choices_as_values” doesn’t exist anymore, it was previously already true by defaultForm::isValid()
if Form::isSubmitted()
was not called beforebundlename:path:file.html.twig
is now invalid, use @bundlename/path/to/file.html.twig
_controller
in routes should not use the short notation anymore (PrestaShopBundle:Admin/Error:enableDebugMode
for instance), use the full path instead: PrestaShopBundle\Controller\Admin\ErrorController::enableDebugModeAction
/app/Resources/translations/
to /translations/
@AdminSecurity is_granted()
should not take an array, use explicit &&
or ||
when checking multiple rightspublic function getExtendedType()
and implement public static function getExtendedTypes(): iterable
instead (read more).Themes using jQuery UI tooltips might need to be updated to use bootstrap’s tooltips (read more);
The use_parent_assets
setting in theme.yml
, when set to true
, makes the child theme load its parent’s assets (css, img and js) instead of its own. This feature, not functional and ignored in 1.7, has been fixed and improved for 8.0. For further fine-tuning, a new set of child_*_url
variables is made available when the feature is active, allowing theme developers to access the parent and child’s asset urls separately.
To maintain the behavior of 1.7 and load the child theme’s assets, use_parent_assets
must be set to false
.
More details in the theme.yml reference page.
checkout/_partials/steps/payment.tpl
, the ID payment-form
has been changed to payment-{$option.id}-form
.The Bootstrap version used in Symfony-based Back office pages has been updated from 4.0 to 4.4.
_PS_USE_SQL_SLAVE_
is now a boolean (false
by default).Access:
updateLgcAccess()
- optional value for parameter $addFromParent
is now true
instead of 1
.AddressFormat
_checkLiableAssociation()
- the parameter $fieldsValidate
has been removed.AdminStatsTabController
checkModulesNames()
now returns int
instead of bool
.Alias
__construct()
- The 4th parameter, $idLang
, has been removed (deprecated in 1.7.0).Attribute
ProductAttribute
.CartRule
Combination
__construct()
- the parameter $translator
now takes PrestaShopBundle\Translation\TranslatorComponent|null
instead of PrestaShopBundle\Translation\Translator|null
.Customer
Customer::$passwd
to be Validate::isHashedPassword()
instead of Validate::isPlaintextPassword()
.Employee
Employee::$passwd
to be Validate::isHashedPassword()
instead of Validate::isPlaintextPassword()
.OrderDetail
checkProductStock()
- Renamed to updateProductQuantityInStock
.Pack
getQuantity()
- now expects CartCore
instead of Cart
for $cart
parameter.Product
getQuantity()
- now expects CartCore
instead of Cart
for $cart
parameter.Module
getModulesOnDisk()
- The second parameter, $logged_on_addons
, has been removed.PrestaShopAutoload
getClassesFromDir()
- The second parameter, $hostMode
, has been removed (deprecated in 1.7.0).Product
$advanced_stock_management
is now bool
instead if int
.Tools::displayDate()
$id_lang
, $separator
) have been removed.Validate
isOrderWay()
now returns bool
instead if int
.WebserviceOutputInterface
WebserviceSpecificManagementInterface
setObjectOutput()
now takes a WebserviceOutputBuilder
instead of a WebserviceOutputBuilderCore
.setWsObject()
now takes a WebserviceRequest
instead of a WebserviceRequestCore
.getContent()
must return an array instead of a string.PrestaShop\PrestaShop\Adapter\Attachment\AttachmentRepository
__construct()
now takes two parameters.PrestaShop\PrestaShop\Adapter\Category\Repository
__construct()
has been added for the class with two required parameters.PrestaShop\PrestaShop\Adapter\Carrier\HandlingConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Carrier\CarrierOptionsConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Customer\QueryHandler\SearchCustomersHandler
__construct()
- This method now takes one parameter.PrestaShop\PrestaShop\Adapter\Currency\QueryHandler\GetReferenceCurrencyHandler
__construct()
- The parameter CommandBusInterface $queryBus
has been removed.PrestaShop\PrestaShop\Adapter\Debug\DebugModeConfiguration
__construct()
now takes an additional parameter ClassIndexCacheClearer $classIndexCacheClearer
.PrestaShop\PrestaShop\Adapter\Employee\EmployeeFormAccessChecker
__construct()
- The 3rd parameter $tabRepository
has been removed.PrestaShop\PrestaShop\Adapter\GeneralConfiguration
__construct()
- The 3rd parameter, $idDebug
, has been removed.PrestaShop\PrestaShop\Adapter\Localization\LocalizationConfiguration
__construct()
- The parameter AdminModuleDataProvider $adminModuleDataProvider
has been removed.PrestaShop\PrestaShop\Adapter\MailTemplate\MailTemplateTwigRenderer
__construct()
now takes Twig\Environment
instead of Symfony\Component\Templating\EngineInterface
.PrestaShop\PrestaShop\Adapter\Meta\SEOOptionsDataConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Meta\SetUpUrlsDataConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Meta\UrlSchemaDataConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider
PrestaShop\PrestaShop\Adapter\Module\ModuleDataUpdater
__construct()
now takes no parameters (read more).PrestaShop\PrestaShop\Adapter\Module\Configuration\ModuleComplexConfigurationInterface
run()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabRegister
enableTabs()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.registerTabs()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.PrestaShop\PrestaShop\Adapter\Module\Tab\ModuleTabUnregister
disableTabs()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.unregisterTabs()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.PrestaShop\PrestaShop\Adapter\Presenter\Module\ModulePresenter
present()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.PrestaShop\PrestaShop\Adapter\Product\Options\RedirectTargetProvider
__construct()
- now takes one additional parameter, RedirectTargetProvider $targetProvider
.PrestaShop\PrestaShop\Adapter\Product\VirtualProduct\Update\VirtualProductUpdater
__construct()
- The parameter Filesystem $filesystem
has been removed.__construct()
- The parameter string $virtualProductFileDir
has been removed.PrestaShop\PrestaShop\Adapter\OptionalFeatures\OptionalFeaturesConfiguration
__construct()
- The parameter Configuration $configuration
has been removed.PrestaShop\PrestaShop\Adapter\Order\GeneralConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Adapter\Order\Refund\OrderProductRemover
__construct()
- The parameter LoggerInterface $logger
has been removed.__construct()
- The parameter TranslatorInterface $translator
has been removed.PrestaShop\PrestaShop\Adapter\Webservice\WebserviceConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.PrestaShop\PrestaShop\Core\Cart\Calculator
_construct()
- now expects CartCore
instead of Cart
for $cart
parameter.PrestaShop\PrestaShop\Core\Cart\CartRow
PrestaShop\PrestaShop\Core\Cart\Fees
processCalculation()
- now expects CartCore
instead of Cart
for $cart
parameter.PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
AbstractMultistoreConfiguration
are now forced to use Symfony’s OptionsResolver
. buildResolver
method is mandatory and returns an OptionsResolver
.updateConfigurationValue()
is now protected
.PrestaShop\PrestaShop\Core\ConstraintValidator\CustomerNameValidator
__construct
method.PrestaShop\PrestaShop\Core\ConstraintValidator\Factory\CustomerNameValidatorFactory
__construct
method.PrestaShop\PrestaShop\Core\ConstraintValidator\TypedRegexValidator
__construct
method.PrestaShop\PrestaShop\Core\Domain\Address\Command\AbstractEditAddressCommand
getStateId()
now returns ?PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateIdInterface
instead of ?PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId
.PrestaShop\PrestaShop\Core\Domain\Address\Command\AddCustomerAddressCommand
__construct()
- The type of parameter $stateId
is now PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateIdInterface
instead of PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId
.PrestaShop\PrestaShop\Core\Domain\Address\QueryResult\EditableCustomerAddress
__construct()
- The type of parameter $stateId
is now PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateIdInterface
instead of PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId
.PrestaShop\PrestaShop\Core\Domain\Attachment\QueryResult\AttachmentInformation
getType()
has been renamed to getMimeType()
.PrestaShop\PrestaShop\Core\Domain\CartRule\QueryResult\EditableCartRuleConditions
__construct()
- now takes CustomerIdInterface $customerId
instead of ?CustomerId $customerId
.PrestaShop\PrestaShop\Core\Domain\Country\ValueObject\CountryId
PrestaShop\PrestaShop\Core\Domain\Country\ValueObject\CountryIdInterface
.PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\PersonalInformation
__construct()
- The type of parameter $rankBySales
is now int
instead of string
.getRankBySales()
now returns int
instead of string
.PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\ViewableCustomer
__construct()
- The parameter $referrersInformation
has been removed.PrestaShop\PrestaShop\Core\Domain\Employee\Command\AddEmployeeCommand
__construct()
- now takes 3 additional parameters (int $minLength
, int $maxLength
, int $minScore
) and bool $hasEnabledGravatar
is no longer optional.PrestaShop\PrestaShop\Core\Domain\Employee\Command\EditEmployeeCommand
setPlainPassword()
- now takes 3 additional parameters (int $minLength
, int $maxLength
, int $minScore
).PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\Password
__construct()
- now takes 3 additional parameters (int $minLength
, int $maxLength
, int $minScore
).PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderPreviewProductDetail
__construct()
- An 8th parameter, int $id
has been added.PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderReturnForViewing
__construct()
- The parameters $carrierId
, $trackingUrl
and $trackingNumber
have been removed and replaced by string $orderReturnNumber
.PrestaShop\PrestaShop\Core\Domain\MailTemplate\CommandHandler\GenerateThemeMailTemplatesCommandHandler
__construct()
- The parameter TranslatorInterface $translator
has been removed.PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\AddProductSpecificPriceCommand
getCountryId()
- now returns PrestaShop\PrestaShop\Core\Domain\Country\ValueObject\CountryIdInterface
instead of int
.PrestaShop\PrestaShop\Core\Domain\Product\Command\RemoveAllAssociatedProductAttachmentsCommand
PrestaShop\PrestaShop\Core\Domain\Product\Attachment\Command\RemoveAllAssociatedProductAttachmentsCommand
.PrestaShop\PrestaShop\Core\Domain\Product\Command\SetAssociatedProductAttachmentsCommand
PrestaShop\PrestaShop\Core\Domain\Product\Attachment\Command\SetAssociatedProductAttachmentsCommand
.PrestaShop\PrestaShop\Core\Domain\Product\Combination\QueryResult\EditableCombinationForListing
__construct
- parameter string $imageUrl
is not optional anymore, it is always prefilled with a value even if it is the fallback URL (no content).PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductForEditing
__construct()
expects an array of AttachmentInformation
instead of an array of attachment IDs.PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductSeoOptions
__construct()
now takes a ?ProductRedirectTarget
instead of int $redirectTargetId
.PrestaShop\PrestaShop\Core\Domain\State\Command\DeleteStateCommand
getStateId()
now returns PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateIdInterface
instead of PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId
.PrestaShop\PrestaShop\Core\Domain\State\Command\Exception\DeleteStateException
createDeleteFailure()
- The $stateId
parameter now expects PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateIdInterface
instead of PrestaShop\PrestaShop\Core\Domain\State\ValueObject\StateId
.PrestaShop\PrestaShop\Core\Email\SwiftMailerValidation
isValid()
is now strictly typed.getError()
is now strictly typed.getWarnings()
is now strictly typed.PrestaShop\PrestaShop\Core\Exception\NonASCIIInLocalPartException
CoreException
instead of Egulias\EmailValidator\Exception\InvalidEmail
.PrestaShop\PrestaShop\Core\FeatureFlag\FeatureFlagsModifier
__construct()
- The parameter TranslatorInterface $translator
has been removed.PrestaShop\PrestaShop\Core\Form\ChoiceProvider\CurrencyByIdChoiceProvider
FormChoiceAttributeProviderInterface
.PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\ManufacturerFormDataHandler
__construct()
- The second parameter is now ManufacturerImageUploader
instead of ImageUploaderInterface
.PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataHandler\EmployeeFormDataHandler
__construct()
- now takes 3 additional parameters (int $minLength
, int $maxLength
, int $minScore
).PrestaShop\PrestaShop\Core\Form\IdentifiableObject\DataProvider\CategoryFormDataProvider
__construct()
now takes a GroupDataProvider
instead of a DefaultGroupsProviderInterface
.PrestaShop\PrestaShop\Core\Grid\Definition\Factory\LogGridDefinitionFactory
__construct()
now takes a second constructor parameter: string $contextDateFormat
.PrestaShop\PrestaShop\Core\Image\ImageTypeRepository
__construct()
- The parameter Shop $shop
has been removed.PrestaShop\PrestaShop\Core\Module\ModuleRepository
PrestaShop\PrestaShop\Core\Tax\TaxOptionsConfiguration
PrestaShop\PrestaShop\Core\Configuration\AbstractMultistoreConfiguration
.__construct
now takes 4 parameters (read more).PrestaShopBundle\Controller\Admin\Sell\Customer\CustomerController
toggleStatusAction()
now returns JsonResponse
instead of RedirectResponse
.toggleNewsletterSubscriptionAction()
now returns JsonResponse
instead of RedirectResponse
.togglePartnerOfferSubscriptionAction()
now returns JsonResponse
instead of RedirectResponse
.PrestaShopBundle\Controller\Admin\TranslationsController
PrestaShopBundle\Controller\Admin\Improve\International\TranslationsController
.PrestaShopBundle\Controller\Admin\StockController
PrestaShopBundle\Controller\Admin\Sell\Catalog\StockController
.PrestaShopBundle\Event\ModuleManagementEvent
__construct()
now takes a PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
instead of a PrestaShop\PrestaShop\Adapter\Module\Module
.PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Administration\GeneralType
__construct()
- The parameter $isDebug
has been removed.PrestaShopBundle\Form\Admin\Type\TranslatorAwareType
.PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\Employee\EmployeeType
__construct()
- The parameter ConfigurationInterface $configuration
has been added.PrestaShopBundle\Form\Admin\Configure\ShopParameters\OrderPreferences\OrderPreferencesGiftOptionsFormDataProvider
__construct()
- The parameter CMSDataProvider $cmsDataProvider
has been removed.PrestaShopBundle\Form\Admin\Configure\ShopParameters\ProductPreferences\PageType
PrestaShopBundle\Form\Admin\Type\TranslatorAwareType
.PrestaShopBundle\Form\Admin\Configure\ShopParameters\ProductPreferences\PaginationType
PrestaShopBundle\Form\Admin\Type\TranslatorAwareType
.PrestaShopBundle\Form\Admin\Configure\ShopParameters\ProductPreferencesPageFormDataProvider
__construct()
- The parameter $translator
has been removed.PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\SetUpUrlType
__construct()
- The parameter $isHostMode
has been removed.PrestaShopBundle\Form\Admin\Configure\ShopParameters\TrafficSeo\Meta\ShopUrlType
__construct()
- The parameter $isHostMode
has been removed.PrestaShopBundle\Form\Admin\Improve\International\Currencies\CurrencyExchangeRateType
PrestaShopBundle\Form\Admin\Type\CommonAbstractType
.PrestaShopBundle\Form\Admin\Improve\International\Currencies\CurrencyFormDataProvider
__construct()
with two parameters ($cronExchangeRate
, $commandBus
) has been removed.PrestaShopBundle\Form\Admin\Product\ProductAttachement
__construct()
- The parameter $legacyContext
has been removed.PrestaShopBundle\Form\Admin\Product\ProductOptions
__construct()
- The parameter $productDataProvider
has been removed.__construct()
- The parameter $currencyDataprovider
has been removed.PrestaShopBundle\Form\Admin\Product\ProductPrice
__construct()
- The parameter $customerDataprovider
has been removed.PrestaShopBundle\Form\Admin\Product\ProductShipping
__construct()
- The parameter $dimensionUnit
has been added.__construct()
- The parameter $weightUnit
has been added.PrestaShopBundle\Form\Admin\Product\ProductSupplierCombination
__construct()
- The parameter $translator
has been removed.__construct()
- The parameter $legacyContext
has been removed.PrestaShopBundle\Form\Admin\Product\ProductWarehouseCombination
__construct()
- The parameter $legacyContext
has been removed.PrestaShopBundle\Form\Admin\Improve\Shipping\Preferences\PreferencesHandlingFormDataProvider
__construct()
- The parameter TranslatorInterface $translator
has been removed.PrestaShopBundle\Form\Admin\Sell\Address\ManufacturerAddressType
__construct()
- The parameter array $countryChoices
has been removed.__construct()
- The parameter array $countryChoicesAttributes
has been removed.PrestaShopBundle\Form\Admin\Sell\CatalogPriceRule\CatalogPriceRuleType
__construct()
- The parameter $currencyByIdChoicesAttributes
has been added.PrestaShopBundle\Form\Admin\Sell\Customer\CustomerType
__construct()
- The parameter ConfigurationInterface $configuration
has been added.PrestaShopBundle\Form\Admin\Sell\Order\Delivery\SlipPdfType
PrestaShopBundle\Form\Admin\Type\TranslatorAwareType
.PrestaShopBundle\Form\Admin\Sell\Product\Combination\CombinationStockType
__construct()
- The parameter RouterInterface $router
has been removed.__construct()
- The parameter bool $stockManagementEnabled
has been removed.PrestaShopBundle\Form\Admin\Sell\Product\SEO\RedirectOptionType
__construct()
- now takes one additional parameter, EventSubscriberInterface $eventSubscriber
.PrestaShopBundle\Form\Admin\Sell\Product\Pricing\SpecificPriceType
__construct()
- $currencyByIdChoiceProvider
now takes FormChoiceAttributeProviderInterface
instead of FormChoiceProviderInterface
.PrestaShopBundle\Form\Admin\Type\ChangePasswordType
__construct()
- The parameter ConfigurationInterface $configuration
has been added.PrestaShopBundle\Form\Admin\Type\TypeaheadProductPackCollectionType
PrestaShopBundle\Form\Admin\Extension\UnitTypeExtension
.PrestaShopBundle\Form\Admin\Type\TypeaheadProductPackCollectionType
__construct()
- The parameter $productAdapter
has been removed.PrestaShopBundle\Install\Install
getModulesList()
has been renamed to getModulesOnDisk()
.PrestaShopBundle\Command\AppendConfigurationFileHooksListCommand
__construct()
now takes 9 parameters.PrestaShopBundle\Command\AppendHooksListForSqlUpgradeFileCommand
__construct()
now takes 10 parameters.PrestaShopBundle\Command\CheckTranslationDuplicatesCommand
__construct()
now takes a TranslatorBagInterface
.PrestaShopBundle\Command\ConfigCommand
__construct()
- The first parameter, $legacyContextLoader
, has been removed.PrestaShopBundle\Command\DebugCommand
__construct()
- The 3rd parameter, $legacyContextLoader
, has been removed.PrestaShopBundle\Command\ExportThemeCommand
__construct()
now takes 3 parameters.PrestaShopBundle\Command\GenerateMailTemplatesCommand
__construct()
now takes 2 parameters.PrestaShopBundle\Command\LegacyLinkLinterCommand
__construct()
now takes 2 parameters.PrestaShopBundle\Command\ListCommandsAndQueriesCommand
__construct()
now takes 2 parameters.PrestaShopBundle\Command\ModuleCommand
__construct()
now takes 4 parameters.PrestaShopBundle\Command\NamingConventionLinterCommand
__construct()
now takes 2 parameters.PrestaShopBundle\Command\SecurityAnnotationLinterCommand
__construct()
now takes 2 parameters.PrestaShopBundle\Command\ThemeEnablerCommand
__construct()
now takes a ThemeManager
parameter.PrestaShopBundle\Command\UpdateEUTaxruleGroupsCommand
__construct()
now takes a string $localizationPath
parameter.PrestaShopBundle\Command\UpdateSchemaCommand
__construct()
now takes 3 parameters.PrestaShopBundle\Controller\Admin\Sell\Order\ActionsBarButtonInterface
PrestaShopBundle\Component\ActionBar\ActionsBarButtonInterface
.PrestaShopBundle\Kernel\ModuleRepositoryFactory
__construct()
- The parameter $environment
has been removed.PrestaShopBundle\Service\Grid\ResponseBuilder
__construct()
- This method now has 3 additional parameters.PrestaShopBundle\Service\DataProvider\Admin\AddonsInterface
downloadModule()
- This method has been removed from the interface.isAddonsAuthenticated()
- This method has been removed from the interface.PrestaShopBundle\Translation\Provider\SearchProvider
__construct()
- The parameter $modulesDirectory
has been removed.bindDatepicker()
includeDatepicker()
translate()
process::processInstallAddonsModules()
(from install-dev/controllers/console/process.php
)process::processInstallAddonsModules()
(from install-dev/controllers/http/process.php
)AddressFormat::_getFormatDB()
AdminCarriersController::getList()
AdminCartsController::replaceZeroByShopName()
AdminController::addPageHeaderToolBarModulesListButton()
AdminController::addToolBarModulesListButton()
AdminController::filterTabModuleList()
AdminController::initTabModuleList()
AdminController::renderModulesList()
AdminController::setDeprecatedMedia()
AdminDashboardController::displayAjaxGetBlogRss()
AdminModulesController::ajaxProcessRefreshModuleList()
AdminModulesController::ajaxProcessLogOnAddonsWebservices()
AdminModulesController::ajaxProcessLogOutAddonsWebservices()
AdminModulesPositionsControllerCore::initMain()
AdminProductsController::recurseCategoryForInclude()
Carrier::getCarrierNameFromShopName()
Cart::addExtraCarriers()
Cart::replaceZeroByShopName()
Cart::checkDiscountValidity()
Cart::deletePictureToProduct()
Cart::getOrderShippingCost()
Cart::getTaxesAverageUsed()
CartRule::checkProductRestrictions()
Category::_subTree()
Category::getShopID()
Category::getUrlRewriteInformations()
Category::getCategoryInformations()
CmsCategory::searchByNameAndParentCMSCategoryId()
Combination::loadStockData()
Configuration::getInt()
Cookie::_setcookie()
Cookie::isLogged()
Cookie::isLoggedBack()
DbPDO::_getPDO()
FrontController::addMedia()
FrontController::removeMedia()
GroupReduction::getGroupByCategoryId()
GroupReduction::getGroupReductionByCategoryId()
Helper::renderAdminCategorieTree()
Helper::renderModulesList()
Helper::l()
Helper::renderShopList()
Hook::getHookAliasList()
Hook::getRetroHookName()
ImageType::getFormatedName()
Language::recurseDeleteDir()
Language::_copyNoneFlag()
Language::installEmailsLanguagePack()
Media::getJqueryPath()
Module::checkModuleFromAddonsApi()
Module::deleteTrustedXmlCache()
Module::generateTrustedXml()
Module::isModuleTrusted()
OrderHistory::getLastOrderState()
OrderPayment::getByOrderId()
OrderSlip::createOrderSlip()
PaymentModule::formatProductAndVoucherForEmail()
PrestaShopException::getExentedMessage()
PrestaShopLogger::_isPresent()
Product::addProductAttributeMultiple()
Product::addAttributeCombinaison()
Product::addAttributeCombinationMultiple()
Product::updateQuantity()
Product::reinjectQuantities()
Product::getIdProductAttributesByIdAttributes()
Product::getAttributeCombinaisons()
Product::deleteAttributeCombinaison()
Product::deleteAttributesImpacts()
Product::getAttributesImpacts()
ProductSupplier::delete()
Shop::getTheme()
Stock::addMissingMvt()
Tax::getProductTaxRateViaRules()
TaxRule::deleteTaxRuleByIdCounty()
TaxRulesGroup::getTaxesRate()
TaxRulesGroup::getTaxes()
Tools::array_replace()
Tools::display404Error()
Tools::getCldr()
Tools::getSafeModeStatus()
Tools::jsonEncode()
Tools::jsonDecode()
Tools::addonsRequest()
Translate::getGenericAdminTranslation()
Uploader::_getFileSize()
Uploader::_getServerVars()
Uploader::_normalizeDirectory()
Validate::isPasswd()
PrestaShop\PrestaShop\Adapter\Employee\EmployeeFormAccessChecker::canAccessAddonsConnect()
PrestaShop\PrestaShop\Adapter\Hosting\HostingInformation::isHostMode()
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::clearCatalogCache()
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::clearModuleListCache()
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::getCatalogModules()
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::getCatalogModulesNames()
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::getModuleAttributesById()
PrestaShop\PrestaShop\Adapter\Module\ModuleDataUpdater::setModuleOnDiskFromAddons()
PrestaShop\PrestaShop\Adapter\Tools::bcadd()
PrestaShop\PrestaShop\Adapter\Tools::link_rewrite()
PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::disable_mobile()
PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager::enable_mobile()
PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::getModuleById()
PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository::setPrestaTrustChecker()
PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderReturnForViewing::getCarrierId()
PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderReturnForViewing::getTrackingUrl()
PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderReturnForViewing::getTrackingNumber()
PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductStockInformation::useAdvancedStockManagement()
PrestaShop\PrestaShop\Core\Domain\Product\QueryResult\ProductStockInformation::dependsOnStock()
PrestaShop\PrestaShop\Core\Employee\Access\EmployeeFormAccessCheckerInterface::canAccessAddonsConnect()
PrestaShop\PrestaShop\Core\Foundation\Version::getReleaseVersion()
PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setIsInstall()
PrestaShop\PrestaShop\Core\Localization\RTL\Processor::setRegenerate()
PrestaShopBundle\Controller\Admin\CommonController::recommendedModulesAction()
PrestaShopBundle\Controller\Admin\Improve\ModuleController::catalogAction()
PrestaShopBundle\Controller\Admin\Improve\ModuleController::getModuleCartAction()
PrestaShopBundle\Controller\Admin\Improve\ModuleController::getPreferredModulesAction()
PrestaShopBundle\Controller\Admin\Improve\ModuleController::refreshCatalogAction()
PrestaShopBundle\Entity\Tab::getHideHostMode()
PrestaShopBundle\Install\Install::getAddonsModulesList()
PrestaShopBundle\Translation\Provider\AbstractProvider::getPrestaShopLocale()
PrestaShopBundle\Translation\Provider\SearchProvider::getDomain()
PrestaShopBundle\Translation\Provider\SearchProvider::getModuleDirectory()
PrestaShopBundle\Translation\Provider\ThemeProvider::getDomain()
PrestaShopBundle\Twig\HookExtension::hookCount()
$_LANGADM
$timer_start
AdminController::$timer_start
AdminController::$logged_on_addons
AdminModulesController::$_modules_ad
Combination::$location
Combination::$quantity
CustomerNameValidator::$characterCleaner
CustomerNameValidatorFactory::$characterCleaner
Employee::$bo_show_screencast
FrontController::$smarty
FrontController::$cookie
FrontController::$link
FrontController::$cart
Module::$trusted
Order::$shipping_number
Stock::$date_upd
Stock::$quantity
Tab::$hide_host_mode
PrestaShopBundle\Entity\Repository\StockManagementRepository::$languageId
PrestaShopBundle\Entity\Repository\StockManagementRepository::$shopId
PrestaShopBundle\Entity\Repository\StockManagementRepository::$context
TypedRegexValidator::$characterCleaner
_CUSTOMIZE_FILE_
_CUSTOMIZE_TEXTFIELD_
_PS_PEAR_XML_PARSER_PATH_
_PS_SMARTY_DIR_
_PS_SWIFT_DIR_
_PS_TAASC_PATH_
_PS_TCPDF_PATH_
PS_SEARCH_MAX_WORD_LENGTH
PhpEncryption::LEGACY_ENGINE
Module::CACHE_FILE_CUSTOMER_MODULES_LIST
Module::CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST
Module::CACHE_FILE_MUST_HAVE_MODULES_LIST
Module::CACHE_FILE_TRUSTED_MODULES_LIST
Module::CACHE_FILE_UNTRUSTED_MODULES_LIST
PrestaShop\PrestaShop\Adapter\Module\AdminModuleDataProvider::_CACHEKEY_MODULES_
PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\Password::MIN_LENGTH
PrestaShop\PrestaShop\Core\Domain\Employee\ValueObject\Password::MAX_LENGTH
TRACKING_DIRECT_TRAFFIC
AdminAttributeGeneratorController
AdminPatternsController
AdminReferrersController
Referrer
PhpEncryptionLegacyEngine
Windows
OrderDiscount
PrestaShop\PrestaShop\Adapter\Addons\AddonsDataProvider
PrestaShop\PrestaShop\Adapter\Cache\CacheClearer
PrestaShop\PrestaShop\Adapter\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandler
PrestaShop\PrestaShop\Adapter\Module\PrestaTrust
(whole namespace)PrestaShop\PrestaShop\Adapter\Module\ModuleZip
PrestaShop\PrestaShop\Adapter\Module\ModuleZipManager
PrestaShop\PrestaShop\Adapter\Module\Presenter\PaymentModulesPresenter
PrestaShop\PrestaShop\Adapter\News\NewsDataProvider
PrestaShop\PrestaShop\Core\Addon\Login\Exception\LoginErrorException
PrestaShop\PrestaShop\Core\Addon\AddonsCollection
PrestaShop\PrestaShop\Core\Addon\Module\Exception\UnconfirmedModuleActionException
PrestaShop\PrestaShop\Core\Addon\Module\ModuleInterface
PrestaShop\PrestaShop\Core\Addon\Module\ModuleManager
PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepository
PrestaShop\PrestaShop\Core\Addon\Module\ModuleRepositoryInterface
PrestaShop\PrestaShop\Core\Domain\Attachment\Query\GetAttachmentInformationList
PrestaShop\PrestaShop\Core\Domain\Currency\Command\ToggleExchangeRateAutomatizationCommand
PrestaShop\PrestaShop\Core\Domain\Currency\CommandHandler\ToggleExchangeRateAutomatizationHandlerInterface
PrestaShop\PrestaShop\Core\Domain\Currency\Exception\AutomateExchangeRatesUpdateException
PrestaShop\PrestaShop\Core\Domain\Customer\QueryResult\ReferrerInformation
PrestaShop\PrestaShop\Core\Domain\Product\Command\AssociateProductAttachmentCommand
PrestaShop\PrestaShop\Core\Domain\SpecificPrice\Exception\CannotAddSpecificPriceException
PrestaShop\PrestaShop\Core\Email\SmtpDataConfigurator
PrestaShop\PrestaShop\Core\Kpi\Row\KpiRowFactory
PrestaShopBundle\Cache\Factory\CacheSubscriberFactory
PrestaShopBundle\Cache\ModuleTemplateCacheWarmer
PrestaShopBundle\Controller\Admin\Improve\Design\ThemeCatalogController
PrestaShopBundle\Controller\Admin\Improve\Modules\AddonsStoreController
PrestaShopBundle\DependencyInjection\Compiler\OverrideTwigServiceCompilerPass
PrestaShopBundle\Event\ModuleZipManagementEvent
PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\RequestSql\SqlRequestFormDataProvider
PrestaShopBundle\Form\Admin\Configure\AdvancedParameters\RequestSql\SqlRequestFormHandler
PrestaShopBundle\Form\Admin\Type\AddonsConnectType
PrestaShopBundle\Form\Admin\Type\TextWithUnitType
PrestaShopBundle\Install\Upgrade
PrestaShopBundle\Service\DataProvider\Admin\AddonsInterface
PrestaShopBundle\Service\DataProvider\Marketplace\ApiClient
PrestaShopBundle\Service\Hook\HookDispatcher
PrestaShopBundle\Twig\AdminExtension
PrestaShopBundle\Twig\Locator\ModuleTemplateIterator
admin_common_recommended_modules
admin_module_addons_store
admin_module_cart
admin_module_catalog_post
admin_module_catalog_refresh
admin_module_catalog
guzzle.cache
prestashop.adapter.admin.data_provider.addons
prestashop.adapter.cache_clearer
prestashop.adapter.currency.command_handler.update_live_exchange_rates
prestashop.adapter.news.circuit_breaker.settings
prestashop.adapter.news.circuit_breaker
prestashop.adapter.news.provider
prestashop.addons.client_api
prestashop.core.admin.data_provider.addons_interface
prestashop.core.email.smtp_configurator
prestashop.data_provider.modules.recommended
prestashop.module.zip.manager
admin-dev/ajax-tab.php
admin-dev/ajax_products_list.php
admin-dev/backup.php
admin-dev/displayImage.php
admin-dev/drawer.php
admin-dev/grider.php
admin-dev/pdf.php
admin-dev/searchcron.php
images.inc.php
admin-dev/themes/default/public/theme.rtlfix
AdminController::l()
no longer falls back to admin / legacy module translations (this is done in ModuleAdminController
now)Carrier::checkDeliveryPriceByWeight()
returns boolean now if a given carrier is available for a provided weightCarrier::checkDeliveryPriceByPrice()
returns boolean now if a given carrier is available for a provided priceModule::getModuleNameFromClass()
no longer produces side effects (i.e. it no longer loads the module’s translations)Translate::getAdminTranslation()
is now a wrapper to Context::getContext()->getTranslator()->trans()
and it no longer attempts to translate using module translations.Translate::getModuleTranslation()
no longer falls back to admin translationsApiClient::setSslVerification()
→ Configure the client passed in the constructor directly.CharacterCleaner::cleanNonUnicodeSupport()
→ There is no need to use it.Configuration::clearConfigurationCacheForTesting()
→ Use Configuration::resetStaticCache()
instead.Tools::cleanNonUnicodeSupport()
→ There is no need to use it.Tools::safePostVars()
→ Avoid using this method.Tools::redirectLink()
→ Avoid using this method. Use Tools::redirect()
instead.Translate::getAdminTranslation()
→ Use Context::getContext()->getTranslator()->trans()
.ProductImageFolderProvider
→ Will be removed in the next major version. Use ImageFolderProvider
instead.TypeaheadRedirectionTargetTransformer
→ Will be removed in the next major version. This transformer was useful when the form used a TypeAhead
form type, with the new EntitySearchInputType
it became useless because the format is more adapted by default and not complex enough to justify a transformer.Validate::isPlaintextPassword()
→ Avoid using this method. There are new methods to check password correctness.Validate::isPasswdAdmin()
→ Avoid using this method. There are new methods to check password correctness.admin-dev/filemanager/dialog.php
→ code related to Aviary has been removed from the File Manager.ps_product.unit_price_ratio
→ The reference is now ps_product.unit_price
(read more).Library name | Old version | New version |
---|---|---|
curl/curl | 1.2 | 2.3 |
csa/guzzle-bundle | 1.3 (forked) | ~ Removed ~ |
cssjanus/cssjanus | 1.2 (forked) | 2.1 |
doctrine/cache | 1.8 | 2.0 |
doctrine/doctrine-bundle | 1.6 | 2.3 |
egulias/email-validator | 2.1 | ~ Removed ~ |
guzzlehttp/cache-subscriber | 0.2 | ~ Removed ~ |
guzzlehttp/guzzle | 5.3 | 7.4 |
mrclay/minify | 2.3 | 3.0 |
paragonie/random_compat | 2.0 | ~ Removed ~ |
pelago/emogrifier | 2.1 | 5.0 |
prestashop/circuit-breaker | 3.0 | 4.0 |
prestashop/decimal | 1.4 | 1.5 |
prestashop/translationtools-bundle | 4.0 | 5.0 |
shudrum/array-finder | 1.1 | ~ Removed ~ |
symfony/polyfill-apcu | 1.0 | ~ Removed ~ |
symfony/polyfill-php73 | 1.10 | ~ Removed ~ |
symfony/symfony | 3.4 | 4.4 |
twig/twig | 1.38 | 3.4 |
The file js/rtl.js
has been removed.
The file admin-dev/themes/default/js/vendor/jquery-passy.js
has been removed.
The following dependencies, not required by the Back office directly, have been removed from Symfony-based pages: