Globo Search + Flair | Flair
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.
Flair Gen 3
Open the Shopify theme code editor.
Open the snippets/globo.filter.product.liquid and add this line to the top of the file:
{% comment %}Do not edit this file{% endcomment %}Copied!
- Find the line containing:
<div class="h4 spf-product-card__title">Copied!
And add this code before it:
<flair-badges product-id="{{ product.id }}"></flair-badges>Copied!
- Click Save.
Flair Gen 2
Open the Shopify theme code editor.
Open the snippets/globo.filter.product.liquid and add this line to the top of the file:
{% comment %}Do not edit this file{% endcomment %}Copied!
- Find the line containing:
<div class="h4 spf-product-card__title">Copied!
And add this code before it:
<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:
<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