assignCategoryIds example

AdditionalTextServiceInterface $additionalTextService
    ) {
        parent::__construct($entity$entityManager);
        $this->contextService = $contextService;
        $this->additionalTextService = $additionalTextService;
    }

    public function getList($identifiers)
    {
        $products = parent::getList($identifiers);
        $products = $this->assignAdditionalText($products);
        $products = $this->assignCategoryIds($products);
        $products = $this->assignPrice($products);

        return $products;
    }

    protected function createListQuery()
    {
        $query = $this->entityManager->createQueryBuilder();
        $query->select([
            'variant.id as id',
            'variant.id as variantId',
            
Home | Imprint | This part of the site doesn't use cookies.