aimanecouissi / module-login-as-customer-assistance-enforce
Enforce remote shopping assistance for customer accounts
Package info
github.com/aimanecouissi/magento2-module-login-as-customer-assistance-enforce
Type:magento2-module
pkg:composer/aimanecouissi/module-login-as-customer-assistance-enforce
Requires
- php: ^8.3
- magento/framework: 103.0.*
README
Enforces remote shopping assistance preferences for storefront customer accounts. The module controls the Allow remote shopping assistance opt-in during account creation and account edits according to the Login as Customer configuration.
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 → Services → Login as Customer → General. Set Enforce Remote Shopping
Assistance to Yes to keep remote shopping assistance enabled for customer accounts.
Set Auto-check Remote Shopping Assistance to Yes to preselect remote shopping assistance during customer account
creation when Enforce Remote Shopping Assistance is No.
Usage
When Enforce Remote Shopping Assistance is Yes, customer repository saves set assistance_allowed to the allowed
value and storefront account controls no longer expose the remote shopping assistance opt-in. When Auto-check Remote
Shopping Assistance is Yes and enforcement is No, storefront account creation presents Allow remote shopping
assistance selected by default.
Uninstall
bin/magento module:disable AimaneCouissi_LoginAsCustomerAssistanceEnforce composer remove aimanecouissi/module-login-as-customer-assistance-enforce bin/magento setup:upgrade bin/magento cache:flush
Changelog
See CHANGELOG for all recent changes.