fireArticleByIdEvents example

$data['sDescriptionKeywords'] = $this->getDescriptionKeywords(
            $data['description_long']
        );

        $isSelectionSpecified = false;
        if (isset($data['isSelectionSpecified']) || \array_key_exists('isSelectionSpecified', $data)) {
            $isSelectionSpecified = $data['isSelectionSpecified'];
        }

        if ($isSelectionSpecified === true || !$product->hasConfigurator()) {
            $data = $this->legacyEventManager->fireArticleByIdEvents($data$this);

            return $data;
        }

        $criteria = new Criteria();
        foreach ($selection as $groupId => $optionId) {
            $criteria->addBaseCondition(
                new VariantCondition([(int) $optionId], true, (int) $groupId)
            );
        }

        
Home | Imprint | This part of the site doesn't use cookies.