Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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

Activity

Total releases
5
First release
Apr 2025
Latest release
8 months ago
Releases (12 mo)
3 ▲ from 2
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
3.0.6 Stable Nov 5, 2025
3.0.5 Stable Sep 30, 2025
3.0.4 Stable Sep 25, 2025
3.0.3 Stable Apr 15, 2025
3.0.2 Stable Apr 3, 2025