Admin
Instruction
Difficulty level: Intermediate
Configuratie - Klant Pagina - Reserveringsdialoog - Activiteiten zoeken

With the shopping cart, a customer can also book several activities in one go. The basis is the same as for the shopping cart for products, for example rooms: Activating the shopping cart and Creating a shopping cart arrangement. This page describes what is different for activities.

The difference with products

For a product that does not work with activities, for example a room, the customer chooses a date and time in the calendar of that product. For activities, the customer looks for an activity on the search page for activities (front?mod=searchevents) and clicks the booking button. After Next the activity is in the cart.

When to use this

The shopping cart for activities is useful for activities of which a customer wants to book more than one, so activities based on the same activity type. Think of appointments and treatments: a series of massages, several treatments in a salon or spa, or a few appointments with a therapist. You then put one activity type in the shopping cart arrangement.

Several activity types in one cart is possible too, but only if you use one search page for activities (mod=searchevents) on your website that shows all activities of those activity types. Then add all those activity types to the shopping cart arrangement and set Show 'Add to cart' to No here as well. Tip: use the filter block, so that a customer can quickly search or filter for a particular activity.

The shopping cart arrangement

  1. Create a shopping cart arrangement as described in Creating a shopping cart arrangement.
  2. In the view Combi - Extra, add the activity type under Combination period.
  3. Set May be booked multiple times to Yes. This is required: every activity in the cart is of the same activity type.

The search page for activities

Go to Configuration > Front pages > Booking dialog and click Activities search. The main settings:

SettingWhat it does
Search FieldsThe fields the customer can search on, for example the date from and till.
ColumnsThe columns in the list of activities, for example activity, date, time and free places.
Hide Search Results during bookingYes: the list of activities disappears as soon as the customer chooses an activity. For the shopping cart, set this to No, so the customer can choose a next activity straight after adding one.
Filter stringOnly shows the activities that match the filter. Useful if you want a separate search page per shopping cart.

If you use several configurations of the search page, open a specific configuration with front?mod=searchevents&configid=….

The Add to cart blocks

After Next, i-Reserve by default shows the Add to cart block below the cart, with a card for the activity type. That card is of no use to the customer: they simply choose the next activity on the search page again. So in Shopping cart: Add to cart block set Show 'Add to cart' to No. This setting is available from version 5.51.

The cart

In Shopping cart, choose at least one column, for example the description, the date and the times. Without columns the customer sees empty lines in the cart. The columns on the shopping cart page are set in Shopping cart columns.

Menu

Put the search page for activities in the menu, and optionally the shopping cart as well (front?mod=cart). See Menu's.

Next step

Test with Testing the shopping cart for activities.