We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 851397c + af8eedb commit 284fb71Copy full SHA for 284fb71
components/Search/AlgoliaSearchBox.component.jsx
@@ -24,7 +24,7 @@ const AlgoliaSearchBox = () => {
24
<div className="hidden mt-2 md:inline xl:inline">
25
<div className="">
26
<InstantSearch
27
- indexName="wp_posts_product"
+ indexName={WOO_CONFIG.ALGOLIA_INDEX_NAME}
28
searchClient={searchClient}
29
>
30
{/*We need to conditionally add a border because the element has position:fixed*/}
utils/config/nextConfig.js
@@ -6,6 +6,7 @@ export const WOO_CONFIG = {
6
GRAPHQL_URL: 'https://woocommerce.dfweb.no/graphql',
7
ALGOLIA_APP_ID: '7L9M5Y0B1K',
8
ALGOLIA_PUBLIC_API_KEY: '925cc92373120f1bf477bb8ce0e71649',
9
+ ALGOLIA_INDEX_NAME: 'dfweb',
10
};
11
12
// Development details
0 commit comments