You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Make sure WooCommerce has some products already or import some sample products
48
46
49
-
The WooCommerce sample products CSV file is available at `wp-content/plugins/woocommerce/sample-data/sample_products.csv` or [Sample products](sample_products/)
47
+
3. Make sure WooCommerce has some products already or import some sampleproducts
50
48
51
-
Import the products at `WP Dashboard > Tools > Import > WooCommerce products(CSV)`
49
+
The WooCommerce sample products CSV file is available at `wp-content/plugins/woocommerce/sample-data/sample_products.csv` or [Sample products](sample_products/)
52
50
53
-
4. Clone or fork the repo and modify `.env.example` and rename it to `.env`
51
+
Import the products at `WP Dashboard > Tools > Import > WooCommerce products(CSV)`
52
+
53
+
4. Clone or fork the repo and modify `.env.example` and rename it to `.env`
54
+
55
+
Then set the environment variables accordingly in Vercel or your preferred hosting solution.
56
+
57
+
See <https://vercel.com/docs/environment-variables>
58
+
59
+
5. Modify the values according to your setup
60
+
61
+
6. Start the server with `npm run dev`
62
+
63
+
7. Enable COD (Cash On Demand) payment method in WooCommerce
64
+
65
+
8. Add a product to the cart
66
+
67
+
9. Proceed to checkout (Gå til kasse)
54
68
55
-
Then set the environment variables accordingly in Vercel or your preferred hosting solution.
56
-
57
-
See https://vercel.com/docs/environment-variables
58
-
59
-
5. Modify the values according to your setup
60
-
6. Start the server with `npm run dev`
61
-
7. Enable COD (Cash On Demand) payment method in WooCommerce
62
-
8. Add a product to the cart
63
-
9. Proceed to checkout (Gå til kasse)
64
69
10. Fill in your details and place the order
65
70
66
71
## Features
67
72
68
-
- Next.js version 12.3.1
69
-
- Connect to Woocommerce GraphQL API and list name, price and display image for products
70
-
- Support for simple products and variable products
71
-
- Cart handling and checkout with WooCommerce (Cash On Delivery only for now)
0 commit comments