Go to content

Limit availability with an opening hours resource

With an Opening hours resource, you limit the availability of many products in Johku to the same times, for example your company's opening hours. When the opening hours change, you edit only one resource, and the change is updated in all the products in which the resource is used.

The narration in the video is in Finnish.

What an Opening hours resource is

Opening hours is a resource type that has only Reservable ranges: it has no capacity, and no reservations are created on it. It works alongside the product's own resource or resource pool as an availability limiter, so the product must also have its own reservable resource. If Opening hours is the product's only resource, the product can't be booked at all. The Opening hours resource is mainly used with products booked by the hour.

Create an Opening hours resource

  1. In the Johku admin menu, select Products and open the Reservable resources tab. In older Johku shops, the tab is called Resources.

  2. Select Create new....

  3. Select Opening hours as the resource type, enter a name for the resource and select OK.

  4. Open the resource's Availability section.

  5. Click the Always allowed row and change it to the date range, weekdays or time range you want, and select Ok.

  6. If needed, add more ranges with the Add range button, for example different times for weekdays and the weekend.

  7. Save.

The Create new... window in the Johku admin with the Opening hours resource type highlighted

The Range window with Allow reservations selected for a date range and a time range from 8:00 to 21:00

Link the resource to products

  1. Open the product and select the Availability tab.

  2. Select Attach resource, select the Opening hours resource you created from the drop-down menu and select OK.

  3. Save the product so that the summary on the Availability tab is updated.

  4. Link the same resource to all the other products that the opening hours should apply to.

Check that it worked

The product's reservable times are now determined by the Opening hours resource, unless the product's own resources limit them further. Check in the storefront preview that the reservable times match the opening hours. The Local products using the resource section of the Opening hours resource lists all the products in which the resource is used.

Caution: time ranges block reservations by the day

If you link an Opening hours resource to a product booked by the day, the resource's time ranges and weekday selections block reservations by the day completely, because Reservable ranges look at times of day only within one day. With products booked by the day, use only ranges that cover whole days. The rules are described on the page Edit a resource's reservable times.

Change the opening hours

When the opening hours change or you add times for the next season, edit the Opening hours resource's Reservable ranges either directly in the product editor or by opening the resource from the Reservable resources page. The changes take effect immediately in all the products in which the resource is used, without product-specific edits.