Create order mode
Configuration setting
mode: 'createOrder'
Description
Allows selecting places similar to the Renderer, but with the information and permissions only available in Event Manager modes:
- no limit on the number of holds
- user can manually enter the number of places to select in an area, to create a large order
- tooltips show the number of places available in areas, as well as other information
This mode can for example be used in a Point of Sales tool.
You will need to pass in callbacks to make use of this mode, such as onObjectSelected and onObjectDeselected. There's no 'Apply changes' button, like in other modes.
Only popovers supported
You need to turn on the new popovers to see pricing when hovering an object.
Configuration
createOrder
mode supports most of the configuration options of the Renderer:
events
pricing
priceFormatter
selectionValidators
maxSelectedObjects
objectWithoutPricingSelectable
categoryFilter
availableCategories
unavailableCategories
filteredCategories
session
holdToken
showLegend
legend
channels
numberOfPlacesToSelect
And the following callbacks: