aimanecouissi / module-login-as-customer-assistance-enforce
Enforce remote shopping assistance and remove the storefront opt-in checkbox
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Type:magento2-module
pkg:composer/aimanecouissi/module-login-as-customer-assistance-enforce
Requires
- php: ~8.3.0||~8.4.0
- magento/framework: 103.0.*
README
Enforces Login as Customer remote shopping assistance and removes the storefront opt-in checkbox.
Installation
composer require aimanecouissi/module-login-as-customer-assistance-enforce bin/magento module:enable AimaneCouissi_LoginAsCustomerAssistanceEnforce bin/magento setup:upgrade bin/magento cache:flush
Configuration
Navigate to Stores → Configuration → Customers → Login as Customer → Login as Customer Settings. Set Enforce Shopping Assistance to Yes to mandate remove the opt-in option from the storefront account creation form.
Usage
When enforcement is enabled, the Allow Remote Shopping Assistance checkbox is removed from the storefront account creation form. In Admin → Customers → All Customers, the Allow Remote Shopping Assistance field appears editable but always saves as enabled regardless of the selected value.
Uninstall
bin/magento module:disable AimaneCouissi_LoginAsCustomerAssistanceEnforce composer remove aimanecouissi/module-login-as-customer-assistance-enforce bin/magento setup:upgrade bin/magento cache:flush