Skip to main content
All CollectionsWeb CheckoutManuals
How to Use the Restricted Ticket Type Feature
How to Use the Restricted Ticket Type Feature

Customise ticket date types at checkout to match your product settings and business needs.

Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over 2 weeks ago

Ventrata Ticket Date Types

Ventrata checkout offers two types of ticket dates:

  1. Fixed - tickets are purchased for a specific date and time at the time of purchase.

  2. Flexible - tickets are purchased to be used anytime between the time of purchase and the set validity.

If your product includes tours on specific days and times, customers will be presente with a selection of available dates and times. If voucher validity is set on the product detail form, a flexible ticket date option will also be available. When both conditions are met, customers can choose between both options at checkout.

Tickets - Fixed & Flexible Date

Tickets - Fixed & Flexible Dates


Set Voucher Validity

To enable flexible tickets, set the voucher validity date on the product detail form.

  1. In the Ventrata dashboard, go to Products > Products.

    Products - Products

    Products - Products

  2. Select the desired product.

  3. Press the pen and paper icon to edit the product.

    Edit Product

    Edit Product

  4. Scroll down the form or search for 'Voucher Validity'.

  5. Set the number of days a ticket is valid for since the purchase date.

    Voucher Validity (days)

    Voucher Validity (days)

  6. Press the Update Product button at the bottom of the form.

    Update Product

    Update Product


Update Data-Config

With the restrictedTicketType feature, you can control which ticket date type is displayed to customers.

Add the below piece of code in the data-config attribute of your checkout script, see the Implementation Guide for more information.

​

"features": {
"restrictedTicketType": "fixed" / "flexible"
}

​
You can add the restrictedTicketType feature to your data-config for script or button.
​

<script src="https://cdn.checkout.ventrata.com/v3/production/ventrata-checkout.min.js" type="module" data-config='{"apiKey":"<YOUR_API_TOKEN>", "features": { "restrictedTicketType": "flexible" } }'></script>

πŸ“’ NOTE

Make sure the product ID is specified in the data-config as this feature is applied per-product.


Restricted Ticket Type Flow

Fixed Ticket Date

The customer selects a product with "restrictedTicketType": "fixed" . The customer has to select a date and tour time (if applicable) to complete the booking.

The customer has to be present at the tour location or meeting point on the selected date and time to redeem their tickets.

Fixed Ticket Type

Fixed Ticket Date

πŸ“˜ EXAMPLE

Guided Tours: To ensure proper scheduling of guides and optimal groups sizes, customers are required to select a specific date and time for their tour. This allows for efficient planning and a smooth experience.

Flexible Ticket Date

The customer selects a product with "restrictedTicketType": "flexible" . The customer is informed that they have to use their tickets within the set number of days since the purchase date.

The customer must present their ticket(s) at the tour location or meeting point anytime between today and the set number of days.

Flexible Ticket Date

Flexible Ticket Date

πŸ“˜ EXAMPLE

Hop-On Hop-Off City Tours: Your tour allows customers to join or leave at any stop along the route. Tickets are valid for 30 days from the date of purchase, giving customers the freedom to choose when to enjoy the experience.

Interchangeable Ticket Dates

This feature is applied to a specific product on a page. However, you can offer the same product on different pages, with one page offering fixed ticket dates and another offering a flexible ticket date if the product settings allow for both.

πŸ“’ NOTE

The restrictedTicketType feature is not transferred to other products in the checkout flow, for example, combination products. Those will behave based on their product settings without a forced ticket date type.

Did this answer your question?