Reports Add-On
The Reports add-on (MageB2B_SubloginReport) adds reporting screens for Sublogin activity in both Admin and Customer Account.
Installation
composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ composer require mageb2b/sublogin-report:* php bin/magento module:enable MageB2B_SubloginReport php bin/magento setup:upgrade php bin/magento cache:flush Admin: Reports Menu
After enabling the module, Admin gets a new menu branch under Customers >Sublogins:
- Reports >Orders
- Reports >Products
Screenshot placeholder: Admin “Customers >Sublogins > Reports” menu
Customer Account: Report Links
The module adds two entries to the customer account navigation (when Sublogin is enabled):
- My Sublogin Orders Report
- My Sublogin Products Report
Screenshot placeholder: Customer account navigation with report links
Configuration
Location: Stores >Configuration > MageB2B > Sublogin > Report settings
sublogin/report/enable_for_customer– enable reports for the main customer accountsublogin/report/enable_for_sublogin– enable reports for sublogin accounts
ACL (Admin Permissions)
To allow admin users to access the report pages, grant:
MageB2B_SubloginReport::reportMageB2B_SubloginReport::report_ordersMageB2B_SubloginReport::report_products
