Go to content

Create a resource

With these instructions, you create a new reservable resource in Johku, for example to add rooms, guides or rental gear to an existing product. A resource is usually created automatically when the product is created, so you need to create one manually only when you expand capacity.

Before you start

If you plan to add the new resources to an existing resource pool, always create them on the Reservable resources page. A resource created through the product editor is linked directly to the product, not to the pool.

Create a resource on the Reservable resources page

  1. In the Johku admin menu, select Products.
  2. In the top bar, select Reservable resources.
  3. At the top of the page, select Create new....
  4. Select Reservable resource as the type.
  5. Enter a Name for the resource. The customer sees the name only in certain situations, for example when the customer selects the resource; otherwise the name is internal to the admin.
  6. If you are creating several resources at once, enter the number of resources to create in the Count field. The naming options are described further down.
  7. If needed, select from the drop-down menu the resource pool the resources are added to. No, create at top level leaves the resource at the root of the page, and Create inside a new resource pool creates a new pool at the same time.
  8. Select OK.
  9. The resource editor opens on the General tab. Enter the Minimum capacity of the resource and the Maximum capacity of the resource.
  10. Select the Availability tab.
  11. Add at least one allowed range with the Add range button.
  12. Select Save.

Check that it worked

If you created several resources at once, the resource editor does not open. Open the resources one at a time from the list on the Reservable resources page and set their capacity and allowed ranges as in steps 9 to 12. Finally, link the resource to a product; if you created the resource in a pool that a product already uses, the resource is included in the product right away. Test how the product works in the storefront preview.

If the resource you created is not shown in the list

By default, the Reservable resources page lists only resource pools and the resources that are used in products or pools. If you created the resource at the top level and have not linked it to anything yet, the resource exists but is hidden from the default view. In the page's Display filter, select Orphaned resources, which shows the resources that are not linked to anything, and the resource appears.

Alternative: create a resource directly for a product

When you need one new resource in use right away for a specific product, you can create it in the product editor:

  1. Open the product and select the Availability tab.
  2. Select Attach resource.
  3. Select New resource.
  4. Select Reservable resource as the type.
  5. Enter a Name for the resource.
  6. Select OK.

The resource appears on the product's Availability tab as its own row, and a Summary of the resources' combined capacity is formed above the rows. Open the resource's row and change the capacity and availability if needed, save the product and test it in the preview. Note that several separate resources in the same product limit availability jointly: Use several resources in one product.

Additional settings: naming several resources

When you create several resources at once, select the naming method in the creation window:

  • Leave unchanged: all the resources get the same name.
  • Add a sequential number to the end: a number is added after the name, starting from the value in the Start at field (default 1).
  • Add a sequential letter to the end: a letter is added after the name, starting from the letter in the Start at field (default A).
  • Replace a placeholder with a sequential number or Replace a placeholder with a sequential letter: the number in the name is replaced with a sequential number or letter.
  • Provide a list of names: the resources are named according to the list of names you enter. Make sure the list has as many names as there are resources.