Log in
Model

ScopeOverriddenValue

Magento\Catalog\Model\Attribute\ScopeOverriddenValue

What it does

This class determines whether an attribute value has been overridden at a specific store view level versus using the default value.

Developers use this when they need to check if a product or category attribute has a custom value set for a particular store, which is crucial for multi-store setups where different stores may display different attribute values.

Public Methods

  • containsValue()
  • getDefaultValues()
  • clearAttributesValues()