WooCommerce GraphQL Fields
This plugin extends the WP GraphQL plugin and exposes WooCommerce product fields for querying. **Note this plugin has NOT been tested with WordPress 5.0. And I don't maintain it currently. Submit a PR if you wish to update it.
by Jordan Lee · github.com/jkhaui/woocommerce-graphql · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jkhaui/woocommerce-graphql/archive/refs/heads/master.zipInstructions:
-
Download the zip file
-
Install it like any other plugin (either through the WP admin panel, or uploading into your plugins folder via FTP and unzipping). Note that you must have WooCommerce and WP GraphQL (https://github.com/wp-graphql/wp-graphql) installed.
This plugin assumes WP GraphQL is installed on your server under the path /wp-graphql-develop/wp-graphql.php. Otherwise it will throw an error, so check your plugins folder for /wp-graphql/ directory if this happens. Need to find a better way to check for dependencies