Log in
Model

AbstractResource

Magento\Catalog\Model\ResourceModel\AbstractResource

What it does

This abstract class serves as the base resource model for Magento 2 catalog entities (products, categories).

It handles store-specific attribute loading and saving, managing attribute values across different store scopes (global, website, store view).

Developers extend this class when creating custom catalog entity resource models that need EAV attribute support with multi-store functionality.

Public Methods

  • getDefaultStoreId()
  • getAttributeRawValue()