Static e-commerce powered by WooCommerce & Nuxt
The goal of WooNuxt is to provide a modern, fast, and SEO-friendly front-end for WooCommerce. Itโs built on 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 custom components and modules. You can see a live demo of WooNuxt by clicking the button below.
Demo | URL |
---|---|
Netlify Demo | https://v3.woonuxt.com/ |
Vercel Demo | https://woonuxt-v3.vercel.app/ |
NuxtHub Demo | https://woo.nuxt.dev/ |
Customized Demo | https://myshop.woonuxt.com/ |
You can find some common errors and how to fix them here
GQL_HOST
. Check out the .env.example
file for more details.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 its 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.
Here is a branch with an example of some basic customizations:
And here is the live demo of the customized WooNuxt site: My Shop.
Feature | Ongoing Enhancements | In the Pipeline | In Progress | Done | Next |
---|---|---|---|---|---|
Performance | ๐ท | โ | |||
SEO | ๐ท | โ | โ | ||
Cart | โ | ||||
Search | โ | ||||
Shipping | โ | ||||
Checkout (Stripe, PayPal, Cash on Delivery) | ๐ท | โ | ๐ถ | ||
Filtering | ๐ท | โ | |||
Wishlists | โ | ||||
Account | โ | ||||
Coupons | โ | ||||
Product Reviews | โ | ||||
Product Category Pages | โ | ||||
WooNuxt Settings Module | ๐ท | โ | |||
Better TypeScript Support | ๐ท | โ | |||
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) | ๐ท | โ |
ย
Plugin Name | Description |
---|---|
WPGraphQL | A free, open-source plugin for WordPress |
WooGraphQL | GraphQL API for WooCommerce |
WPGraphQL Cors | Enable CORS for WPGraphQL |
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.
ย
Payment Method | Supported |
---|---|
Stripe | โ |
PayPal Standard | โ |
Cash on Delivery | โ |
GQL_HOST
- The URL of your WordPress site. This is the only required environment variable. The WooNuxt Settings plugin will automatically populate the rest of the environment variables for you.
ย
Plugin/Software | Version |
---|---|
WordPress | 6.6.1 |
WooCommerce | 9.2.1 |
WPGraphQL | 1.28.1 |
WooGraphQL | 0.21.0 |
WPGraphQL CORS | 2.1 |
Node | 20.16.0 |
PHP | 8.2 |
Language | Code |
---|---|
English ๐บ๐ธ | en |
German ๐ฉ๐ช | de |
Spanish ๐ช๐ธ | es |
French ๐ซ๐ท | fr |
Italian ๐ฎ๐น | it |
Portuguese ๐ต๐น | pt |
mkcert localhost
to generate a certificate for localhost. You should now have a localhost.pem
and localhost-key.pem
file in your current directory. See the image below for an example.mkcert -install
to install the certificate authority.npm run dev:ssl
to start the dev server with SSL.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, Alex Lykesas, 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.