Log in
Model

SkuProcessor

Magento\CatalogImportExport\Model\Import\Product\SkuProcessor

What it does

This class manages SKU (Stock Keeping Unit) processing during product imports in Magento 2.

It tracks both existing SKUs from the database and new SKUs from import files, providing methods to retrieve, add, and update SKU data.

Developers use this when building custom import functionality or extending the catalog import/export process to handle product identification and validation.

Public Methods

  • setTypeModels()
  • getOldSkus()
  • reloadOldSkus()
  • addNewSku()
  • setNewSkuData()
  • getNewSku()