Home / Magento / Magento 2 get custom category attribute

Magento 2 get custom category attribute

public function getCategoryCollection()
    {
        $collection = $this->_categoryCollection->create()
            ->addAttributeToSelect('*')
            ->addAttributeToFilter('is_home_category', '1');

        return $collection;
    }

About Sushil Kumar

Check Also

Mladen Lotar will be joining us on #MM18HR stage with “Production grade PWA”

We are very proud to present one of our ex-coworkers – Mladen Lotar who will …

Leave a Reply

Your email address will not be published. Required fields are marked *