Rebuild platform menu

Rebuilds the B2B platform menu to factory defaults.

bin/console b2b:platform-menu:rebuild

Resets platform menu structure to B2B Sellers default configuration.

Requirements:

  • All B2B addons must be installed and activated

Process:

  1. Deletes all existing menu items from b2bsellers_platform_menu_item table

  2. Recreates core menu structure

  3. Applies menu migrations (URLs, feature flags)

  4. Dispatches PlatformMenuRebuildEvent for addons

  5. Installs menu translations

Use Case:

  • After addon installation/uninstallation

  • Fixing corrupted menu structure

  • Restoring default menu after customization

Last updated

Was this helpful?