Next Generation Front-End for WooCommerce
Introduction
The goal of WooNuxt is to provide a modern, fast, and SEO friendly front-end for WooCommerce. It's built on top of Nuxt 3 and uses the WPGraphQL API to retrieve all the data it needs. It's also fully customizable and can be extended with your own components and modules. You can see a live demo of WooNuxt by clicking the button below.
๐ Live Demo of WooNuxt โก๏ธ
ย
Get Started
- Download the lates WooNuxt Settings (woonuxt-settings.zip) from the releases page here: Releases
- Install and activate the plugin on your WordPress site. This will install all the required plugins for WooNuxt, add some useful fields to the WPGraphQL schema, and automatically retrieve the WooCommerce payment gateway settings for Stripe and PayPal.
- Once the plugin is activated you are ready to deploy WooNuxt on whatever hosting you like or click one of the fast deploy buttons below.
- Once the plugin is activated the only required environment variable is
GQL_HOST
. Checkout the .env.example file for more details.
ย
How to customize & extend WooNuxt ๐จ
WooNuxt now uses the Nuxt layers feature to make it easy to customize any part of WooNuxt. Just like you would with a WordPress theme with it's child theme.
Example: I have created a pages directory and added a contact.vue
file in the pages directory. This will override the default contact page that comes with WooNuxt. You can do this with any page or component. So think of the woonuxt_base
folder as the parent theme and the root folder as the child theme.
ย
Progress
Feature | Ongoing Enhancements | In the Pipeline | In Progress | Done | Next |
---|---|---|---|---|---|
Proformanance | ๐ท | โ | |||
SEO | โ | ๐ถ | |||
Cart | โ | ||||
Search | โ | ||||
Shipping | โ | ||||
Checkout (Stripe, PayPay, Cash on Delivery) | โ | ||||
Filtering | ๐ท | โ | |||
Wishlists | โ | ||||
Account | โ | ||||
Coupons | โ | ||||
Product Reviews | โ | ||||
Product Category Pages | โ | ||||
WooNuxt Settings Module | ๐ท | โ | |||
Better Typescript Supp | ๐ท | โ | |||
Mobile layout | ๐ท | โ | |||
Countries & States Enums | โ | ||||
Cookie Popup & GDPR Compliance | โ | ||||
Progressive Web App (PWA) | โ | ||||
Queuing System (for checking out when the server is busy) | โ | ||||
Language Support (i18n) | ๐ท | โ |
ย
Required WordPress Plugins
Plugin Name | Description | Link |
---|---|---|
WPGraphQL | A free, open-source plugin for WordPress | https://www.wpgraphql.com/ |
WooGraphQL | GraphQL API for WooCommerce | https://woographql.com/ |
WPGraphQL Cors | Enable CORS for WPGraphQL | https://github.com/funkhaus/wp-graphql-cors |
Note The the woonuxt-settings.zip plugin will help you install all the required plugins. WooGraphQL 0.13.0 and up is required to get the list of available countries and states. You can find the latest version of WooGraphQL here.
ย
Required Environment Variables
GQL_HOST
- The URL of your WordPress site. This is the only required environment variable.
ย
Tested up to:
Plugin/Software | Version |
---|---|
WordPress | 6.3.1 |
WooCommerce | 8.1.1 |
WPGraphQL | 1.16.0 |
WooGraphQL | 0.15.0 |
Node | 16.18.1 |
PHP | 8.2 |
Current translations
Language | Code |
---|---|
English ๐บ๐ธ | en |
German ๐ฉ๐ช | de |
Spanish ๐ช๐ธ | es |
French ๐ซ๐ท | fr |
Italian ๐ฎ๐น | it |
Portuguese ๐ต๐น | pt |
Credits
This is an ongoing project but it wouldn't be possible without the help of the following people: Jason Bahl & Geoffrey K Taylor for their ongoing work on WPGraphQL and WooGraphQL respectively. Also, a big thanks to the Nuxt team for all their hard work making Nuxt 3 a pleasure to build upon. And the WooCommerce team for making such a great e-commerce platform. Some other honorable mentions are Funkhaus for their work on the WPGraphQL Cors plugin. And the people who have contributed to making WooNuxt better every day. Zack Hatlen, Galli, Guillaume, Thank you all! ๐
I don't know where this project will go but I'm excited to see what the future holds. If you have any questions or would like to contribute to the project please feel free to reach out to me on Twitter or GitHub.
ย
Note If you're looking for the old version of WooNuxt you can find it on the v2 branch.