aimanecouissi/module-login-as-customer-assistance-enforce

Enforce Login as Customer assistance and remove the opt-out 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

1.0.0 2025-09-14 11:32 UTC

This package is auto-updated.

Last update: 2025-12-14 12:36:23 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Enforces Login as Customer – Shopping Assistance and removes the storefront opt-out 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

  • Stores → Configuration → Customers → Login as Customer → Login as Customer Settings → Enforce Shopping Assistance
  • Set to Yes to enforce shopping assistance and hide the opt-out option from customers during account creation.

Usage

When enforcement is enabled, customers cannot opt out of shopping assistance on the storefront.
To verify:

  • Check that the Shopping Assistance opt-out checkbox is not shown during account creation on storefront.
  • Go to Customers → All Customers → Edit → Account Information; the Shopping Assistance field is enabled and cannot be turned off.

Uninstall

bin/magento module:disable AimaneCouissi_LoginAsCustomerAssistanceEnforce
composer remove aimanecouissi/module-login-as-customer-assistance-enforce
bin/magento setup:upgrade
bin/magento cache:flush

License

MIT