Part of the Commerce ecosystem · 497 projects
This module allows you to add custom fields to your Drupal Commerce orders, which can then be displayed and filled out by customers during the checkout process. You can use these fields to collect additional information, such as order comments or shipping notes.
Commerce Checkout Order Fields exposes order form display modes as checkout panes, allowing you to collect additional order data during checkout.
The module provides a new checkout form view mode on orders so that at least one checkout pane is available. Customizing the form display mode will expose those fields at checkout
This can be used to collect additional data during the checkout, for example:
- Order comments
- Shipping notes
- ..
Configuration
- Open your order type in commerce configuration and switch to tab "Manage fields" (e.g. /admin/commerce/config/order-types/default/edit/fields).
- Now add the fields that you wish to add to your checkout process. E.g. add a "Text (plain, long)" field to allow users to provide order comments.
- You can create multiple fields but they will appear all at one defined location in the checkout process later.
- Next the display of the fields is configured. Switch to tab "Manage form display" (e.g. /admin/commerce/config/order-types/default/edit/form-display).
- Here activate the custom display settings for "Checkout" at the end of the page. Then save.
- Now you can edit the "Checkout" display settings (e.g. /admin/commerce/config/order-types/default/edit/form-display/checkout).
- Here disable all fields except your new fields.
- Finally, you can specify where the new fields should be displayed. This is on the checkout flow configuration page (e.g. /admin/commerce/config/checkout-flows/manage/default).
- Move the pane "Order fields: Checkout" to the right section, e.g. "Review".
Ask your assistant about Commerce Checkout Order Fields
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Commerce Core >=3
- Commerce Core commerce_checkout
- field_ui Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Commerce ecosystem
Most installed first