Magento_CompanyRelation (Company Hierarchy)
Magento Modules:
- Magento_Company
- Magento_CompanyRelation
Only
Magento_Company
contains frontend affecting changes for compatibility purposes
Adobe Commerce Packages
- magento/module-company
- magento/module-company-relation
Repository
Note: this repo is only accessible with a Hyvä Enterprise license or as a contributor.
For more details, see: https://www.hyva.io/hyva-enterprise.html.
https://gitlab.hyva.io/hyva-enterprise/b2b/magento2-ee-magento-company
Features
All points are rated according to priority as P1 (critical), P2 (important), P3 (minor).
-
basic - does not break layout/design
Note: All below features assume output only if company accounts are enabled in Stores > Configuration:
btob/website_configuration/company_active
.
Reset Theme Updates
-
[P1] Add layout updates to reset theme for the above modules
Global
Dev note: all functionality below is part of the
Magento_Company
module, notMagento_CompanyRelation
, which only handles the backend logic.
-
[P1] Add the current users available company data to the company-permissions-loaded
event
Customer Account Header Navigation Menu
-
[P1] Add company switcher within navigation menu
Note: this placement is inside the account menu, rather than the header for the below reasons:
- To keep the main header cleaner
- It only displays when logged in (to a company account)
- To avoid CLS given the output is all client side rendered (part of private section data)
Contributors
Voting
Use