StatusProcessor
Magento\CatalogImportExport\Model\Import\Product\StatusProcessor
What it does
This class manages product status changes during the import process in Magento 2.
Developers use it to track whether a product's enabled/disabled status has changed between the old data in the database and new imported data, enabling efficient updates by only modifying products whose status actually changed.
It's primarily used within the product import functionality to optimize status attribute updates.
Public Methods
- isStatusChanged()
- loadOldStatus()
- setStatus()