Giter Site home page Giter Site logo

namli / wp-graphql-woocommerce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wp-graphql/wp-graphql-woocommerce

0.0 0.0 0.0 3.74 MB

Add WooCommerce support and functionality to your WPGraphQL server

Home Page: https://woographql.com

License: GNU General Public License v3.0

Shell 1.45% PHP 98.10% Dockerfile 0.45%

wp-graphql-woocommerce's Introduction

WPGraphQL WooCommerce (WooGraphQL)

DocsAxisTaylor • Join Slack

Automated-Testing Coding-Standards Coverage Status Financial Contributors on Open Collective

Quick Install

  1. Install & activate WooCommerce
  2. Install & activate WPGraphQL
  3. Clone or download the zip of this repository into your WordPress plugin directory & activate the WP GraphQL WooCommerce plugin.
  4. (Optional) Install & activate WPGraphQL-JWT-Authentication to add a login mutation that returns a JSON Web Token.
  5. (Optional) Install & activate WPGraphQL-CORS to add an extra layer of security using HTTP CORS and some of WPGraphQL advanced functionality.

What does this plugin do?

It adds WooCommerce functionality to the WPGraphQL schema using WooCommerce's CRUD objects.

Features

  • Query product, product variations, customers, coupons, orders, refunds and more with complex filtering options.
  • Manipulate customer session data using customer and cart mutations while managing customer session token using HTTP headers or cookies (not recommended). HTTP header example w/ React/Apollo
  • Create orders using the order mutations with the checkout mutation.

Future Features

  • Payment Processing
  • Adminstrator mutations. Eg. Creating and deleting products, coupons, and refunds.

Playground

Feel free to test out the extension using this GraphiQL Playground. The playground allows you to execute queries and mutations, as well as view the schema.

Wanna help support WooGraphQL's future.

Follow alt textalt text

Demo/Examples

Examples with Next.js

Next.js WooCommerce Theme [source] [demo video]

Examples with Gatsby

Gatsby WooCommerce Theme [source] [demo video]

Who using WooGraphQL

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

wp-graphql-woocommerce's People

Contributors

hwsiew avatar imranhsayed avatar jacobarriola avatar jasonbahl avatar kidunot89 avatar monkeywithacupcake avatar namli avatar ranaaterning avatar renatonascalves avatar saleebm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.