Rule | Apt A |
Default price | 100 USD per day |
Date: January 1-May 1 | -20% |
Number of persons: 2 | +30 USD |
Rule | Therapist A | Therapist B |
Default price | 100 USD | 100 USD |
Custom property: Massage type = Relaxing | 80 USD | 80 USD |
Custom property: Massage type = Slimming | 90 USD | 90 USD |
Custom property: Massage type = Shiatsu | 95 USD | 90 USD |
Rule | Description | Example usage |
---|---|---|
Reservation form item | The rule will be matched when the customer chooses given value in the reservation form. This rule can be also used to base the price on a number entered in the reservation form. Please see also the section change price based on numerical value of a reservation form item or user property above for the details. Note: reservation form items must be defined before using this rule. If you don't do this, you won't see any reservation form items in the list. | This rule is often used to add different products or services to the reservation or to choose the type of service (see the therapist sample above). Here the price can be changed depending on the choice made by the customer. You can also change the price in an intelligent way, based on a number selected by the customer from a drop-down. This way you could for example ask the customer for the number of wine bottles to be added to the reservation and add a specific amount for each bottle. This is often used as an alternative for additional products (more in Q174). |
Number of persons | The rule will be applied when the customer reserves for a given number of persons (between the specified minimum and maximum). You can also specify minimum or maximum only (e.g. for more than 2 persons there is a discount). Planyo knows how many persons there are if there is a reservation form field called persons. This field is automatically translated to all languages as Number of persons but you can change it (as you can with any other text) in site settings / customized translations. This will also work if you ask for the number of children / adults in the reservation form (see Q276 for more about this). | You'll often want to give a discount for a party of more than X persons, or perhaps do the opposite: increase the price for single occupancy of a double room. |
Additional persons present Additional adults present Additional children present | Similar to the previous rule (number of persons) but here you can increase the price for each ADDITIONAL person and not for EACH person. You also have to state what additional means (e.g. more than 2 persons). The adult- and children- based rules work the same way as Additional persons but only take under consideration adults or children present (of course to know this you must have adult/children fields in the reservation form). | This rule can be used to make the calculations easy in case you charge extra for each additional person. For example you have a double room where additional beds can be added. In this case you can specify the additional persons present rule (>2 persons) and if you then set the price to +10 USD per day&person the extra 10 USD will be added only for the additional persons (3rd person, 4th person etc.) and not for the 1st and 2nd person. |
Custom property (user) | If you defined user properties (more about this in Q215), you can base the price on the value of a user property. This rule can be also used to base the price on a number entered in the reservation form. Please see also the section change price based on numerical value of a reservation form item or user property above for the details. You must define the user properties before using this rule. | This rule can be used to apply discounts to different user groups (e.g. club members active since more than 3 years can have special pricing). You may also use this rule if you want to give individual discounts to different customers. |
Custom property (resource) | Using this rule you can create a condition which is controlled by a custom resource property value | |
Custom property (unit) | Using this rule you can create a condition which is controlled by a custom property value of the selected unit | |
Quantity of resources | The rule will be applied when the customer reserves a given number of units (between the specified minimum and maximum). You can also specify minimum or maximum only (e.g. for more than 5 units, the discount is 20%). | Quantity-based discounts are very common and this is the rule to use in such case. |
Unit | This rule will be applied when the unit chosen by the customer matches given unit name. You can use the star (*), also as a suffix, to include multiple unit names. | Although normally if you have different units of the same resource their price will be identical, sometimes you may want to apply a different price (or return an error message) in case the customer selects a specific unit. |
Voucher | This rule is applied based on whether/which voucher was used. You can set the rule to match a specific voucher code or group of codes (type ABC or ABC* for vouchers starting with ABC), for all vouchers (type *), or when no voucher was used (leave the voucher code field empty) | Great if you need to change the price based on the voucher. For example you can have discounts which cannot be combined with vouchers. |
Resource sharing | This rule can be used with resources that have the sharing option set to possible. Only certain types of resources have this option visible in resource settings, for others (where sharing is predefined or doesn't make sense) this rule is useless. With the sharing set to possible, it's up to the customer to say if they wish to share the resource with other customers or not. This rule lets you change the price accordingly. | |
ZIP/Postal code | This rule will be applied when the zip/postal code entered matches one of the codes in the rule. | You can use this rule either to apply different prices for different ZIP codes or to make reservations possible only within your area defined by one or more zip codes. |
Season of the start date Season of the end date | The rule will be matched when the rental starts (or ends) on a day which belongs to the specified season. The season, for example low or high must be first defined in the Seasonal settings for given resource or site. This is very similar to the Start date rule but the difference is that many different date ranges can be called a single season name so you can use a single rule instead of multiple ones. | Used mostly for high/low seasons where each season has many date ranges throughout the year. |
Season | Similar to Season of the start date but this rule can be applied only to some days of the rental (falling within the specified season) whereas the previous rule is either applied to all days or not at all. | Very useful to set e.g. daily price based on the season. If rental goes across multiple seasons, you can apply different prices to different days according to the season. |
Date | The rule will be matched for all days between specified days of the year. The year cannot be specified so this rule will work in the same way for all years. For multi-day rentals it is possible that this rule will be applied only to some days of the entire rental. | This rule is useful if every year you have the same high/low seasons which start and end on given dates. |
Start date | The rule will be matched when the rental starts on a day which is within the specified range. The year cannot be specified so this rule will work in the same way for all years. | Used mostly for high/low seasons when the arrival date determines the pricing for the whole rental. |
End date | The rule will be matched when the rental ends on a day which is within the specified range. The year cannot be specified so this rule will work in the same way for all years. | |
Date including year | The rule will be matched for all days between specified days of the year. The year must be specified so this rule will work only for a single year. For multi-day rentals it is possible that this rule will be applied only to some days of the entire rental. If you have lots of different dates with special pricing, consider using the Daily pricing rule instead. | This rule is useful if you have high/low seasons that start and end on given dates but where these dates are different each year. |
Start date including year | The rule will be matched when the rental starts on a day which is within the specified range. The year must be specified so this rule will work only for a single year. | Used mostly for high/low seasons when the arrival date determines the pricing for the whole rental. |
End date including year | The rule will be matched when the rental ends on a day which is within the specified range. The year must be specified so this rule will work only for a single year. | |
Number of days from beginning of rental | This rule will be matched only for the indicated days and not for all the days of the rental. | You can use this rule to apply a daily discount only to some days of the rental, e.g. first X days have a regular price while extra days are discounted. |
Weekday | The rule will be matched for all days of the rental between the given start and end weekdays. For multi-day rentals it is possible that this rule will be applied only to some days of the entire rental. | You can set up different weekend and weekday pricing |
Start weekday | The rule will be matched when the rental starts on a weekday which is within the specified range. | Used mostly with advanced conditions to specify pricing for rentals starting on given weekday and lasting X days. |
End weekday | The rule will be matched when the rental ends on a weekday which is within the specified range. | |
Number of calendar days | The rule is similar to Duration but it's based on calendar days | e.g. a rental from 11pm till 1am on the following day will be calculated as 2 calendar days and not 2 hours. |
Number of days in season | Similar to Duration but this rule returns only the number of days which fall within the specified season and not during the whole stay. This rule may be applied only to some days of the rental (falling within the specified season) whereas the duration rule is either applied to all days or not at all. | This rule is useful if you want to count the days of each season separately and at the same time the price is based on the number of days. |
Hour | The rule will be matched for all hours of the rental between the given start and end time. It is possible that this rule will be applied only to some hours of the entire rental. | You can set up different morning and evening pricing or happy hours. |
Start hour End hour | The rule will be matched when the rental starts / ends within the specified hours. | Same as the hour rule but you may wish to base the price only on the time when the rental begins / ends. |
Duration | The rule will be matched when rental's duration is between the specified values (e.g. up to 2 days or from 3 to 4 days). You can also specify one of the two (minimum or maximum duration only). | It is very common to have a different price for different number of days (or hours) of the rental. |
Rental duration chosen | If you have resources which have predefined durations (chosen by the customer from a drop-down), then this rule will let you apply a different price for the different durations chosen by the customer. Normally you could use the Duration rule but sometimes you will have different choices with the same duration. | Often you will want to include both the duration and the type of a service in the duration drop-down. For example, you can offer a 1 hour sports massage and a 1 hour relaxing massage -- both with the duration of 1 hour but perhaps with a different price. You may likely want to put both massage type and duration into a single dropdown rather than using 2 drop-downs. |
Number of months reserved | This is a duration-based rule that gives you the number of full or partial months of the rental. Typically you'll use the duration rule but this one can be useful for very-long term rentals. | E.g. January 10 - March 5 would be treated as 2 months and January 10 - March 15 would be treated as 3 months |
Additional days Additional hours Additional hours in shopping cart | The logic here is the same as for the Additional persons present rule but here additional days / hours are considered instead of additional persons. Here the price increase (or discount) will be applied only to the additional days / hours. The "in cart" version groups together all hours from the shopping cart. | You may use this rule if for example you rent out accommodations for weekly stays but you wish to offer a possibility to stay longer and you have a fixed price per day for each day after one week. |
Time remaining until rental Time remaining until event ends | The rule will be matched when more or less than X days are left until rental. It's also possible to set a specific price when between X and Y days are left. For hour-based resources, time can be also expressed in hours (e.g. price can be changed if less than 3 hours are left). The second variation lets you specify time left until the rental's end (and not beginning). | This is used mostly for last minute rentals. You can offer lower prices to encourage the customers to make last-minute reservations. You may also set lower prices for rentals which start a long time from now. |
Time between reservation and rental | This rule is based on the amount of time remaining until rental at the reservation time. | You can use this rule for early bookings or last-minute bookings |
Reservation time (date) Reservation time (hour) Reservation time (weekday) | This rule is matched when the reservation is created within the defined dates (first rule) or during specified hours (second rule) or given weekday. | This rule lets you do promotions e.g. "Reserve until end of March to get a 10% discount" (first rule). It can be also used to detect if the reservation is being made during opening hours (second rule). |
Same-time arrivals/departures | This rule allows you to limit the number of customers who arrive or depart in given time unit. It is based on the number of existing reservations starting/ending at the same time. | This rule can be useful in a case such as airport parking where you have a very large capacity for parking spaces but can only have a few customers arriving/departing at any given time because the customers must be shuttled to the airport. |
Number of times reserved recently Number of hours reserved recently | These two rules let you set the price (or possibility to reject a reservation) based on the number of times or hours any of your resources were previously reserved by given customer. Customers are identified by their email address (or login if that's used). | Note: these rules consider only the time when the reservations are entered into the system, ignoring the dates when the rental takes place. This is useful if e.g. your club members can only make 2 reservations per week. In such case an UNAVAILABILITY MESSAGE price type should be used to enfore the limit. |
Total hours in existing rentals in given period Total number of existing rentals in given period | These two rules are somewhat similar to the above counterparts, except that here the time of rentals are considered, whereas in the previous rules the time when the reservations are created are considered. | For example, if the rule says: customer reserved at least 2 times in given day, the rule is applied when 2 or more reservations created by the customer on different days are present, but all of them have the rental time on the same day. This can be used together with the UNAVAILABILITY MESSAGE price type in order to limit the max. number of reservations per user and per day/week/month. |
Total number of existing rentals in given period (any customer) | This rule checks for all the reservations for given resource amongst all customers. | You can use this rule to check how many reservations there are in the system e.g. for given day and display an error message if your target has been reached. This way you can limit overall daily reservations of a resource to X times per day. |
Total resource quantity in cart | If using the shopping cart, this rule lets you change the price based on the number of units of specific resource in the cart. | You can apply a discount if the customer makes multiple reservations in a single checkout. |
Position in shopping cart | If using the shopping cart, this rule lets you change the price based on the position (index) of the current reservation in the shopping cart. | With this rule you can add a one-time fee for the entire shopping cart (if position is 1), or you can apply a discount when the shopping cart contains more than X reservations. |
Resource present in shopping cart | This rule check for presence of given resource in the same shopping cart. Additionally you can check if the presence of selected resource is for the exact same duration or different duration. | |
Total price of shopping cart | This rule is based on the total price of all items in the same shopping cart | Useful to apply discounts based on the cart's total price |
Additional hours in shopping cart | Similar to Additional hours but based on all the reservations in the shopping cart | |
Total hours in shopping cart | Similar to Duration but based on all the reservations in the shopping cart | |
Repeated reservation number | This rule can be used if you selected one of the recurringreservation choices in active features in site settings (recurring reservations/return trip/multiple dates). In such case you can enter the number of the reservation, e.g. 1 for the first of a series, 2 for the second, 3 for the third etc. If you leave this empty or use the value of 0, the rule will be applied when the reservation is not be repeated. Please note you can specify multiple values separated by comma. | With this rule you can apply a discount to further appointments (2nd, 3rd etc.) if the customer reserves multiple dates at once. |
Coupon holder | This rule will check if the customer has a coupon (any type or of specific type) which can be used for the reservation | |
Label of the last usable coupon purchased | This rule will check the label of the coupon being used (or potentially being used) for the reservation. | You can use this rule to only allow reservations to holders of a specific coupon. |
Base resource present in flexible package | This rule is based on the presence of given base resource (or a number of specified base resources) in a flexible package reservation | This rule can be useful if your price is different based on the base resource selected by a customer (if such base resource selection is possible according to your package settings) |
Quantity still available | This rule will be applied when the number of units available for reservation is within specified limits. | This rule lets you create dynamic pricing, e.g. first seats can be sold very cheaply while the last ones left can be more expensive. |
Price calculated so far | The rule will be applied if the price calculated so far by the preceding rules is within the specified range. | This is very useful to apply discounts based on the total price calculated, e.g. 10% discount for price over USD 100. |
Daily pricing | The daily pricing is much more than a simple rule, it lets you set prices for each day (or week) of the year on a calendar view. Please see the daily pricing section above for more details. | This rule is extremely useful if you set your prices on day-to-day basis, such as last-minute pricing for the upcoming days. |
CSV file | This rule lets you specify an external CSV (Excel) file where you can define your pricing. This CAN be used together with other pricing manager rules. See Q240 for detailed information about this. | Pricing defined in an external CSV file is very useful if you generate it automatically (e.g. data coming from a database) or if you have a large number of resources or a large number of rules. |
Always true | The rule will be always applied. | This is very useful for things like setting the deposit or custom additional text where these don't depend on any conditions. |
Agent reservation | This rule will be matched when the reservation is being made by an agent (or has been made by an agent in case of modifications). You can specify a given agent ID. | |
User role | This rule will be matched depending on the user role of the person making the reservation | |
User is logged-in | This rule will be matched depending on whether the current user is logged-in or not (this will work both for your website's login - if integrated with the planyo plugin - and with the planyo login | |
Using frontend mobile app | This rule will be matched depending on the source of the reservation (mobile app or website) | |
Price used in search | This rule will be matched depending on whether the price is being calculated on the reservation form or for search results. | |
Waiting list request | This rule lets you change the price or add restrictions depending on whether this is an actual reservation or a waiting list request. | You can use this rule to prevent waiting list requests to be added if less than X days remain until the start time (you'd need to combine this with the unavailability message and an advanced condition). |
Simplified daily pricing for external channel | This rule will be matched when the pricing is being calculated in the context of simplified daily pricing for an external channel such as booking.com or for the API call get_simplified_daily_pricing | This rule can be used to adjust simplified daily pricing when used together with given channel |
Distance | This rule can be only used together with the extension Directions using Google Maps. It will allow you to set different pricing for different distance ranges of the trip. | |
Distance from base to start point | Similar to the rule distance except the distance for this rule is between the start point and the base coordinates (coordinates defined for the resource or for your planyo site). |