Checkout features can be added to your Ventrata checkout solution by doing one of two things:
Update Data-Config Attribute - by adding the below piece of code, replacing the
featureName
with the name of one of the supported features and specifying its value. Include multiple features in the same"features"
object separated by a comma,
."features": {
"featureName": value,
"featureName1": value
}
Add feature to Script or Button - add the feature to your data-config for script or button in the below format. Include multiple features in the same
"features"
object separated by a comma,
.
β<script src="https://cdn.checkout.ventrata.com/v3/production/ventrata-checkout.min.js" type="module" data-config='{"apiKey":"<YOUR_API_TOKEN>", "features": { "featureName": value, "featureName1": value } }'></script>
Ventrata checkout supports the following features:
π NOTE
Please note that the default states of most features are already implemented. With the exception of the timePickerType
feature, there is no need to specify the feature in the data-config or script unless you wish to change the default behaviour.
Feature | Default | Available Values | Description |
|
|
| Displays a field to enter promo or gift card code.
|
|
|
| Displays the number of remaining seats for the tour.
|
|
|
| Displays a bar at the bottom of the screen when multiple bookings are made in one order.
|
|
|
| Enables the Waitlists functionality, a mechanism for guests to express interest in booking a tour on dates that are currently sold out.
|
|
|
| Enables the Quotes functionality, which allows customers to postpone payment and review a booking without commitment.
|
| by default not set |
| Transforms the time selection interface from individual buttons to a dropdown menu; this feature is a prerequisite to the
|
|
|
| Organise timeslots into distinct tour groups, each with its own headline; to use this feature, make sure include the
|
|
|
| Allows the purchase of gift cards via web checkout.
|
|
|
| Disables the ability to adjust the per unit price of the gift card.
|
| by default not set |
| Enables the switch from embedded mode to pop-up mode on the specified checkout page.
|
| by default not set |
| Automatically preselects the first unit of the product with a default count of 1.
|
| by default not set |
| Control which ticket date type is displayed to customers.
|
|
|
| Automatically preselects the earliest available date.
|