E-Commerce Search
ERPNext includes a built-in search functionality across all product listing pages, allowing customers to quickly find Website Items and Item Groups. The search bar also stores recent searches, making it easier for users to revisit previously searched products.
Overview
- Search products and categories directly from product listing pages.
- Recently searched terms are saved for quick access.
- Optionally enable RediSearch for significantly faster product searches.
- Configure which Website Item fields should be included in search indexing.
How Product Search Works
Every product listing page contains a Search Bar that enables customers to search across published Website Items and Item Groups.
The search feature provides:
- Quick product discovery.
- Search across published website products.
- Recent search history for faster repeat searches.
- Support for advanced search using RediSearch (optional).
Recent searches improve the shopping experience by allowing customers to quickly access products they searched for previously.
Enable RediSearch (Optional)
RediSearch requires Redis 6+ and must be installed separately before it can be enabled.
By default, ERPNext performs searches directly from the database. For stores with a large number of products, you can optionally enable RediSearch to provide significantly faster search performance.
Enable RediSearch
Navigate to:
E Commerce Settings
↓
Item Search Settings
↓
Enable Redisearch
If RediSearch is not installed on your ERPNext instance, the standard database search will continue to function normally.
Configure Searchable Fields
RediSearch allows administrators to define which Website Item fields should be included in the search index.
Inside the Search Index Fields field, enter a comma-separated list of fields to be indexed.
Example
brand, item_name, description
After adding brand to the search index, customers can search directly using brand names.
For example:
Search: Apple Results: All Website Items where Brand = Apple
Supported Search Field Types
The following field types can be indexed for search:
- Link
- Table MultiSelect
- Data
- Small Text
- Text Editor
Include frequently searched fields such as Brand, Item Name, product descriptions, or other customer-facing attributes to improve search accuracy and product discovery.
Benefits of RediSearch
- Faster search results for large product catalogs.
- Improved customer shopping experience.
- Search across multiple configurable fields.
- Better scalability for growing e-commerce stores.
- Reduced reliance on standard database searches.
ERPNext’s built-in search works out of the box for all published Website Items. For businesses with larger catalogs, enabling RediSearch provides faster and more flexible searches by indexing configurable fields such as brand, descriptions, and other product attributes.