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
Should be easy to extend/customize. Ie CMS search is another feature on our radar
Rough Mockup of Preview Config:
Rough Mockup of Autocomplete/Preview:
Acceptance Criteria (AC)
As customer types in search query they see top suggested search terms and top suggested products for the partially matched search query.
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.
An administrator can configure how many top suggested products and top suggested search terms to display
Developed using public apis; adding appropriate public apis so feature can be easily customized or extended in the future
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
-- To keep effort low, cache can be managed by TTL configuration or manual purge action by admin
Coding Details / Pointers to Interfaces to use
Acceptance Criteria (AC)
Original Report: https://github.com/magento/magento2/issues/11104 by @choukalos