magento / magento/community-features

Need Autocomplete Preview Feature for Site Search

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Imagine2018 moved from magento2 Priority: P2 Requires PO triage
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

### Card
**As a** customer I want an autocomplete / preview of suggested search terms and top products displayed to me as I'm typing in my search query **so that** I can find what I want to buy faster.

### Notes / Details
- Top suggested products should display product name, short description,product picture, product price
- Admin should be able to configure # of suggested search terms (default 3) and suggested products (default 3)
- Should work well for tablets and mobiles
- Autocomplete/Preview results should be cached for performance.
-- To keep effort low, cache can be managed by TTL configuration or manual purge action by admin

Coding Details / Pointers to Interfaces to use
- [Stackexchange Thread Where @paliarush provided insights on interfaces to use for autocomplete/preview](https://magento.stackexchange.com/questions/90209/magento2-advanced-searching-smartsearch/90607#90607)
- Should be easy to extend/customize. Ie CMS search is another feature on our radar
- Rough Mockup of Preview Config:
screen shot 2017-09-27 at 5 07 11 pm
- Rough Mockup of Autocomplete/Preview:
screen shot 2017-09-27 at 5 07 04 pm

### Acceptance Criteria (AC)

1. As customer types in search query they see top suggested search terms and top suggested products for the partially matched search query.
2. A customer can select a suggested search terms or top suggested product and execute that search term query or go right to that product page. They can also select all product results link. Alternatively they can hit enter and execute their search query as they have entered it.
4. An administrator can configure how many top suggested products and top suggested search terms to display
5. Developed using public apis; adding appropriate public apis so feature can be easily customized or extended in the future

**Original Report**: https://github.com/magento/magento2/issues/11104 by @choukalos

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Stack Exchange discussion and the public interfaces it identifies for autocomplete and preview. Use the acceptance criteria to define done: configurable term and product counts, selectable suggestions, mobile-friendly results, and cache management through TTL or manual purge.

Written by the indexing model from the issue text.

Assessment

Domain
backend, frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.