Mostly everything is in the title. I need to get all products that have the backorder attribute set to 0.
Something like this :
<?php
$productsCollection = $this->productCollectionFactory->create();
$productsCollection->addAttributeToSelect(['sku', 'release_date_time'])
->addAttributeToFilter('backorders', ['eq' => (int) 0]);
I tried everything, can someone help me ?
Important note : We are on Magento 2.4 with MSI activated.