LoginAsCustomerAssistance Module

Api\ConfigInterface

Interface

This interface defines configuration methods for the Login as Customer Assistance feature, specifically for retrieving text labels displayed to custom...

Api\IsAssistanceEnabledInterface

Interface

This interface defines a contract for checking whether a customer has enabled merchant assistance for the 'Login as Customer' feature. Developers use...

Api\SetAssistanceInterface

Interface

This interface defines a contract for enabling or disabling customer assistance for the Login as Customer feature. Developers implement this interface...

Config

Model

This configuration model retrieves store-level settings for the shopping assistance checkbox displayed during the 'Login as Customer' feature. Develop...

IsAssistanceEnabled

Model

This class checks whether a specific customer has enabled the 'Login as Customer' assistance feature, which allows store administrators to log in to t...

Processor\IsLoginAsCustomerAllowedResolver

Model

This class determines whether the 'Login as Customer' feature is allowed for a specific customer by checking if assistance is enabled for them. It ret...

ResourceModel\DeleteLoginAsCustomerAssistanceAllowed

Model

This resource model class deletes database records that track whether a customer has allowed merchants to use the "Login as Customer" feature. Develop...

ResourceModel\GetLoginAsCustomerAssistanceAllowed

Model

This resource model retrieves whether a specific customer has granted permission for administrators to log in as them. Developers use this class to ch...

ResourceModel\SaveLoginAsCustomerAssistanceAllowed

Model

This resource model saves a customer's consent to allow Login as Customer assistance. When a customer grants permission for admin users to log in as t...

SetAssistance

Model

This class manages the 'Login as Customer' assistance permission for individual customers in Magento 2. Developers use this to enable or disable wheth...