Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPGraphQL WooCommerce + ACF Mutation #14

Open
imdimasan opened this issue Aug 16, 2023 · 0 comments
Open

WPGraphQL WooCommerce + ACF Mutation #14

imdimasan opened this issue Aug 16, 2023 · 0 comments

Comments

@imdimasan
Copy link

imdimasan commented Aug 16, 2023

Hello. Installed plugin, tested ACF mutation. It works fine for "Posts", "Pages", etc.
But I found that I cant mutate WooCommerce entities, such as "productCategory".

Here is example of mutation:
mutation MyMutation { updateProductCategory( input: {id: "dGVybTo2NDY=", enTitle: "EN title translation", enSeoTitle: "EN seo title translation"} ) { productCategory { enTranslation { enDescription enSeoDescription enSeoTitle enTitle } } } }

Request always returns default values.
"data": { "updateProductCategory": { "productCategory": { "enTranslation": { "enDescription": null, "enSeoDescription": null, "enSeoTitle": null, "enTitle": null } } } },

Is it possible to fix that? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant