Log in

Store Module

Address\Renderer

Model

This class formats store address information into a human-readable string format using a customizable template. Developers use it to display store phy...

Api\Data\GroupInterface

Interface

This interface defines the data structure for a Store Group in Magento 2's multi-store hierarchy. Developers use this when working with store groups p...

Api\Data\StoreConfigInterface

Interface

This interface defines the contract for accessing store configuration data in Magento 2. Developers use this to retrieve or set store-specific setting...

Api\Data\StoreInterface

Interface

This interface defines the data contract for a Store entity in Magento 2's multi-store architecture. Developers use this to interact with store data t...

Api\Data\WebsiteInterface

Interface

This interface defines the contract for Website data objects in Magento 2's multi-store architecture. Developers use this when working with website-le...

Api\GroupRepositoryInterface

Repository

This interface defines the contract for managing store groups in Magento 2. Developers use it to retrieve individual store groups by ID, get a list of...

Api\StoreConfigManagerInterface

Interface

This interface defines a contract for retrieving store configuration data across one or multiple stores in Magento 2. Developers use this when they ne...

Api\StoreCookieManagerInterface

Interface

This interface defines the contract for managing store-specific cookies in Magento 2. Developers use it to retrieve the current store code from cookie...

Api\StoreManagementInterface

Interface

This interface defines a contract for managing store-related operations in Magento 2. Developers use this interface to retrieve the total count of sto...

Api\StoreRepositoryInterface

Repository

This interface defines the contract for retrieving store information in Magento 2. Developers use this repository to fetch stores by ID or code, get l...

Api\StoreResolverInterface

Interface

This interface defines a contract for resolving the current store ID in a Magento 2 multi-store setup. Developers would implement this interface to de...

Api\StoreWebsiteRelationInterface

Interface

This interface defines a contract for retrieving store information based on website ID. Developers use this when they need to get all stores assigned...

Api\WebsiteManagementInterface

Interface

This interface defines a contract for retrieving the total number of websites in a Magento installation. Developers use this when they need to check h...

Api\WebsiteRepositoryInterface

Repository

This interface defines the contract for retrieving and managing Website entities in Magento 2. Developers use this repository to fetch websites by cod...

App\Emulation

Model

This class allows developers to temporarily change the store environment context (store view, locale, design theme, translations) for operations like...

Argument\Interpreter\ServiceUrl

Model

This class generates service API URLs for Magento 2 REST endpoints by combining the base URL with store code, API version, and a specific path. Develo...

BaseUrlChecker

Model

This class validates that incoming HTTP requests match the configured base URL of a Magento store. Developers use it to ensure requests are using the...

Config\Converter

Model

This class converts database configuration data from an associative array format to a tree array structure for store-level configurations. Developers...

Config\Importer

Model

This class imports store configuration data (websites, store groups, and store views) from configuration files into the Magento database. Developers u...

Config\Importer\DataDifferenceCalculator

Model

This class compares the current Magento store configuration (websites, store groups, and store views) with new configuration data to determine what ne...

Config\Placeholder

Model

This class processes Magento configuration values by replacing URL placeholders like {{unsecure_base_url}} and {{secure_base_url}} with actual URLs. D...

Config\Processor\Fallback

Model

This class processes Magento's configuration by implementing a fallback hierarchy across different scopes (default, website, and store). It merges con...

Config\Processor\Placeholder

Model

This class processes Magento configuration data by replacing placeholder values with actual configuration values. It's used during the configuration l...

Config\ReloadDeploymentConfig

Model

This class handles reloading the deployment configuration for stores, websites, and store groups without clearing the entire cache. Developers would u...

Config\StoreView

Model

This class retrieves theme and locale configuration information across all store views in a Magento installation. Developers use it when they need to...

Config\Validator

Model

This validator ensures that Magento's deployment configuration contains at least one non-admin website, store group, and store view. Developers encoun...

Data\StoreConfig

Model

This class is a data transfer object (DTO) that represents store configuration values for a Magento store view. Developers use it to retrieve or set s...

DefaultStoreScopeProvider

Model

This class provides the default store scope context for entity operations in Magento 2. Developers use this when they need to ensure operations are pe...

Group

Model

The Group class represents a Store Group (formerly called Store View Group) in Magento 2's multi-store hierarchy. Developers use this model to manage...

GroupRepository

Model

This repository class manages store groups in Magento 2, providing methods to retrieve individual groups or lists of all groups. Developers use it to...

HeaderProvider\Hsts

Model

This class manages the HTTP Strict-Transport-Security (HSTS) header for Magento responses. It sets a security header that forces browsers to only comm...

HeaderProvider\UpgradeInsecure

Model

This class adds a Content-Security-Policy header with 'upgrade-insecure-requests' directive to HTTP responses when both frontend and admin are configu...

Indexer\WebsiteDimensionProvider

Model

This class provides website-based dimensions for Magento's multidimensional indexing system. Developers use this when implementing custom indexers tha...

Information

Model

This class retrieves and formats store information such as name, address, phone number, and business hours from the store configuration. Developers us...

Message\EmptyGroupCategory

Model

This class generates a system notification message when store groups in Magento 2 are not associated with a root category. Developers would encounter...

Model\ResourceModel\Group\Collection

Collection

This class manages collections of store groups in Magento 2, allowing developers to retrieve, filter, and manipulate multiple store group records from...

Model\ResourceModel\Store\Collection

Collection

This collection class manages and retrieves store view data in Magento 2's multi-store system. Developers use it to fetch stores with various filters...

Model\ResourceModel\Website\Collection

Collection

This collection class retrieves and manages Website records from the database in Magento 2. Developers use it to load website data, filter by website...

Model\ScopeInterface

Interface

This interface defines constants for Magento's scope levels (stores, groups, websites) used throughout the system for configuration, pricing, and cont...

Model\StoreManagerInterface

Interface

The StoreManagerInterface provides methods to manage and retrieve Magento's multi-store architecture components including stores, websites, and store...

Model\StoreResolver\ReaderInterface

Interface

This interface defines methods for retrieving store information within a specific scope in Magento 2. Developers implement this interface when creatin...

Model\StoreSwitcherInterface

Interface

This interface defines the contract for handling store view switching in Magento 2. Developers implement this interface to control what happens when c...

Model\StoreSwitcher\ContextInterface

Interface

This interface defines the contract for passing context information during store view switching operations in Magento 2. Developers use this when impl...

Model\StoreSwitcher\RedirectDataInterface

Interface

This interface defines the contract for handling data during store view switching in Magento 2. Developers implement this interface to securely transf...

Model\StoreSwitcher\RedirectDataPostprocessorInterface

Interface

This interface defines a contract for post-processing redirect data when customers switch between different stores in a multi-store Magento setup. Dev...

Model\StoreSwitcher\RedirectDataPreprocessorInterface

Interface

This interface defines a contract for preprocessing redirect data when customers switch between different store views in Magento. Developers implement...

Model\StoreSwitcher\RedirectDataSerializerInterface

Interface

This interface defines methods for serializing and unserializing redirect data when customers switch between stores in a multi-store Magento setup. De...

PathConfig

Model

PathConfig determines URL security requirements and default paths for the Magento storefront. Developers would use this class when implementing custom...

Resolver\Group

Model

This class resolves store groups (collections of stores within a website) in Magento 2's scope hierarchy. Developers use it to retrieve specific store...

Resolver\Store

Model

This class resolves and retrieves store scope objects in Magento 2. Developers use it when they need to get a specific store instance by ID or retriev...

Resolver\Website

Model

This class resolves and retrieves website scope objects in Magento's multi-website architecture. Developers use it to get a specific website by ID or...

ResourceModel\Group

Model

This resource model manages database operations for Magento store groups, which are organizational units that group stores together under a website. D...

ResourceModel\Store

Model

This resource model manages database operations for Magento store entities. Developers use it to retrieve store data, count stores in the system, and...

ResourceModel\StoreWebsiteRelation

Model

This resource model retrieves store-website relationship data from the database. Developers use it to fetch stores associated with a specific website,...

ResourceModel\Website

Model

This resource model manages database operations for Magento websites (the highest level in Magento's store hierarchy). Developers use this class when...

ScopeFallbackResolver

Model

This class determines the fallback hierarchy for Magento's scope system (default, website, store, group). When a configuration value isn't found at a...

ScopeResolver

Model

This class determines whether one Magento scope (store view, website, or global) belongs to or is a child of another scope in the hierarchy. Developer...

ScopeTreeProvider

Model

This class builds a hierarchical tree structure representing Magento's scope configuration (default → websites → store groups → store views). Develope...

ScopeTypeNormalizer

Model

This class normalizes Magento scope type names between their singular and plural forms (website/websites, store/stores, group/groups). Developers use...

ScopeValidator

Model

This class validates whether a given scope (like store, website, or default) and its corresponding scope ID are valid in Magento. Developers use this...

Service\StoreConfigManager

Model

This service class retrieves and manages store configuration data for Magento stores. Developers use it to fetch comprehensive store settings includin...

Store

Model

The Store model represents a single store view in Magento 2's multi-store architecture. Developers use this class to get store-specific configuration...

StoreCookieManager

Model

This class manages the store code cookie in Magento 2, which tracks which store view a customer is currently browsing. Developers use this class to re...

StoreDimensionProvider

Model

This class provides store dimensions for Magento's indexer system, allowing indexers to iterate through all stores and create separate index data per...

StoreIsInactiveException

Model

This exception is thrown when attempting to access or perform operations on a store that has been disabled or is inactive in Magento. Developers would...

StoreManagement

Model

This class manages store-related operations in Magento 2, specifically providing functionality to count the total number of stores in the system. Deve...

StoreManager

Model

StoreManager is the primary service for managing and retrieving store, website, and store group information in Magento 2. Developers use this class to...

StoreRepository

Model

This repository class manages the retrieval and caching of store entities in Magento 2. Developers use it to fetch store information by code or ID, ge...

StoreResolver

Model

This class determines which store view should be used for the current request by checking the URL path, request parameters, or store cookies. Develope...

StoreResolver\GetStoresListByWebsiteIds

Model

This class retrieves a list of store IDs associated with given website IDs in Magento's multi-store setup. Developers would use this when they need to...

StoreResolver\Group

Model

This class resolves store information based on store group scope. Developers use it to retrieve all active store IDs belonging to a specific store gro...

StoreResolver\ReaderList

Model

This class manages a collection of store resolver readers for different scope levels (website, group, store) in Magento 2. Developers use it to retrie...

StoreResolver\Store

Model

This class resolves store-related information by retrieving allowed store IDs and default store IDs based on scope codes. Developers use this when the...

StoreResolver\Website

Model

This class resolves and retrieves store information within a website scope in Magento 2. Developers use it to get all active store IDs for a specific...

StoreScopeProvider

Model

This class provides store-level scope context for entities in Magento 2. It determines which store an entity belongs to by checking entity data for a...

StoreSwitcher

Model

This class manages the store switching process in Magento 2, determining the correct redirect URL when customers switch between different store views....

StoreSwitcher\CannotSwitchStoreException

Model

This is a custom exception class thrown when Magento cannot switch between store views, typically during multi-store operations or when a customer tri...

StoreSwitcher\CleanTargetUrl

Model

This class cleans up target URLs during store switching by removing store-related query parameters like '___from_store' and store code identifiers. De...

StoreSwitcher\Context

Model

This class serves as a data transfer object (DTO) that encapsulates context information during store view switching operations in Magento 2. Developer...

StoreSwitcher\HashGenerator

Model

This deprecated class generates and validates temporary security tokens (hashes) when customers switch between store views in Magento. It creates time...

StoreSwitcher\HashGenerator\HashData

Model

This class is a data container that holds information required for generating one-time tokens during store view switching. Developers use this class t...

StoreSwitcher\HashProcessor

Model

This class handles secure store switching by processing and validating one-time tokens passed via URL parameters. It's used when customers switch betw...

StoreSwitcher\ManagePrivateContent

Model

This class manages private content versioning during store switching in Magento 2. When a customer switches between stores (e.g., from US to UK store)...

StoreSwitcher\ManageStoreCookie

Model

This class manages store view cookies during store switching operations in Magento 2. When a customer switches between different store views, it eithe...

StoreSwitcher\RedirectData

Model

This class is a data transfer object (DTO) that holds secure redirect information when customers switch between different store views in Magento. It e...

StoreSwitcher\RedirectDataCacheSerializer

Model

This class handles secure serialization and deserialization of store switcher redirect data using cache storage. Developers use it when implementing s...

StoreSwitcher\RedirectDataGenerator

Model

This class generates secure redirect data when switching between different store views in Magento. It collects context information, serializes it, cre...

StoreSwitcher\RedirectDataPostprocessorComposite

Model

This composite class orchestrates multiple redirect data post-processors when customers switch between stores. Developers use this to extend store swi...

StoreSwitcher\RedirectDataPreprocessorComposite

Model

This class acts as a composite processor that chains multiple redirect data preprocessors together when switching between store views. Developers use...

StoreSwitcher\RedirectDataValidator

Model

This class validates the security and freshness of redirect data when customers switch between stores in a multi-store Magento setup. It ensures the r...

StoresConfig

Model

This class retrieves configuration values for a specific configuration path across all stores in a Magento installation. Developers use it when they n...

StoresData

Model

This class manages the retrieval and caching of active store IDs based on the current run mode and scope. Developers use this when they need to determ...

System\Store

Model

This class provides a centralized way to retrieve and manage Magento's store hierarchy (websites, store groups, and store views) for use in forms, dro...

Validation\StoreCodeValidator

Model

This class validates store codes in Magento 2 to ensure they follow proper naming conventions. Developers use this validator when creating or updating...

Validation\StoreNameValidator

Model

This validator class checks if a store name is valid by ensuring it is not empty. Developers use this class when creating or updating stores to valida...

Validation\StoreValidator

Model

This validator class validates Store model objects against a configurable set of validation rules. Developers use this class to ensure store data meet...

Website

Model

The Website model represents a Magento 2 website entity, which is the top level of the store hierarchy (Website > Store Group > Store View). Developer...

WebsiteManagement

Model

This class manages website-level operations in Magento's multi-website architecture. Developers use it to retrieve the total count of websites configu...

WebsiteRepository

Model

WebsiteRepository is the primary service for retrieving website entities in Magento 2. Developers use this repository to fetch websites by code or ID,...