🛍️
Owen Hydrogen Shopify Theme
  • Overview
  • Installation
  • Import Sanity Sample Data
  • Deploy to Production
  • Theme Settings
  • Mega Menu Settings
  • Sanity CMS Modules
  • Algolia Search
  • Other Features
  • Setup Customer Account API
  • Setup Multiple Languages
    • For Owen Theme
    • For Sanity CMS
    • For Shopify (product, collection, filter, blog)
    • For Algolia Search
  • FAQ
  • Custom Hydrogen Request?
Powered by GitBook
On this page

Algolia Search

This guide will help you install and config to integration Algolia Search with Owen Hydrogen theme

PreviousSanity CMS ModulesNextOther Features

Last updated 1 year ago

Step 1: Create Algolia account and get appId, appKey information:

Step 2: Install Algolia app in Shopify Admin

You can install Algolia app for your Shopify store from this link:

From Algolia dashboard: View information about records, configure search, request, sort, filter, ... to specify the data that can be showing on the Owen theme.

Step 3: Add ALGOLIA_APP_ID and ALGOLIA_APP_KEY to algolia.config.ts file in root folder of Owen Hydrogen theme, and change your Algolia variables (prefix, all index key):

Refer to the config below that has been applied for the Owen Algolia demo:

*Note: Because Algolia does not store the brand images, you need to upload the brand images to a Shopify media directory (or any other media storage service). Don't forget to change BRAND_IMAGE_URL variable with your brand media directory link.

The brand image file name should be not have special characters, replace each space to '-' and in .webp format.

Ex: Brand name "New Balance" -> image file name should be "new-balance.webp"

You can change the render brand image logic in: app/components/search/SearchBar.tsx

Learn more about Algolia Configuration below:

https://apps.shopify.com/algolia-search
Sign inAlgolia
Configuration | AlgoliaAlgolia Documentation
Logo
Logo