src/Adapter/ProductPreparation/ProductDataPreparator.php
protected function prepareData($product, $categoryPath)
    {
        $currentProductId = $product->oeEcondaTrackingGetProductId();
        $productData = [
            'pid' => $currentProductId,
            'sku' => $product->oeEcondaTrackingGetSku(),
        ];

        $currency = Registry::getConfig()->getActShopCurrencyObject();
        $productMergedData = array_merge(
            $productData,
            [
                'name'  => $this->getProductTitlePreparator()->prepareProductTitle($product),
                'group' => "{$categoryPath}/{$product->oxarticles__oxtitle->value}",
                'price' => $product->getPrice()->getBruttoPrice() * (1 / $currency->rate),
                'var1' => $product->getVendor() ? $product->getVendor()->getTitle() : "NULL",
                'var2' => $product->getManufacturer() ? $product->getManufacturer()->getTitle() : "NULL",
                'var3' => $product->getId(),
            ]
        );

        return $productMergedData;
    }
protected function prepareData($product, $categoryPath)
    {
        $currentProductId = $product->oeEcondaTrackingGetProductId();
        $productData = [
            'pid' => $currentProductId,
            'sku' => $product->oeEcondaTrackingGetSku(),
        ];

        $currency = Registry::getConfig()->getActShopCurrencyObject();
        $productMergedData = array_merge(
            $productData,
            [
                'name'  => $this->getProductTitlePreparator()->prepareProductTitle($product),
                'group' => "{$categoryPath}/{$product->oxarticles__oxtitle->value}",
                'price' => $product->getPrice()->getBruttoPrice() * (1 / $currency->rate),
                'var1' => $product->getVendor() ? $product->getVendor()->getTitle() : "NULL",
                'var2' => $product->getManufacturer() ? $product->getManufacturer()->getTitle() : "NULL",
                'var3' => $product->getId(),
            ]
        );

        return $productMergedData;
    }
@param Article|ProductInterface $product
@param string                   $categoryPath

@return array