docs: fix highlights in checkout storefront guide (#10793)
This commit is contained in:
@@ -176,16 +176,16 @@ export const highlights = [
|
||||
["23", "fetch", "Retrieve available payment providers."],
|
||||
["34", "setSelectedPaymentProvider", "If a payment provider was selected before, pre-fill it."],
|
||||
["40", "handleSelectProvider", "This function is executed when the customer submits their chosen payment provider."],
|
||||
["53", "fetch", "Create a payment collection for the cart when it doesn't have one."],
|
||||
["76", "fetch", "Initialize the payment session in the payment collection for the chosen provider."],
|
||||
["95", "fetch", "Retrieve the cart again to update its data."],
|
||||
["111", "getPaymentUi", "This function shows the necessary UI based on the selected payment provider."],
|
||||
["112", "activePaymentSession", "The active session is the first in the payment collection's sessions."],
|
||||
["118", "", "Test which payment provider is chosen based on the prefix of the provider ID."],
|
||||
["119", `"pp_stripe_"`, "Check if the chosen provider is Stripe."],
|
||||
["127", `"pp_system_default"`, "Check if the chosen provider is the default systen provider."],
|
||||
["133", "default", "Handle unrecognized providers."],
|
||||
["168", "getPaymentUi", "If a provider is chosen, render its UI."]
|
||||
["54", "fetch", "Create a payment collection for the cart when it doesn't have one."],
|
||||
["74", "fetch", "Initialize the payment session in the payment collection for the chosen provider."],
|
||||
["93", "fetch", "Retrieve the cart again to update its data."],
|
||||
["108", "getPaymentUi", "This function shows the necessary UI based on the selected payment provider."],
|
||||
["109", "activePaymentSession", "The active session is the first in the payment collection's sessions."],
|
||||
["115", "", "Test which payment provider is chosen based on the prefix of the provider ID."],
|
||||
["116", `"pp_stripe_"`, "Check if the chosen provider is Stripe."],
|
||||
["124", `"pp_system_default"`, "Check if the chosen provider is the default systen provider."],
|
||||
["130", "default", "Handle unrecognized providers."],
|
||||
["165", "getPaymentUi", "If a provider is chosen, render its UI."]
|
||||
]
|
||||
|
||||
```tsx highlights={highlights}
|
||||
|
||||
@@ -146,7 +146,7 @@ export const generatedEditDates = {
|
||||
"app/storefront-development/checkout/complete-cart/page.mdx": "2024-12-19T16:30:41.019Z",
|
||||
"app/storefront-development/checkout/email/page.mdx": "2024-12-19T16:30:40.122Z",
|
||||
"app/storefront-development/checkout/payment/stripe/page.mdx": "2024-12-19T16:30:39.173Z",
|
||||
"app/storefront-development/checkout/payment/page.mdx": "2024-12-19T16:30:38.192Z",
|
||||
"app/storefront-development/checkout/payment/page.mdx": "2025-01-02T08:47:20.531Z",
|
||||
"app/storefront-development/checkout/shipping/page.mdx": "2024-12-26T15:34:51.431Z",
|
||||
"app/storefront-development/checkout/page.mdx": "2024-06-12T19:46:06+02:00",
|
||||
"app/storefront-development/customers/addresses/page.mdx": "2024-12-19T16:38:44.847Z",
|
||||
|
||||
Reference in New Issue
Block a user