$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $subscriptionProductcollection = $objectManager->create('Magento\Catalog\Model\ResourceModel\Product\Collection') ->addAttributeToSelect('*') ->addAttributeToFilter( array( array('attribute'=>'subscripion_product','eq'=>1) ) );