Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.

Shop domain

Shop Commands

UploadLogosCommand

PrestaShop\PrestaShop\Core\Domain\Shop\Command\UploadLogosCommand Uploads logo image files

Command details
Constructor parameters
    Handler class PrestaShop\PrestaShop\Adapter\Shop\CommandHandler\UploadLogosHandler

    Implements:

    • PrestaShop\PrestaShop\Core\Domain\Shop\CommandHandler\UploadLogosHandlerInterface
    Return type void

    Shop Queries

    GetLogosPaths

    PrestaShop\PrestaShop\Core\Domain\Shop\Query\GetLogosPaths Query responsible for getting header, email, invoice and favicon logos paths

    Query details
    Constructor parameters
      Handler class PrestaShop\PrestaShop\Adapter\Shop\QueryHandler\GetLogosPathsHandler

      Implements:

      • PrestaShop\PrestaShop\Core\Domain\Shop\QueryHandler\GetLogosPathsHandlerInterface
      Return type PrestaShop\PrestaShop\Core\Domain\Shop\QueryResult\LogosPaths

      SearchShops

      PrestaShop\PrestaShop\Core\Domain\Shop\Query\SearchShops Query responsible for getting shops for a given search term

      Query details
      Constructor parameters
      • $string $searchTerm
      Handler class PrestaShop\PrestaShop\Adapter\Shop\QueryHandler\SearchShopsHandler

      Implements:

      • PrestaShop\PrestaShop\Core\Domain\Shop\QueryHandler\SearchShopsHandlerInterface
      Return type array