---
title: We-Retail example implementation
slug: m9jd0351
canonical_url: https://docs.coveo.com/en/m9jd0351/
collection: adobe
source_format: adoc
---
# We-Retail example implementation
This article shows an example of how Coveo-powered search could be implemented in Adobe Experience Manager.
This sample implementation is built on top of the We.Retail demo site and has two features:
* [A feature-rich Coveo Atomic search interface is integrated as a new page](#the-feature-rich-search-page) in the We.Retail site.
* [The We.Retail header search button is used to display a modal containing a basic Coveo Atomic search interface](#the-basic-search-interface-triggered-by-the-search-button).
This article also provides [details on how these features were implemented](#implementation-details-and-code) in the We.Retail site.
## The feature-rich search page
The animation below shows an elaborate Coveo Atomic search page comprising, among others, the following components:
* an [`atomic-facet-manager`](https://static.cloud.coveo.com/atomic/v3/storybook/index.html?path=/docs/atomic-facet-manager\--docs) component
* an [`atomic-facet`](https://static.cloud.coveo.com/atomic/v3/storybook/index.html?path=/docs/atomic-facet\--docs) component on the `source` [`field`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-facet#properties)
* an [`atomic-timeframe-facet`](https://static.cloud.coveo.com/atomic/v3/storybook/index.html?path=/docs/atomic-timeframe-facet\--docs) component
* an [`atomic-result-list`](https://static.cloud.coveo.com/atomic/v3/storybook/index.html?path=/docs/atomic-result-list\--docs) component with the [`display` property](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list#properties) set to `grid`

See [Implementation Details and Code](#implementation-details-and-code)
## The basic search interface triggered by the search button
The animation below shows how the We-Retail site search button was used to display a modal containing a very basic Coveo Atomic search interface.

See [Implementation Details and Code](#implementation-details-and-code).
[TIP.leading-practice]
#### A better implementation would be to [add a standalone search box](https://docs.coveo.com/en/atomic/latest/usage/ssb/) directly in the page header and to use the [`redirectionUrl`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-search-box#properties) parameter to redirect queries to the feature-rich search page.
#### == Implementation details and code
This section provides general information on how the two search interfaces shown above were implemented.
Details such as search interface styling are purposely omitted to focus on core implementation.
> **Note**
>
> The search interface code snippets in this section use Atomic v1 components.
>
> See [Upgrade from v1 to v2](https://docs.coveo.com/en/atomic/latest/upgrading-from-v1-to-v2/) and [Upgrade from v2 to v3](https://docs.coveo.com/en/atomic/latest/atomic-upgrade-from-v2/) for instructions on making the code snippets compatible with Atomic v3.
For the full-fledged Coveo atomic search page, a `apps/weretail/components/content/searchresults` component was created and included in the new page content.
The component `searchresults.html` code is the following:
```html