File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff 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
39394 . 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+
42455 . Modify the values according to your setup
43466 . Start the server with ` npm run dev `
44477 . Enable COD (Cash On Demand) payment method in WooCommerce
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ import WOO_CONFIG from 'utils/config/nextConfig';
66import SearchResults from './SearchResults.component' ;
77
88const 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) ;
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import WOO_CONFIG from 'utils/config/nextConfig';
66import SearchResults from './SearchResults.component' ;
77
88const 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/**
You can’t perform that action at this time.
0 commit comments