Magento 2 Admin Search Module

February 16, 2025 ยท View on GitHub

Magento Version License

Overview ๐Ÿš€

The Magento 2 Admin Search Module enhances the global search functionality in the admin panel by enabling fast and efficient searches through the main entities. It addresses the limitations of the default Magento global search, offering a more noticeable and performant solution.

Show Case

Benefits ๐ŸŽ‰

  • โšก Performance: The module leverages ElasticSearch/OpenSearch for search operations, ensuring fast and efficient results even with large datasets.
  • ๐Ÿ‘€ Visibility: Unlike the default search, the enhanced search is more noticeable and user-friendly, streamlining admin workflows.
  • ๐Ÿ”’ Access Control: The module respects Magento ACL permissions, ensuring users only see results they are authorized to access, maintaining security and compliance.

Searchable Entities ๐Ÿ”

  • Orders
  • Customers
  • Products
  • Categories
  • CMS Pages
  • CMS Blocks
  • Catalog Price Rules
  • Cart Price Rules

Installation ๐Ÿ”ง

composer require vasileuski/magento2-module-admin-search

Configuration โš™๏ธ

The module settings can be found in the Magento admin panel under the following path:
Stores โ†’ Configuration โ†’ Advanced โ†’ Admin โ†’ Admin Search

Available Options:

  • Sticky Header: Customers can toggle the sticky header feature.

Troubleshooting ๐Ÿ› ๏ธ

If no results are displayed in the search bar, execute the following CLI command to ensure proper indexing:

bin/magento indexer:reindex admin_search_blocks admin_search_catalog_price_rules admin_search_cart_price_rules admin_search_categories admin_search_customers admin_search_orders admin_search_pages admin_search_products

License ๐Ÿ“„

This module is open-source and licensed under the MIT License.

Support and Contact ๐Ÿ’ฌ

For any issues, feature requests, or contributions, please open an issue on the GitHub repository.