-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Graphql checkout tutorial #4271
Graphql checkout tutorial #4271
Conversation
An admin must run tests on this PR before it can be merged. |
Hi @keharper. Could you check please if you already have this information prepared? Thank you |
Wow. Just wow. This is massive, and I'm absolutely stunned. It'll take a while to fully process this and figure out everything. Give me a week to figure this out. |
Removed unnecessary line
1. Add info about coupon operations
…irster/devdocs into graphql-checkout-tutorial
1. Fix remove coupon response
1. Made corrections for setShippingMethodsOnCart regarding magento/graphql-ce#609
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fantastic tutorial. I've added a lot of quote reference material in the develop
branch since you submitted the tutorial. You might want to add more links to those topics.
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shipping-method.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shopping-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shopping-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shopping-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shopping-cart.md
Outdated
Show resolved
Hide resolved
…-product-to-cart.md
…-product-to-cart.md
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-billing-address.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shipping-method.md
Outdated
Show resolved
Hide resolved
@keharper , moving PR to your plate again :) All suggestions have been implemented. Please verify. Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Global: Change all instances of {{ SOMETHING }} to { SOMETHING } or create a different way to represent tutorial variables. Don't change our system variables like {{ page.baseurl }}
The system attempts to process strings like {{ CART_ID }} in the same way as {{ page.baseurl }}, and so they display as null.
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-add-product-to-cart.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shipping-address.md
Outdated
Show resolved
Hide resolved
guides/v2.3/graphql/tutorials/checkout/checkout-shipping-address.md
Outdated
Show resolved
Hide resolved
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last round, I think. Don't forget to update the samples for adding products to the cart.
guides/v2.3/graphql/tutorials/checkout/checkout-shipping-method.md
Outdated
Show resolved
Hide resolved
Merge remote-tracking branch 'upstream/master' into graphql-checkout-tutorial
This point already done in the |
Removing a couple of notes since a similar note is now in the top section. Added a couple of minor edits.
running tests |
Fix outdated link
running tests |
Hi @atwixfirster, thank you for your contribution! |
Yippee-ki-yay. Thank you @atwixfirster for this massive contribution. You're a star. |
Thank you, @keharper 😊 Thank you for all your hard work on this one 👍 |
Purpose of this PR
This PR adds a tutorial for the checkout workflow regarding issue #589.
PR contains a pack of GraphQl API functions which is currently under develop:
Affected URLs
New URLs:
Links to source code
Thank you!
whatsnew
Added the GraphQL checkout tutorial, which provides an overview of the steps you need place an order on behalf of a guest or logged-in user.