Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Webform Order

Security covered Under active development 605 sites

Part of the Commerce ecosystem · 487 projects

This module enables users to create Drupal Commerce orders directly from Webform submissions. It allows you to sell any purchasable entity, integrate payment methods, and customize cart behavior, offering full Drupal Commerce flexibility within the Webform user experience.

This module integrates Webform with Drupal Commerce to create orders with the submission data of a Webform through a dedicated Webform handler.

Key features

  • Commerce Webform Order Handler— a Webform handler that creates a Commerce order from a submission, with support for creating, updating, and deleting order items.
  • Payment Method element— a Webform element that embeds the Commerce payment method selector directly inside your form.
  • Purchasable Entity element— a Webform element for selecting any entity that implements PurchasableEntityInterface (products, product variations, custom purchasable entities, etc.).
  • Flexible cart behavior— configure redirects, or clear the current cart.

How it works

  1. Build or edit a webform under admin/structure/webform . (See the Webform documentation for details on the form builder itself).
  2. Open the form's handlers screen at admin/structure/webform/manage/`webform_id`/handlers and add the Commerce Webform Order Handler.
  3. In the handler settings, you can customize:
    • The store that sells the purchasable entities.
    • The order item, including overrides for properties like price or currency.
    • The cart behavior— redirection, or emptying the existing cart.

Try it out!

The fastest way to see Commerce Webform Order in action is the Commerce Webform Order Demo recipe, which installs the most common use cases out of the box.

Live examples

Live examples of this module working in the real world:

Awards


We're proud to share that the module Commerce Webform Order has been recognized by the Spanish Drupal community in the Drupal Splash Awards Spain 2025 as the winner in the Technology category.

Sponsors

This module exists thanks to the organizations that funded its development:

Similar modules

Webform Product is the closest alternative, but the two modules solve different problems:

  • Webform Product sells webform submissions— the submission itself is the purchasable thing. It currently works best with off-site payment providers.
  • Commerce Webform Order is a thin layer on top of Drupal Commerce that lets you sell any entity implementing PurchasableEntityInterface— products, variations, donations, memberships, or anything else you've defined.

If you need full Commerce flexibility (multiple purchasable entity types, on-site payments, complex pricing) while keeping Webform's UX, Commerce Webform Order is the right fit.

Looking for Drupal support?

Premium support from the project maintainers
Get in touch with us
Drupal 9–11

Ask your assistant about Commerce Webform Order

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
17
Tracked since
Aug 2023
Latest release
11 months ago
Releases (12 mo)
1 ▼ from 6
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
3.0.6 Stable 9–11 Nov 5, 2025
3.0.5 Stable 9–11 Sep 30, 2025
3.0.4 Stable 9–11 Sep 25, 2025
3.0.3 Stable 9–11 Apr 15, 2025
3.0.2 Stable 9–11 Apr 3, 2025
3.0.1 Stable 9–11 Nov 27, 2024
3.0.0 Stable 9–10 Oct 22, 2024
3.0.0-beta10 Pre-release 9–10 Dec 5, 2023
3.0.0-beta9 Pre-release 9–10 Nov 30, 2023
3.0.0-beta8 Pre-release 9–10 Nov 30, 2023