Installation, licensing, and configuration guide for WooGraphQL Pro - premium GraphQL extensions for WooCommerce.
This guide walks you through installing and configuring WooGraphQL Pro on your WordPress site.
Before installing WooGraphQL Pro, ensure you have:
Install the WooCommerce extensions you want to use:
Add the private repository to your composer.json:
{ "repositories": [ { "type": "composer", "url": "https://yeetsquad.net/satispress/" } ], "require": { "axistaylor/woographql-pro": "^1.0" } }
Add authentication in auth.json:
{ "http-basic": { "yeetsquad.net": { "username": "YOUR_LICENSE_KEY", "password": "satispress" } } }
Then run:
composer install
/wp-content/plugins/woographql-proYour license key can be found in your WooGraphQL account.
WooGraphQL Pro settings are available at WPGraphQL > Settings > WooGraphQL Pro.
| Setting | Description |
|---|---|
| Enable Subscriptions | Expose WooCommerce Subscriptions types and mutations |
| Enable Composites | Expose Composite Products types and mutations |
| Enable Bundles | Expose Product Bundles types and mutations |
| Enable Add-ons | Expose Product Add-ons fields on products |
Once configured, the following types are added to your GraphQL schema:
Subscriptions
SubscriptionProduct / VariableSubscription product typesSubscription customer subscription typeaddToCart input for subscription productsComposite Products
CompositeProduct type with componentsaddCompositeToCart mutationProduct Bundles
BundleProduct type with bundled itemsaddBundleToCart mutationProduct Add-ons
productAddons field on product typesTest your installation with this GraphQL query:
{ __type(name: "SubscriptionProduct") { name fields { name } } }
If WooGraphQL Pro is properly configured, you should see the SubscriptionProduct type with its fields.