With price row conditions in Johku, you limit a price to be valid only for certain periods, weekdays, reservation lengths or numbers of people. When the customer chooses a time and a number of people for a reservation, Johku checks which price row is valid with these choices and prices the reservation accordingly. This page describes all the conditions and when to use them.
Adding a condition
A condition is added to a price row on the Prices tab of the product editor: open the price row, select Add Condition, choose a condition from the -- select a condition -- list and enter its details. The steps for creating a price row are in the article Price a product with price rows.
Date range
With the date range condition, a price row is valid in Johku only within the date range you set. Use this condition to create seasonal and public holiday prices: set the start and end date of the range in the condition. The prices for Midsummer, Christmas and other public holidays are created as rows of their own, and if other prices must not be valid at the same time, their validity must be limited with conditions too. Note: if all the price rows of a product have a date range, the product can't be booked at all outside the ranges. For seasonal products, this means that you have to remember to update the pricing for the next year. A date range always applies to the time of the reservation, not the day of purchase: you can't use it to make an advance or early bird price that is valid only until a certain purchase date.
Time range
With the time range condition, a price row is valid in Johku only within the time-of-day range you set. The condition is used for products booked by the hour when you want to limit a price to certain times of day, for example a cheaper daytime sauna from 10:00 to 14:00. The condition works only when the unit of the price row is hours or minutes, and it handles only hours within the same day: the range does not extend past midnight.
Weekday
With the weekday condition, a price row is valid in Johku only when the reservation falls on the chosen weekdays. Use this condition to create weekday and weekend prices. Note for products booked by the day: the chosen weekday means the day that begins, so the condition looks at the day on which the daily reservation starts. If you want a weekday price for the nights from Monday to Friday and a weekend price for the nights from Friday to Sunday, choose Monday, Tuesday, Wednesday, Thursday and Sunday as the weekdays of the weekday row, and Friday and Saturday as the weekdays of the weekend row.
Start weekday and end weekday
With the start weekday condition, a price row is valid only when the reservation starts on the chosen weekday, and with the end weekday condition only when the reservation ends on the chosen weekday. Use these conditions to guide reservations to start and end on the days you want, for example a weekly rental from Saturday to Saturday or a reservation that covers the whole weekend. The conditions are usually used together with other conditions, such as the weekday and minimum duration conditions.
Minimum duration and maximum duration
With the minimum duration and maximum duration conditions, a price row is valid in Johku only when the length of the reservation is at least or at most the length you set. The condition is usually used together with a date range, when you want to allow only reservations of a certain length within a certain range, for example reservations of at least three days in the high season or only hourly reservations of a certain length for rental gear. Enter the duration as a number in the unit of the price row, and also choose how it is counted: within the reservation means that the minimum or maximum time you set is counted from the customer's whole reservation, and within the price row means that the time is counted only from the part of the reservation that falls within the validity of this price row.
Minimum and maximum participants
With a participant condition, a price row is valid in Johku only when the number of people in the reservation is at least or at most the number you set. Use the condition to create different prices for groups of different sizes, for example a cheaper flat price for a large group: create a price row for each range of participants and use conditions to limit each row to the number of participants you want. Example: the capacity of the product is 40 people, and there is one flat price for 20 people (condition: maximum 20 participants) and another for 40 people (conditions: minimum 21 and maximum 40 participants).
Minimum resources and maximum resources
With a resource condition, a price row is valid in Johku only when at least or at most the set number of resources is chosen for or assigned to the reservation. The condition is used for products that use a resource pool, where the customer chooses the number of resources or the resources are assigned based on the number of participants. Example: in a cottage village product where the customer chooses both the number of cottages and the number of participants, each combination of cottages and people needs a price row of its own. How resource pools work is described in the section Resource management.
Route, origin zone and destination zone
The route and zone conditions are used only for Johku transportation products, to set the pricing between stops: the price row is valid on the chosen route or between the chosen origin and destination zones. The pricing of a transportation product is covered in the article Create a transportation product.
A note that applies to all conditions
The conditions of a price row are shown under Valid on the row. Conditions always limit validity, they never extend it: the more conditions a row has, the less often the row is valid. If none of the product's price rows is valid with the customer's choices, the product can't be booked for that time. If several rows are valid at the same time, Johku uses the valid row that is lowest in the row list: lower price rows add to the ones defined above them. So keep the general base price at the top of the list and the more narrowly limited rows below it. When the pricing behaves oddly, go through the rows and check which row is valid with which choices: The price looks wrong or a reservation is priced oddly.