|
1
|
--- |
|
2
|
products: |
|
3
|
- cart |
|
4
|
- customer |
|
5
|
- payment |
|
6
|
- fulfillment |
|
7
|
- order |
|
8
|
--- |
|
9
|
|
|
10
|
export const metadata = { |
|
11
|
title: `Checkout in Storefront`, |
|
12
|
} |
|
13
|
|
|
14
|
# {metadata.title} |
|
15
|
|
|
16
|
Once a customer finishes adding products to cart, they go through the checkout flow to place their order. |
|
17
|
|
|
18
|
The checkout flow is composed of five steps: |
|
19
|
|
|
20
|
1. [Email](./email/page.mdx): Enter customer email. For logged-in customer, you can pre-fill it. |
|
21
|
2. [Address](./address/page.mdx): Enter shipping/billing address details. |
|
22
|
3. [Shipping](./shipping/page.mdx): Choose a shipping method. |
|
23
|
4. [Payment](./payment/page.mdx): Choose a payment provider. |
|
24
|
5. [Complete Cart](./complete-cart/page.mdx): Perform any payment action necessary (for example, enter card details), complete the cart, and place the order. |
|
25
|
|
|
26
|
You can combine steps or change their order based on your desired checkout flow. Once the customer places the order, you can show them an [order confirmation page](./order-confirmation/page.mdx). |
|
27
|
|
|
28
|
<Note title="Tip"> |
|
29
|
|
|
30
|
Refer to the [Express Checkout Tutorial](../guides/express-checkout/page.mdx) for a complete example of a different checkout flow. |
|
31
|
|
|
32
|
</Note> |