• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wp-graphql / wp-graphql-woocommerce
92%

Build:
DEFAULT BRANCH: develop
Repo Added 23 May 2019 11:15PM UTC
Files 237
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH develop
branch: develop
CHANGE BRANCH
x
Reset
  • develop
  • (HEAD detached at 2d2aded)
  • (HEAD detached at 36fdf0c)
  • (HEAD detached at 466da2a)
  • (HEAD detached at 7ad701e)
  • (HEAD detached at 7b37554)
  • (HEAD detached at d616e7e)
  • (HEAD detached at d66a46d)
  • (HEAD detached at df8e25c)
  • (HEAD detached at ef50f41)
  • (HEAD detached at f4571b6)
  • (HEAD detached at pull/239/merge)
  • (HEAD detached at pull/243/merge)
  • (HEAD detached at pull/249/merge)
  • (HEAD detached at pull/255/merge)
  • chore/name-change
  • devops/variable-product-optimization
  • devops/wc-email-template-tests
  • feat/refund-mutations
  • feat/variation-type-post-fallback
  • feature/checkout-shipping-phone
  • feature/order-created-via
  • fix/elementor-transfer-session
  • fix/hpos-compatibility-declaration
  • fix/plugin-review-issues
  • fix/update-product-name-optional
  • fix/v1.0.1-bugfixes
  • master
  • perf/lazy-descriptions
  • prerelease/v1.0.1
  • prerelease/v1.0.2
  • release-v0.1.0
  • release-v0.1.1
  • release-v0.1.2
  • release-v0.2.0
  • release-v0.2.1
  • release-v0.2.2
  • release-v0.3.0
  • release-v0.3.1
  • release/v0
  • release/v0.4.0

12 Jun 2026 05:16PM UTC coverage: 91.8% (+0.009%) from 91.791%
27807934877

push

github

web-flow
feat: configurable createdVia on order mutations + WooCommerce order attribution (#1018)

* Add option to Change the created_via field.

Can be useful when WooCommerce is being used from multiply sources. For example, with plugins like Point of Sale for WooCommerce.

* feat: createdVia on checkout + WooCommerce order attribution origin

Builds on the createOrder createdVia option:

- Add a createdVia input to the checkout mutation. WC_Checkout::create_order()
  hardcodes created_via to 'checkout' after its data loop, so process_checkout()
  overrides it (and tags the attribution source type) only when createdVia is
  provided; otherwise checkout keeps WooCommerce's 'checkout' default.
- createOrder now defaults created_via to WooCommerce::get_order_attribution_source_type()
  ('graphql-api', filterable) and writes that value to the
  _wc_order_attribution_source_type order meta so GraphQL orders are attributable.
- Register a wc_order_attribution_origin_label callback that brands orders
  attributed to 'graphql-api' as the 'GraphQL' origin in WooCommerce admin.
- Cover createdVia + attribution in OrderMutationsTest and CheckoutMutationTest.

---------

Co-authored-by: Scott Kennedy <scottyzen@gmail.com>

24 of 24 new or added lines in 4 files covered. (100.0%)

18528 of 20183 relevant lines covered (91.8%)

152.68 hits per line

Relevant lines Covered
Build:
Build:
20183 RELEVANT LINES 18528 COVERED LINES
152.68 HITS PER LINE
Source Files on develop
  • Tree
  • List 237
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27807934877 develop feat: configurable createdVia on order mutations + WooCommerce order attribution (#1018) * Add option to Change the created_via field. Can be useful when WooCommerce is being used from multiply sources. For example, with plugins like Point of Sa... push 19 Jun 2026 05:56AM UTC web-flow github
91.8
27431343837 develop feat: configurable createdVia on order mutations + WooCommerce order attribution (#1018) * Add option to Change the created_via field. Can be useful when WooCommerce is being used from multiply sources. For example, with plugins like Point of Sa... push 12 Jun 2026 05:32PM UTC web-flow github
91.8
27396855361 develop feat: persist shipping phone through the checkout mutation (#1017) * feat: persist shipping phone through the checkout mutation The shipping fieldset in Checkout_Mutation::get_checkout_fields() omitted the phone field, so a phone passed in the c... push 12 Jun 2026 05:51AM UTC web-flow github
91.79
27385357936 develop feat: persist shipping phone through the checkout mutation (#1017) * feat: persist shipping phone through the checkout mutation The shipping fieldset in Checkout_Mutation::get_checkout_fields() omitted the phone field, so a phone passed in the c... push 12 Jun 2026 12:17AM UTC web-flow github
91.79
25901738015 develop chore: CHANGELOG and version numbers updated (#1015) push 15 May 2026 05:34AM UTC web-flow github
91.79
25537781736 develop chore: CHANGELOG and version numbers updated (#1015) push 08 May 2026 05:16AM UTC web-flow github
91.79
25203386747 develop chore: CHANGELOG and version numbers updated (#1015) push 01 May 2026 05:31AM UTC web-flow github
91.79
24873150568 develop chore: CHANGELOG and version numbers updated (#1015) push 24 Apr 2026 05:16AM UTC web-flow github
91.79
24548542199 develop chore: CHANGELOG and version numbers updated (#1015) push 17 Apr 2026 05:13AM UTC web-flow github
91.79
24227196277 develop chore: CHANGELOG and version numbers updated (#1015) push 10 Apr 2026 05:13AM UTC web-flow github
91.79
See All Builds (1266)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc