Magento 2 Compare product is one of the native feature available with Out of the box. You can compare multiple products from listing and product page with a click on compare link.
If you want to know about get all the is_comparable attribute list using programmatically you need to use Magento\Eav\Api\AttributeRepositoryInterface Interface. Continue reading “Get is_comparable attribute list programmatically in magento 2.”
Magento 2 Get all the attribute list which are used in Layered Navigation in category page and search page.
You can get all the filterable attribute list by Magento\Catalog\Model\ResourceModel\Product\Attribute\CollectionFactory class.
The result will be all those attributes which have, Use in Layered Navigation status are Filterable (with results) or Filterable (no results). Continue reading “Magento 2 Get layered navigation filterable attributes list.”