Tutorial: How to tell Planyo when my resources are available for rental (4 / 4)
This section explains advanced ways to determine that a resource is not available for a particular reservation. When this happens, the search will not return the given period as available and the reservation form will also return an error message when a reservation is attempted. The availability calendar, however, will not show such periods as unavailable.
If you want to define special rules which make reservations impossible but these rules depend on other factors (such as items in the reservation form or factors not controlled by planyo but which you can find out about using an API) you have two choices: create a special unavailability message rule in pricing manager (
more info in Q181) or use a custom pricing script to return the unavailability message based on any criterium (
more info in Q137).
The pricing manager rules are very easy to set up and will let you specify even complex rules for the availability, for example, you can tell the pricing manager to return an error message when the customer tries to reserve less than N units of a resource for a period shorter than a week, while allowing this when reserving at least N units.