|
4 | 4 |
|
5 | 5 | ## This is still a work in progress, but you can place orders and add products to cart.
|
6 | 6 |
|
7 |
| -Live url: <a href="https://nextjs-woocommerce.now.sh/">https://nextjs-woocommerce.now.sh/</a> |
| 7 | +### The live URL to this site is currently connected to a local installation, so it will not work properly. |
8 | 8 |
|
9 |
| -1. Clone and activate the following plugins , in your WordPress plugin directory: |
| 9 | +1. Install and activate the following plugins, in your WordPress plugin directory: |
10 | 10 |
|
11 | 11 | * [wp-graphql](https://github.com/wp-graphql/wp-graphql) Exposes graphql for WordPress .
|
12 | 12 | * [wp-graphiql](https://github.com/wp-graphql/wp-graphiql) Provides GraphiQL IDE (playground) to the WP-Admin.
|
13 | 13 | * [wp-graphql-woocommerce](https://github.com/wp-graphql/wp-graphql-woocommerce) Adds Woocommerce functionality to a WPGraphQL schema.
|
| 14 | +* [algolia-woo-indexer](https://github.com/w3bdesign/algolia-woo-indexer) Sends WooCommerce products to Algolia. |
14 | 15 |
|
15 |
| -You can also import default wooCommerce products that come with wooCommerce Plugin for development ( if you don't have any products in your WordPress install ) `WP Dashboard > Tools > Import > WooCommerce products(CSV)`: The WooCommerce default products csv file is available at `wp-content/plugins/woocommerce/sample-data/sample_products.csv` |
| 16 | +You can also import default Woocommerce products that come with wooCommerce Plugin for development ( if you don't have any products in your WordPress install ) `WP Dashboard > Tools > Import > WooCommerce products(CSV)`: The WooCommerce default products csv file is available at `wp-content/plugins/woocommerce/sample-data/sample_products.csv` |
16 | 17 |
|
17 | 18 | 2. Clone or fork the repo and modify ```nextConfig.js```
|
18 | 19 | 3. Modify the values according to your setup
|
@@ -40,11 +41,9 @@ Start the server with ```npm run dev ```
|
40 | 41 |
|
41 | 42 | ## TODO
|
42 | 43 |
|
43 |
| -- Add more cart functionality |
44 |
| -- Add checkout functionality |
45 | 44 | - Validate remote Woocommerce session (or delete old session?)
|
46 | 45 | - Hide products not in stock
|
47 | 46 | - Add better SEO
|
48 |
| -- Add price to Algolia search (Wordpress plugin has been developed) |
| 47 | +- Add price to Algolia search (Wordpress plugin has been developed, needs to be integrated) |
49 | 48 | - Add a better README.md
|
50 | 49 | - Implement https://github.com/cyrilwanner/next-optimized-images for production
|
0 commit comments