Skip to content

Commit 947fb39

Browse files
authored
Merge branch 'master' into develop
2 parents 32f39e3 + 22129d5 commit 947fb39

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ The current release has been tested and is confirmed working with the following
3737
Import the products at `WP Dashboard > Tools > Import > WooCommerce products(CSV)`
3838

3939
4. Clone or fork the repo and modify `nextConfig.js`.
40-
Then set the environment variables ALGOLIA_APP_ID and ALGOLIA_PUBLIC_API_KEY in Vercel.
40+
41+
Then set the environment variables ALGOLIA_APP_ID and ALGOLIA_PUBLIC_API_KEY in Vercel or your preferred hosting solution.
42+
4143
See https://vercel.com/docs/environment-variables
44+
4245
5. Modify the values according to your setup
4346
6. Start the server with `npm run dev`
4447
7. Enable COD (Cash On Demand) payment method in WooCommerce

components/AlgoliaSearch/AlgoliaSearchBox.component.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import WOO_CONFIG from 'utils/config/nextConfig';
66
import SearchResults from './SearchResults.component';
77

88
const searchClient = algoliasearch(
9-
// WOO_CONFIG.ALGOLIA_APP_ID,
10-
// WOO_CONFIG.ALGOLIA_PUBLIC_API_KEY
119
process.env.ALGOLIA_APP_ID,
1210
process.env.ALGOLIA_PUBLIC_API_KEY
1311
);

components/AlgoliaSearch/MobileSearch.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import WOO_CONFIG from 'utils/config/nextConfig';
66
import SearchResults from './SearchResults.component';
77

88
const searchClient = algoliasearch(
9-
WOO_CONFIG.ALGOLIA_APP_ID,
10-
WOO_CONFIG.ALGOLIA_PUBLIC_API_KEY
9+
process.env.ALGOLIA_APP_ID,
10+
process.env.ALGOLIA_PUBLIC_API_KEY
1111
);
1212

1313
/**

0 commit comments

Comments
 (0)