Do you want to know how to get products collection based on product attribute or custom attribute in magento 2. It's very simple. Just use this code.

Read More