在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wp-graphql/wp-graphql-woocommerce开源软件地址(OpenSource Url):https://github.com/wp-graphql/wp-graphql-woocommerce开源编程语言(OpenSource Language):PHP 98.7%开源软件介绍(OpenSource Introduction):WPGraphQL WooCommerce (WooGraphQL)Docs • AxisTaylor • Join Slack Quick Install
What can you do with this extension?
(*) These operations have user restrictions. Please read up on authenticating an user with here, then view this React/Apollo example with the added on usage of customer session Token. (#) This is the recommended method on checkout. You can read it's usage in this excellent write-up by @jacobarriola Why don't the WooCommerce CPT GraphQL types support all the same features as most WordPress CPTs that WPGraphQL exposes?The CPTs as well as most of the data objects that WooCommerce defines are wrapped in a object managers distributed by a data store system. This data store system allows for each individual data object to be defined however needed. What this means is, although by out of the box objects like products, orders, and coupons are defined as WordPress CPTs they don't have to be. This is what also enables WooCommerce to store most meta connected to these CPTs in separate tables. The object data doesn't even have to be in the same database if the object's data store designed to manage somewhere else, but we are getting out of the scope of this question. What does all this This has led to some friction is certain areas of the schema where WooGraphQL support is lacking. I'm sorry for the inconvience, myself and whole WPGraphQL org are working to reduce this friction and WooGraphQL properly integrated with all WPGraphQL + WPGraphQL ACF features. Thank you for your patience @kidunot89 Future Features
PlaygroundFeel 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 (*). (*) I have a tendency to forget to update the playground between releases |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论