Skip to main content

How to set up pricing based on duration and number of participants

Learn how to configure pricing for products with multiple quantity parameters, such as duration and the number of participants.

In some product setups, it may be necessary to account for two quantity-based parameters - for example, the number of hours and the number of participants.

To illustrate this setup, a babysitting service will be used as a working example, where the price may vary depending on how many children are being cared for and for how many hours.

Depending on whether the number of participants affects pricing, there are two configuration options:

  • Scenario 1: Pricing varies based on duration and the number of participants.

  • Scenario 2: Pricing varies based on duration, regardless of the number of participants.

The sections below explain how to configure each scenario using the "price per quantity" pricing model, with the babysitting service example applied throughout.


Scenario 1: Pricing varies based on duration and the number of participants

This setup allows the system to calculate the total price based on both the selected number of hours and the applicable participant group.

In this setup, pricing changes depending on how many children are being booked for the babysitting service. Each pricing option corresponds to a specific group size and the price is calculated per hour.

This can be managed by creating separate pricing options for each participant group using the "price per quantity" pricing model.

Example:

  • 1 child (price per hour): €25

  • 2 children (price per hour): €35

In this setup, the Total price is calculated by multiplying the per-hour rate by the selected duration. If a customer selects 1 child and 2 hours, the total price would be €25 × 2 hours = €50.

Display on widget

Note:

In this scenario, the use of Groups is recommended for better presentation of the pricing. This allows the number of participants (e.g., children) to be selected early in the booking process, with the corresponding pricing option displayed afterwards.


Scenario 2: Pricing varies based on duration, regardless of the number of participants

This setup reflects the price per hour selected, regardless of the number of participants.

In this case, the price for the babysitting service is fixed per hour, regardless of the number of children. This is common when a flat hourly rate is charged, and the number of participants does not influence the cost.

A single pricing option can be created using the "price per quantity" model.

Example:

  • Price per hour: €25

In this setup the system calculates the Total price based solely on the selected number of hours. If a customer books for 2 hours, the total price would be €25 × 2 = €50 regardless of whether 1 or more children are involved.

Display on widget


To learn more on how to configure pricing, click here.

Did this answer your question?