Log in
Model

GroupExcludedWebsite

Magento\Customer\Model\ResourceModel\GroupExcludedWebsite

What it does

This resource model manages database operations for customer group exclusions from specific websites in Magento's multi-website setup.

Developers use this class to load, save, or delete records that define which websites should exclude certain customer groups, enabling fine-grained control over customer group visibility across different store websites.

It includes caching functionality to optimize performance when retrieving exclusion data.

Public Methods

  • _resetState()
  • invalidateCache()
  • loadCustomerGroupExcludedWebsites()
  • loadAllExcludedWebsites()
  • delete()
  • deleteByWebsite()