Skip to content

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, not Magento_CompanyRelation, which only handles the backend logic.

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:

  1. To keep the main header cleaner
  2. It only displays when logged in (to a company account)
  3. To avoid CLS given the output is all client side rendered (part of private section data)

Contributors

Voting

Use 👍 to cast your vote.

Edited by John Hughes
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information