Log in
Model

ConditionBuilder

Magento\Catalog\Model\ResourceModel\Attribute\ConditionBuilder

What it does

This class builds database query conditions for catalog attribute operations when attributes have website scope.

Developers use it internally when Magento needs to update, delete, or insert attribute values across multiple stores within a website, ensuring data consistency at the correct scope level.

Public Methods

  • buildExistingAttributeWebsiteScope()
  • buildNewAttributesWebsiteScope()