zngly / wp-graphql-acf-mutations

WP GraphQl ACF Mutations Plugin
Other
7 stars 1 forks source link

WPGraphQL WooCommerce + ACF Mutation #14

Open imdimasan opened 1 year ago

imdimasan commented 1 year ago

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!