Skip to content

Expose events for Mega Menu item add/update/delete to improve plugin extensibility #8036

@atulrungta

Description

@atulrungta

Problem statement:
With nopCommerce 4.90, the new Mega Menu feature has been introduced, which is a great improvement for menu management.

However, this change has reduced extensibility for plugins. Before Mega Menu, plugins could add or manage menu items programmatically and attach custom behavior to them. Now, plugins are limited to using custom links, and there is no way to react to menu item creation, updates, or deletions.

Because of this, plugins can no longer:

  • Attach additional data or widgets to menu items
  • Maintain mappings between menu items and plugin entities
  • Extend Menu behavior in a clean, event-driven way

Suggestion:
Please consider exposing events for Mega Menu CRUD operations, similar to other nopCommerce extensibility points, for example:

  • Menu item inserted
  • Menu item updated
  • Menu item deleted

These events would allow plugins to hook into menu lifecycle changes without interfering with core Mega Menu functionality.

Benefit:
This would restore plugin extensibility, enable advanced navigation-related plugins, and keep the Mega Menu feature flexible while remaining fully backward compatible.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions