I've created a new product attribute 'brand'. This attribute is within my default attribute set. Now I'm trying to get all brands from a product collection within a category.
I'm fetching the product collection:
$products = $this->_productCollectionFactory
->addAttributeToSelect('brand')
->addCategoryFilter($activeCategory)
->load();
But the brand is not displayed? The attribute brand is just a simpel text attribute. How can I fetch all brands from this collection?
Thanks