Order and Product Reports
Order and product reports are features of the current mageb2b/sublogin base package. There is no separate Reports add-on to install. The base package replaces and conflicts with the retired mageb2b/sublogin-report package name.
Choose who may open reports
Open Stores > Configuration > MageB2B > Sublogin > Report settings.
| Setting | Default | Effect |
|---|---|---|
| Enable reports for customer | Yes | Makes the report screens available to the main customer account. |
| Enable reports for sublogin | No | Makes report screens available during a sublogin session. |
Keep sublogin access disabled when company-wide purchasing data should remain visible only to the main account. If you enable it, sign in as a restricted buyer and confirm the data scope matches your policy.
Available views
The base module provides order and product reporting in Magento Admin and customer-account areas. Admin roles also need the matching Sublogin report ACL resources.
Use the reports to answer practical questions such as which sublogin placed an order or which products were ordered through the company account. Reports do not replace an accounting export or a general analytics platform.
Upgrade from the former package
If an older installation still lists MageB2B_SubloginReport:
- take a database and code backup;
- update
mageb2b/subloginto a version that includes reports; - let Composer remove the retired package according to the resolved dependency set;
- run
php bin/magento setup:upgrade; - review report configuration and administrator ACL;
- test the customer and Admin report routes.
Do not force both package names into the same Composer installation.
Related: Configuration and Multi-Account Management.