Commerce EntityForm

Component ID

1907348

Component name

Commerce EntityForm

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module extends both commerce and EntityForm. It allows the site owner to create Entity webforms with a new product field. The productfield allows the listing of one or more products which the site user would then select from. When the form is submitted the products are added to the users shopping cart. The webform results page shows the submitted forms and intiially marks products as unpaid. Later, when the user has paid for the products in their basket, the webform submission is updated and all products that made it to the checkout are then marked as having been paid for.

The main use cases is for creating complex product selection screens. EntityForm is very good at capturing choices and offering options. The products that get added to an order can then be based on the results of the submission. An example would be a single webform which would offer registration to an event. All user choices could be captured in the webform, and product choices add to the shopping basket. For example, the main delegate attendance product is marked as mandatory on the webform meaning it has to be added to the basket. The optional wifi product could then be added as a second product field to the webform but not made mandatory. Alongside this the webform submission could collect other data about the delegate such as meal choices, seminar preferences or special access requirements.

This project is currently under development and welcomes suggestions and contributions in the issue queue.