You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commerce/5.x/development/checkout.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@ The primary design constraint for multi-step checkout is dependent data:
21
21
22
22
A few [store settings](../system/stores.md#settings) can also impact what data you need to collect:
23
23
24
-
-`requireBillingAddressAtCheckout`and `requireShippingAddressAtCheckout` ensure carts have each kind of address before payment or completion is allowed.
25
-
-`requireShippingMethodSelectionAtCheckout`
26
-
-`allowCheckoutWithoutPayment`and `allowPartialPaymentOnCheckout` can be used to generate invoices and estimates, or other special handling. Administrators can later use the _Manual_ gateway to record offline payments.
27
-
-`allowEmptyCartOnCheckout` is generally not advisable, except when customers need to open an order that will be modified by an administrator, later. You can still collect custom field data on an empty cart.
28
-
- Returning customers may appreciate the convenience of `autoSetNewCartAddresses`and `autoSetPaymentSource`, especially for frequent, small orders. These settings have no impact for stores that do not use registration and accounts.
29
-
- Stores with a single shipping method should enable `autoSetCartShippingMethodOption`and present the shipping price. [Discounts](../system/discounts.md) can still modify shipping costs, so you are still able to run shipping promotions.
24
+
-**Require Shipping Address At Checkout**and **Require Billing Address At Checkout** ensure carts have each kind of address before payment or completion is allowed.
25
+
-**Require Shipping Method Selection At Checkout** guarantees that the customer has selected a valid shipping method (but may result in some customers being unable to check out at all, say, due to restrictions on shipping zones).
26
+
-**Allow Checkout Without Payment**and **Allow Partial Payment On Checkout** can be used to generate invoices and estimates, or other special handling. Administrators can later use the _Manual_ gateway to record offline payments.
27
+
-**Allow Empty Cart On Checkout** is generally not advisable, except when customers need to open an order that will be modified by an administrator, later. You can still collect custom field data on an empty cart.
28
+
- Returning customers may appreciate the convenience of **Auto Set New Cart Addresses**and **Auto Set Payment Source**, especially for frequent, small orders. These settings have no impact for stores that do not use registration and accounts.
29
+
- Stores with a single shipping method should enable **Auto Set Cart Shipping Method Option**and present the shipping price as early as possible. [Discounts](../system/discounts.md) can still modify shipping costs, so you are still able to run shipping promotions.
30
30
31
31
To complete an order, you’ll have the customer submit a request to the [`payments/pay`](../reference/controller-actions.md#post-payments-pay) action.
32
-
Stores that allow zero-total orders or have `allowCheckoutWithoutPayment` enabled can use the [`cart/complete`](../reference/controller-actions.md#post-cart-complete) action to quickly submit an order.
32
+
Stores that allow zero-total orders or have **Allow Checkout Without Payment** enabled can use the [`cart/complete`](../reference/controller-actions.md#post-cart-complete) action to quickly submit an order.
33
33
Either way, “completing” a cart turns it into a [read-only order](orders.md#post-checkout).
0 commit comments