This module integrates Webform with Drupal Commerce and it allows creating orders with the submission data of a Webform via a Webform handler.
What does this module provide?
- A Webform element for embedding the payment method selector (Payment Method).
- A Webform handler for creating a commerce order with a webform submission (Commerce Webform Order Handler).
Usage
- Go to admin/structure/webform and create or edit a webform, you can find extensive documentation in the Webform module docs: https://www.drupal.org/docs/8/modules/webform
- In the handlers admin screen (admin/structure/webform/manage/`webform_id`/handlers) you should be able to add a "Commerce Webform Order Handler" one.
- In the handler settings, you can customize:
- The store that sells the purchasable entities.
- Order item (allowing to override certain properties such price or currency).
- Cart behaviours such as redirection or empty the current cart.
Sponsors
- Initial development: Fundación UNICEF Comité Español
- Contrib version: Awakened Heart Sangha
- Update/Delete order items: Mile3 Web Development, Inc.
- Payment method selector/Purchasable Entity: Asociación para la defensa de la naturaleza WWF/ADENA
Try out a demonstration
Launch a new instance and enable the "Commerce Webform Order Demo" module: https://simplytest.me/configure?project=commerce_webform_order&version=3...
More info about how to launch a new instance: https://www.drupal.org/docs/contributed-modules/simplytestme/quick-setup...
Live example
Here's a live example of this module working in the real world: https://www.unicef.es/hazte-socio
Similar modules
- Webform Product: Webform Product can create a Commerce order from any Webform submission. The module currently only works well with off-site payment providers.
The main difference between Webform Product (WP) and Commerce Webform Order (CWO) is that WP sells webform subissions and CWO is simply a layer on top of commerce that allows you to sell any entity that implements PurchasableEntityInterface.
Project information
- Module categories: E-commerce
- Ecosystem: Webform, Commerce Core
- 625 sites report using this module
- Created by facine on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Development version: 3.x-dev updated 5 Dec 2023 at 10:52 UTC