The current release has been tested and is confirmed working with the following versions:
For debugging and testing, install either:
Make sure WooCommerce has some products already or import some sample products
The WooCommerce sample products CSV file is available at
wp-content/plugins/woocommerce/sample-data/sample_products.csv or Sample products
Import the products at
WP Dashboard > Tools > Import > WooCommerce products(CSV)
Clone or fork the repo and modify
.env.example and rename it to
Then set the environment variables accordingly in Vercel or your preferred hosting solution.
Modify the values according to your setup
Start the server with
npm run dev
Enable COD (Cash On Demand) payment method in WooCommerce
Add a product to the cart
Proceed to checkout (Gå til kasse)
Fill in your details and place the order
Check that you are using the 0.6.2 version of the wp-graphql-woocommerce plugin
Check the attributes of the products. Right now the application requires Size and Color.
Overall the application is working as intended, but it has not been tested extensively in a production environment. More testing and debugging is required before deploying it in a production environment.
With that said, keep the following in mind: