Skip to main content

Adding Multiple Tickets to the Same Calendar in Smeetz Widget

This guide explains how to configure the Smeetz booking widget to display multiple tickets in a single calendar.

Updated this week

It covers the steps for creating the widget, selecting tickets, adding the necessary code, and explaining the logic behind the display of timeslots and prices.

Steps to follow

1. Create the Booking Widget

  • Go to Create → Booking Widget in your Smeetz dashboard.

2. Select Tickets

  • In the widget creation menu, select all the tickets you want to display in the same calendar.

3. Copy Widget Code

  • Go to Advanced Integrations and copy the generated widget code to your website.

4. Add grouptickets Attribute

  • In your widget code, locate the cats attribute.

  • Immediately after it, add a new line:

grouptickets: '10468,10469',

The value of grouptickets should match the value of cats.

Example

Original widget code snippet:

cats: '10468,10469',

Updated snippet:

cats: '10468,10469', 
grouptickets: '10468,10469',

This will combine the selected tickets into the same calendar.

Behaviour

  1. Multiple Tickets: You can include more than two tickets in the same calendar.

  2. Timeslot Grouping: Timeslots are grouped by their start time.

    • Example:

      • Ticket A: 10:00–12:00 daily

      • Ticket B: 10:00–11:00 and 11:00–12:00 daily

    • The calendar will show 10:00 and 11:00 as available timeslots.

  3. Price Display:

    • Clicking on a timeslot lists the prices for all tickets that start at that time.

    • In the example above:

      • 10:00 → Prices for Ticket A and Ticket B

      • 11:00 → Prices for Ticket B only

  4. Distinct Timeslots: If tickets have different timeslots, each timeslot will display the corresponding ticket prices.

Did this answer your question?