1274 Commits
Author SHA1 Message Date
Geoffrey K TaylorandGitHub 2cd50a1e5c Merge pull request #374 from loganstellway/issues/262-multiple-orderby-fields
Allow multiple "orderby" fields
2020-11-24 12:18:41 -05:00
Geoff Taylor 25cba27aaf CHANGELOG.md updated. v0.6.2 2020-11-24 01:15:20 -05:00
Geoff Taylor 1b9a6de9fc Version numbers updated. 2020-11-24 01:12:12 -05:00
Geoff Taylor b3c649da67 CartItem connections implemented and tested 2020-11-24 00:28:20 -05:00
Geoffrey K TaylorandGitHub 7ce8214d52 Merge pull request #380 from kidunot89/feature/itemized-cart-tax
Feature/itemized cart tax
2020-11-23 16:37:52 -05:00
Geoffrey K TaylorandGitHub 8591ea102d Merge pull request #381 from kidunot89/feature/register-customer-without-username
Make the username field optional in registerCustomer mutation
2020-11-23 16:37:44 -05:00
Geoff Taylor eed6061711 debug code removed 2020-11-23 15:33:30 -05:00
Geoff Taylor 4d24037d9c "testRegisterMutationWithoutAnyInfo" test added to the "CustomerMutationsTest" test case. 2020-11-23 15:31:58 -05:00
Hiep VuandGeoff Taylor 2dd6ae2149 Make the username field optional in registerCustomer Mutation 2020-11-23 15:09:34 -05:00
Geoff Taylor de137b4311 "totalTaxes" added to "CartQueriesTest::testCartQuery" test. 2020-11-23 14:46:41 -05:00
Ardie WenandGeoff Taylor 1f606876c1 fix: itemized field label, and price formatting 2020-11-20 23:00:07 -05:00
Ardie WenandGeoff Taylor d9ed8e822a feat: registers an object type for CartTax, and totalTaxes 2020-11-20 23:00:07 -05:00
Geoffrey K TaylorandGitHub d2315ade28 Merge pull request #376 from kidunot89/bugfix/product-connection-resolver
"Product_Connection_Resolver::set_query_arg()" removed.
2020-11-20 22:34:10 -05:00
Geoff Taylor 0eb904abdf Autoloader files rebuilt. 2020-11-20 21:49:08 -05:00
Geoff Taylor bc07902b35 "Product_Connection_Resolver::set_query_arg()" removed. 2020-11-20 21:00:13 -05:00
Geoffrey K TaylorandGitHub c6d2cbcc95 Merge pull request #375 from kidunot89/bugfix/wp-graphql-v1-ci-fix
WPGraphQL v1 CI Fix
2020-11-20 13:10:31 -05:00
Geoff Taylor 83be657b5c "hirak/prestissimo" package removed from "testing.Dockerfile" because Composer v2.0 2020-11-20 10:44:02 -05:00
Geoff Taylor c88cf81568 "extensions" field stripped from "graphql()" response during tests. 2020-11-20 10:29:10 -05:00
Geoffrey K TaylorandGitHub 20f25a1151 Merge pull request #373 from jacobarriola/patch-3
Guard against empty terms
2020-11-17 18:48:35 -05:00
Jacob Arriola 46c6772d18 If term_ids is empty pass in an array with 0 to properly guard 2020-11-17 15:09:15 -08:00
Geoffrey K TaylorandGitHub 77deeb47db Merge pull request #366 from kidunot89/bugfix/product-queries
support added for externally defined product type queries.
2020-11-17 17:49:29 -05:00
Logan StellwayandGitHub 5d3155230c Allow multiple "orderby" fields 2020-11-16 20:13:21 -08:00
Jacob ArriolaandGitHub 53cd35bb13 Guard against empty terms
Addresses #372, which prevents returning all data for a given taxonomy when it's not associated with a product.
2020-11-16 16:00:40 -08:00
Geoffrey K TaylorandGitHub 5230e69558 Merge pull request #364 from jacobarriola/patch-3
Guard against false terms when plucking IDs
2020-11-10 12:47:00 -05:00
Jacob Arriola 85ad48ece8 Add correct params after last merge 2020-11-10 09:38:25 -08:00
be5e7ceb48 Use core WC object instead of handrolling our own guards
Co-authored-by: Geoffrey K Taylor <geoffrey.taylor@outlook.com>
2020-11-10 09:29:45 -08:00
Geoff Taylor 809f2925e8 support added for externally defined product type queries. 2020-11-10 12:15:24 -05:00
Geoffrey K TaylorandGitHub d9b315f5c7 Merge pull request #355 from namli/develop
Fix Syntax Error in php7.2 and 7.4
2020-11-10 06:29:57 -05:00
Jacob Arriola 1852adec71 Formatting 2020-11-09 14:17:15 -08:00
Jacob Arriola e1e4a75848 Typo fix 2020-11-09 14:17:03 -08:00
Jacob ArriolaandGitHub 6366a9b147 Guard against false terms when plucking IDs
`get_the_terms` can return `false`, which causes errors when running anything other than an array in `wp_list_pluck`. Related to #363.
2020-11-09 14:10:35 -08:00
namli e33b0e62a6 Fix Syntax Error in php7.2 and 7.4 2020-10-28 22:58:18 +01:00
Geoffrey K TaylorandGitHub 581d473173 Merge pull request #353 from kidunot89/feature/better-extension-support
Feature/better extension support
2020-10-22 16:11:38 -04:00
Geoff Taylor cee407973f product model field filters implemented 2020-10-22 16:01:35 -04:00
Geoffrey K TaylorandGitHub d266581267 Merge pull request #351 from jacobarriola/patch-2
Connect terms to their source
2020-10-21 21:02:44 -04:00
Jacob ArriolaandGitHub 3fc6ebeeb4 Connect terms to their source
Rather than assume this only runs on `$attributes`, we need to connect the $source to it's given `$tax_object` that is passed instead.
2020-10-21 11:33:13 -07:00
Geoff Taylor 75d0e89ac9 "Order::is_private()" access level altered to match "Post::is_private()" class. 2020-10-20 14:02:38 -04:00
Geoffrey K TaylorandGitHub 697422ee2f Merge pull request #346 from jacobarriola/patch-2
Return connected TermObjects from the PostObjectType
2020-10-20 13:54:00 -04:00
Jacob ArriolaandGitHub 15dcfa75e0 Remove unused variable 2020-10-20 08:04:26 -07:00
88af7d8fc4 Ensure that no terms are returned for products that don't have that attribute assigned
Co-authored-by: Geoffrey K Taylor <geoffrey.taylor@outlook.com>
2020-10-20 07:57:49 -07:00
Jacob ArriolaandGitHub 9cfffa090d Return TermObjects from the PostObjectType
The current implementation `$source->{"$taxonomy}_ids"}` returns null, which results in all TermObjects getting returned, not just the connected ones.

`$tax_object` is an instance of `WP_Term`, so we can use the `attributes` array of the `$source` instead to collect the connected ids to properly set the query args.
2020-10-16 14:47:39 -07:00
Geoff Taylor 8a5c35868f CHANGELOG.md updated v0.6.1 2020-10-15 13:30:45 -04:00
Geoffrey K TaylorandGitHub 51e3335b87 Merge pull request #344 from imranhsayed/patch-1
Adds demo/examples
2020-10-15 13:26:39 -04:00
Geoff Taylor d0b58a0573 Merge branch 'develop' of github.com:wp-graphql/wp-graphql-woocommerce into develop 2020-10-15 13:24:17 -04:00
Geoffrey K TaylorandGitHub 95ab440de6 Merge pull request #343 from jacobarriola/patch-1
Remove undefined codecept_debug() function
2020-10-15 13:24:03 -04:00
Geoff Taylor cbd17b2cab CHANGELOG.md updated. 2020-10-15 13:22:57 -04:00
Geoff Taylor ddf7661ccf Minor patches applied 2020-10-15 13:12:57 -04:00
Imran SayedandGitHub 3a15012534 Adds demo/examples
Adds demo and source code for examples with Next.js and Gatsby
2020-10-15 22:00:34 +05:30
Jacob ArriolaandGitHub 6ba15f0148 Remove undefined codecept_debug() function 2020-10-15 06:54:29 -07:00
Geoff Taylor 673ce74547 Docker testing entrypoint script refactored to work better with old versions of PHP. 2020-10-15 00:55:33 -04:00