# Globo Search + Flair

Jan 08, 2025

On this page

\\
GloboView on the Shopify App Store](https://apps.shopify.com/product-filter-and-search?utm_source=flaircommerce&utm_medium=link&utm_campaign=integrations)

## Instructions

The instructions vary depending on your [Flair generation](/content/docs/flair/generations/index.html).

### Flair Gen 3

- Open the [Shopify theme code editor](/content/docs/flair/how-tos/edit-theme/index.html#edit-theme-code).

- Open the **snippets/globo.filter.product.liquid** and add this line to the top of the file:

```liquid
{% comment %}Do not edit this file{% endcomment %}Copied!
```

- Find the line containing:

```html
<div class="h4 spf-product-card__title">Copied!
```

And add this code _before_ it:

```liquid
<flair-badges product-id="{{ product.id }}"></flair-badges>Copied!
```

- Click **Save**.

### Flair Gen 2

- Open the [Shopify theme code editor](/content/docs/flair/how-tos/edit-theme/index.html#edit-theme-code).

- Open the **snippets/globo.filter.product.liquid** and add this line to the top of the file:

```liquid
{% comment %}Do not edit this file{% endcomment %}Copied!
```

- Find the line containing:

```html
<div class="h4 spf-product-card__title">Copied!
```

And add this code _before_ it:

```liquid
<div data-flair-product-badge data-product-id="{{ product.id }}"></div>Copied!
```

- Click **Save**.

- Edit **layout/theme.liquid** and add the following just before the closing `</body>` tag:

```js
<script>
      window.addEventListener('globoFilterRenderCompleted', function (e) {
        try {
          FlairApp.refreshProductBadges();
        } catch(e) { console.log("[Flair] Error refreshing badges", e); }
      });
    </script>Copied!
```

- Click **Save**.

Navigation

Closecross-small
