package |
Default |
---|
getArticleSalesPerMainShopCategory(\DateTime|null $from = null, \DateTime|null $to = null) : \Shopware\Components\Model\DBAL\Result
Articles may have multiple categories assigned to them. We first map articles down to the respective main shop categories, then select the category with the lowest position ("first"/"most important" main shop category).
\DateTime|null
\DateTime|null
\Shopware\Components\Model\DBAL\Result