cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - Get Categories by Custom Category Attribute

Magento 2 - Get Categories by Custom Category Attribute

I've created a yes/no toggle category attribute named is_featured, its shown as "Homepage Category" in the screenshot below.

 

Screenshot 2019-03-15 at 17.40.49.png

 

I'd like to be able to display (on the homepage cms page) all categories with this category attribute set to yes, I'd need to grab the category title, url, thumbnail etc, does anyone have any recommended steps on how to achieve this?

1 REPLY 1

Re: Magento 2 - Get Categories by Custom Category Attribute

Hello @KarlStephens .

 

Please upload screenshot on third party service, I'm not able to see attached screenshot

 

--
If my answer is useful, please Accept as Solution & give Kudos