#StackBounty: #magento2 #knockoutjs #mini-cart #product-type Filter by product type in minicart

Bounty: 50

In Magento 2, I have made a special system. When a (configurable or virtual) product is ordered, the related products are automatically added.

The configurable and virtual products are mealboxes, and the related products that come with the box are the recipes. They are free of charge, and are added so the customer can ‘save’ the recipes in the customer dashboard that way.

Enough of that, now my question:

In the minicart, I want to filter the products. I want to show every product type EXCEPT for the downloadable products. But I don’t know how to filter this, since the products are loaded via knockout.js…

Is there a way to do this?


Get this bounty!!!