Skip to main content

Installation

  • 1) Download the plugin on our website via the download link provided to you after the purchase.
  • 2) Install it on your Joomla website via the extension manager, or via the "Install plugin" button of System > Plugins on WordPress.
  • 3) Enable the plugin in Extensions > Plugins.
  • 4) Create the custom fields the customers will choose their date, slot or option with (Display > Custom fields), then set up booking on your products or in the plugin's settings, as described below. The use cases at the end of this page give the whole set-up for the common kinds of shops.

How it works

The plugin limits how many times each value of a custom field can be sold: each date, each time slot, each workshop, each night of a room. A value that reached its capacity can no longer be chosen. The values come from your custom fields of the types radio, dropdown, multiple dropdown, checkbox and advanced date picker (single date or range mode for check-in / check-out); see the custom field form.

  • Order level: an order custom field (for example a delivery slot chosen at checkout), selected in the plugin's settings. Each order takes one place in the combination of values it chose, whatever its products. The capacity is shared by the whole shop.
  • Item level: item custom fields chosen in the Booking block of a product (for example the date of a class). Each product counts its own places, unless it belongs to a shared capacity (see Shared capacities).
  • When a product has several booking fields (a date and a time slot), the capacity applies to each combination of their values (each slot of each day).
  • The places are taken when the order is created, freed when it gets the cancelled or refunded status of HikaShop's configuration, and taken again when it is confirmed again. The cart, the checkout and the creation of the order check the places left.
  • On the product page and at checkout, the values with few places left are marked (with the number of places left or a generic message, see the settings), the full values are struck out and can not be chosen, and the date picker colours the days (green, orange when few places are left, red when full).
  • Prices, taxes and invoices are not changed by the plugin, except for the products whose type of booking is Stay priced per night. The values chosen stay on the order, as any custom field value, in the order details, the emails, the invoices and the exports.

Plugin settings

  • Order fields: the order custom fields whose values are limited at checkout (order level).
  • Default capacity: for the order fields, how many orders can choose each combination of values, when no capacity override says otherwise.
  • Take into account product quantity: for the order fields, Yes makes an order take as many places as the quantity of its products, No one place per order. The booking fields of the products always count the quantity of the line: 4 tickets take 4 places.
  • Show availability: marks the values with few places left and the full ones on the product page and at checkout.
  • Show exact count: Yes shows "3 spot(s) left", No shows "Spots available". A value is marked when a quarter of its places or less is left.
  • Sort the shows by their next date: in the listings of products, the events come first, in the order of their next date, then the other products. Choose No to keep the order of the listing.
  • Seasons (tab Seasons): one row per season, used by the products whose type of booking is Stay priced per night. Nights covered: one line per period, every year: 07-01..08-31 (month-day to month-day, 12-20..01-05 runs over the new year), 12-25 (one day), 2026-12-24..2027-01-02 (this period only), friday-saturday (weekdays). Price of a night: +40% or -15% over the product's price, a price such as 140, or a price per traveller category such as adult=140, child=70 (with the Price per category plugin); prices are without tax, in the shop's main currency. A night outside every season costs the product's price; when two seasons cover a night, the one lower in the list wins.
  • Read the calendars every (minutes) (tab Calendar sync): how often the calendars the rooms import are read, 30 minutes by default, 10 at least. HikaShop's cron task must run at least as often.
  • Closed nights in the calendars (tab Calendar sync): when on (the default), the calendar of a room also gives the nights a capacity override of 0 closes, so that the other sites close them too.
  • Microdata (tab Microdata): see Microdata settings below.
  • Fields the vendors can count (tab HikaMarket): the item fields a HikaMarket vendor can choose in the Booking block of its products. None selected: all of them. See With HikaMarket below.
  • Vendors can import calendars (tab HikaMarket): No by default. Yes lets the vendors whose HikaMarket access includes plugins/booking/ical make their rooms import the calendars of other sites; the shop's server then reads the addresses they type.

Seasons and night prices in the plugin settings

Seasons tab of the plugin: high season +40%, weekends +15%, a night price per traveller category for Christmas. They repeat every year.

The Booking block of the product

  • Enable booking: limits the places of this product.
  • Type of booking: Dates with a capacity (days, time slots, workshops: any value with a number of places), Stay priced per night (a room or a rental: a range date field, each night takes a place and the price is per night) or Event with dates (a show, a concert, a class: only the dates of its list of performances can be booked). The block shows the settings the type needs.
  • Item fields: the item custom fields whose values are limited for this product (Ctrl or Cmd + click to choose several). The fields must also be shown on the product (in the field's settings, its categories or products).
  • Default capacity: the places of each combination of values, for example 10 places per slot, or 3 for three identical rooms. 0 means no place unless a capacity override gives some. For an event, Capacity of a date is the places of the performances that do not give their own.
  • Charged as an extra: for a product sold as an option of a room (breakfast, cleaning, parking): once for the stay, per night, per traveller or per traveller and night. Its price then follows the stay of its room in the cart and the order. It needs HikaShop's "Group options" setting on, so that the options stay with their room in the cart.
  • Length of a booking (type Dates with a capacity): for a booking lasting several time slots, the minutes each booking takes from its start time. 0 (the default) for one slot. See Bookings lasting several time slots.
  • Length picked in the field (type Dates with a capacity): the item field in which the customer picks the length (its values in minutes, 30, 60, 90, or in hours and minutes, 1:30). Its value replaces the length above. Do not select it in Item fields.
  • Shared capacity (type Dates with a capacity, when a shared capacity exists): By its categories (the default, followed by the name of the shared capacity of its categories when there is one), None, its own places, or a shared capacity chosen for this product alone. See Shared capacities.
  • Start time, Duration, Venue (type Event with dates): given to the performances that do not set their own, shown on the thank-you page and in the "Add to calendar" file.
  • Performances (type Event with dates): one row per date, with its time, duration, capacity, status (Open or Cancelled) and a note. Only these dates can be chosen in the product's date field; a cancelled date can not be booked. The listing's date filter finds the events with a performance on the dates searched.
  • Add capacity override: opens the capacity override form for this product.
  • Calendar sync (iCal) (type Stay priced per night): see Sync with Booking.com, Airbnb and channel managers.

Booking block of a product counted in a shared capacity

The Booking block of a member registration: type Dates with a capacity, the Workshop field, counted By its categories in the shared capacity Annual Workshop 2027.

Capacity overrides

Orders > Bookings, button Capacity overrides, or the button Add capacity override of a product or of a shared capacity. An override gives another number of places to chosen values, instead of the default capacity.

  • Type: Order for the order fields of the settings, Item for the item fields of the products.
  • Product: for the type Item, the product the override applies to.
  • Shared capacity: for an override of a shared capacity, choose it here; the product is then ignored.
  • The values of each booking field: for a radio, dropdown or checkbox field, choose one or more values (Ctrl or Cmd + click); none chosen means every value. For a date field, one pattern per line: weekdays (monday, friday-sunday, friday-sunday,wednesday) or dates with wildcards (25/12/* every Christmas, */12/* every day of December, 1/1/*, 25/12/2026); empty means every date. A date whose two numbers are 12 or less is read in the order of the date field's "exclude days" format, month first by default.
  • Capacity: the places of these values. 0 closes them: nobody can book them.

When several overrides match a booking, the one that names the most fields applies (a date and a slot before a date alone).

Capacity overrides listing

Capacity overrides: close the nights of Christmas (capacity 0) or give a limited number of spots to chosen dates, with weekday patterns and date wildcards.

Shared capacities

A shared capacity counts the places of several products together. For example, an event sold as a member, a non-member and a student registration, where each workshop has 12 places whichever registration booked them. Orders > Bookings, button Shared capacities.

  • Name: shown to you only, in the lists and in the Booking block of the products.
  • Default capacity: the places of each value of the booking fields (each workshop), for all the products of the shared capacity together. The capacity overrides you add for the shared capacity (button Add capacity override of its form, or the Shared capacity choice of the capacity override form) give other numbers to chosen values; the default capacity and the overrides of the products themselves no longer apply to them.
  • Categories and Including sub categories: the products of these categories count in the shared capacity. Leave empty to choose the products one by one, with the Shared capacity setting of their Booking block. A product in the categories of several shared capacities counts in the one of its deepest category, so a subcategory can have its own shared capacity.
  • Published: an unpublished shared capacity is not used; its products count their own places again.
  • Products: once saved, the form lists the products counted in the shared capacity.

Only the products of the type Dates with a capacity count in a shared capacity (stays and events keep their own places), and the products of one shared capacity should use the same booking fields. A booking stays in the shared capacity it was made in: a product moved to another category later does not move the places it already sold.

Form of a shared capacity with its products

The shared capacity Annual Workshop 2027: 12 places per workshop for the products of the category Annual Workshop 2027 and its subcategories, here the member, non-member and student registrations.

The bookings listing

Orders > Bookings lists every place taken: its order (or the calendar it was imported from), its type, product, values, quantity, date and the status of its order, with a filter on each column, the sorting of the columns and an export of the filtered list as CSV. A stay has one row per night and a booking lasting several time slots one row per slot.

Checkboxes, simultaneous orders, changed orders, unpaid orders

  • In a checkbox field (or a multiple dropdown), each value ticked takes a place: a registration for Workshop A and Workshop B takes one place in each.
  • Two customers ordering the last place at the same moment: the orders are checked one after the other, the second is refused with a message.
  • An order edited in the backend (a line removed, its quantity or its field values changed) books its new lines and frees the old ones.
  • The places of an order are held from its creation, paid or not. To free the places of orders left unpaid, enable the Order auto cancel plugin of HikaShop, which cancels the orders left in a status (created, for example) after the delay you choose; a cancelled order frees its places.
  • With HikaMarket, an order and the vendor orders made for it count once.
  • The variants of a product are booked as the product: they share its places and use its Booking block (the block is not shown on the variants).

Bookings lasting several time slots

For rentals by the minute or by the hour (a bike, a board, a room, a studio) and services of different lengths, a booking takes every slot of its length: a 1 hour rental at 10:00 also takes 10:15, 10:30 and 10:45.

  • 1) Create the item fields: a date field (advanced date picker, future dates), a dropdown Start time whose values are times, one per slot (09:00, 09:15, 09:30...), and a dropdown Length whose values are minutes, with the label shown to the customer (value 30, title 30 min; value 60, title 1 h). Show the three on the products.
  • 2) In the Booking block of the product: type Dates with a capacity, Item fields the date and the start time (not the length), Default capacity the number of identical items (3 bikes), and Length picked in the field: Length. For a service with one length, leave the field empty and type the minutes in Length of a booking.
  • 3) The gap between two times of the start time field is the length of a slot (15 minutes here). A booking may only take times the field offers: leave out the lunch break (no 12:00 to 13:45) and stop the list at the last start of the day, and a booking running into them can not be chosen. To close slots on given dates, use capacity overrides with 0 places.
  • 4) The price: install the Price calculations plugin, give the product its price for one minute (0.40) and add the formula {price} * {rental_length} (the column name of your Length field) with the condition {rental_length} > 0. The product page shows the price of the length picked, and the cart and the order charge it.

On the product page, once a date and a length are chosen, the start times show the places left and those whose slots are full, closed or after the last time are greyed. The cart refuses a booking any of whose slots is full, counting the cart's other lines, and so does the order.

Booking block of a bike rented by the minute, with the length picked in the Length field

The Booking block of a cargo bike: dates with a capacity, the Date and Start time fields counted, 4 bikes, the length picked by the customer in the Length field, and an override closing the afternoon of 26 November.

With HikaMarket: the vendors' bookings

With HikaMarket (6.1 or later), the vendors of a marketplace manage the bookings of their own products. The administrator keeps the plugin settings, the fields and the shared capacities.

  • The Booking block in the vendor's product form: the same settings as in the back end, for the vendor's own products, with the fields chosen in the setting Fields the vendors can count. The shared capacity applying to the product is shown, not chosen. A room's calendar import is shown only when the setting Vendors can import calendars is on.
  • Bookings in the vendor area: the bookings of the vendor's products, each with the vendor's order of the sale, its values (a booking of several slots once, with its times), its quantity and the status of the order, filtered by product, status and order number, and exported as CSV.
  • Availability: for one of the vendor's products and a day, the places, the places taken and those left of each slot (or each performance of an event).
  • Capacity overrides: the vendor's own overrides, to change the places of its products on dates, days of the week or slots, or to close them with 0 places.
  • Access: in HikaMarket's access settings (of the vendors, or of each vendor), product/edit/plugin/booking shows the block in the product form; plugins/booking/listing the Bookings button, the bookings and the availability; plugins/booking/export the CSV export; plugins/booking/capacity the capacity overrides; plugins/booking/ical the calendar import (with the plugin's setting). A vendor only ever sees and changes its own products, overrides and bookings.

HikaMarket tab of the plugin settings

Booking block in the vendor's product form

The Booking block in the product form of the vendor area.

Places taken and left of each slot of a day, in the vendor area

Availability: the places of each 15 minute slot of a cargo bike on 26 November, three bikes taken from 10:00 to 11:00.

A capacity override of a vendor

A vendor's capacity override closing four afternoon slots on 26 November.

Use cases

Date and hour bookings (appointments, classes, rentals by the hour, delivery slots)

  • 1) Create an item custom field of the type advanced date picker, "Date", allowing future dates only, with the closed weekdays excluded, and a dropdown or radio field "Time slot" with one value per hour (09:00, 10:00, 11:00...). Show both on the products.
  • 2) In the Booking block of the product: Enable booking, type Dates with a capacity, item fields Date and Time slot, default capacity the places of a slot (1 for an appointment, 8 for a class).
  • 3) Capacity overrides for this product: sunday with capacity 0 to close Sundays, 25/12/* with 0 to close Christmas, or the 18:00 slot with 4 places.
  • 4) A cart line takes as many places as its quantity (3 people for a class). For an appointment, set the product's Maximum quantity per order to 1.
  • For slots chosen at checkout for the whole order (bakery or restaurant delivery and pick-up): create the Date and Time slot fields as order fields, select them in the settings' Order fields, and set the settings' Default capacity to the orders a slot can take (Take into account product quantity: No).

Rentals by the minute (bikes, boards, rooms, studios)

  • Follow Bookings lasting several time slots above: a Date field, a Start time field every 15 minutes from opening to the last start, a Length field (15 min to 2 h), the Booking block counting the date and the start time with the number of items, and Price calculations for a price per minute.
  • With HikaMarket, each organiser (vendor) creates its rentals in its vendor area, sets their places and closes its days off, and sees its bookings.

Pool rentals (a private pool rented by the slot)

  • 1) Create a Date field (advanced date picker, future dates) and a "Slot" dropdown (Morning 9:00-13:00, Afternoon 14:00-18:00, Evening 18:00-22:00) as item fields, and show them on the pool's product.
  • 2) In the Booking block: type Dates with a capacity, item fields Date and Slot, default capacity 1, so that a slot sold once is no longer offered. With two identical pools sold as one product, the capacity is 2.
  • 3) In the product, set the Maximum quantity per order to 1, so that an order is one rental.
  • 4) Capacity overrides: close the pool on the days of maintenance (a date with 0), or for winter (*/11/*, */12/*, */1/*... with 0). For a pool rented by the day or by several days, use a Date field in range mode and the type Stay priced per night instead, as for a hotel.
  • 5) Enable the Order auto cancel plugin of HikaShop so that a slot of an order left unpaid is offered again.

Concert and show seat bookings

  • 1) Create an item field of the type advanced date picker, "Date of the show", and show it on the products of your shows.
  • 2) In the Booking block of each show: type Event with dates, item field Date of the show, the capacity of a date (the seats of the hall), the start time, the duration and the venue, then one row per performance in Performances (each can give its own time, capacity or note, and be Cancelled). Only these dates can be chosen, and the listings show the shows in the order of their next date.
  • 3) 4 tickets in a cart line take 4 seats.
  • 4) For numbered seats and zones at different prices, add the Seat Map plugin: draw the plan of the hall and attach it to the show; customers then pick their seats on the plan, held in the cart for a few minutes with the Cart reservation plugin. With HikaSerial, its Seat ticket generator gives a ticket per seat.
  • 5) On the thank-you page, the customer gets the dates booked with "Add to calendar" links for Apple, Outlook and Google calendars.

Hotel bookings (rooms, holiday rentals)

  • 1) Create an item field of the type advanced date picker with Range mode (check-in / check-out) on, the minimum and maximum nights you accept, and show it on the rooms. Optionally, a "Travellers" field with the Price per category plugin (adults, children).
  • 2) In the Booking block of each room: type Stay priced per night, item field the range date field, default capacity the number of identical rooms sold by this product (1 for a single room or a house). The product's price is the price of a night, and a stay costs the sum of its nights.
  • 3) In the settings' Seasons tab, the periods with another night price (high season +40%, weekends +15%, Christmas at a fixed price). Capacity overrides close the nights the room is not available (capacity 0).
  • 4) Extras (breakfast, cleaning, parking) are products sold as options of the room, with Charged as an extra per night, per traveller or once; turn on HikaShop's "Group options" setting.
  • 5) A filter on the date field in the listings of rooms hides the rooms fully booked on the dates searched, and the dates chosen there are filled in on the room's page.
  • 6) If the rooms are also sold on Booking.com or Airbnb, use the Calendar sync of each room (below), and fill in the Microdata settings for the search engines.

Event registrations with workshops (places shared by several products)

  • 1) Create an item field "Workshop" (radio, dropdown, or checkbox when a customer can take several), one value per workshop, and show it on the registration products (member, non-member, student), all in a category "Annual Workshop 2027".
  • 2) In the Booking block of each registration: type Dates with a capacity, item field Workshop, Shared capacity By its categories.
  • 3) In Orders > Bookings > Shared capacities, create "Annual Workshop 2027" with that category and the places of each workshop as default capacity. A workshop with another number of places gets a capacity override of the shared capacity.
  • 4) The next edition gets its own category and its own shared capacity: it has its own places, even with the same field.

Workshops of a registration product with a full workshop and the last place of another

Workshop A was booked through another registration and is full for all of them; Workshop C has its last place.

Sync with Booking.com, Airbnb and channel managers

For a room whose type of booking is "Stay priced per night" and whose booking fields include a date field in range mode, the Booking block of the product shows a Calendar sync part.

  • Calendar of this room: the address of the room's calendar. Paste it where the other site imports a calendar: on Airbnb, in the listing's Calendar, Availability, Connect calendars, import a calendar; on the Booking.com extranet, in Rates & Availability, Sync calendars, add a calendar connection; in Beds24, Smoobu or another channel manager, in the room's iCal import. It gives the nights the room is full on your site (by your orders and by the calendars it imports) and, if you want, the nights you closed, as "Booked" or "Closed", without any guest data. Keep it private all the same: anyone with it sees your occupancy. Tick "Make a new address when saving" to stop an address that went where it should not; then give the new one to every site.
  • Address to give to a calendar you import: the same calendar without the nights imported from that site, the one to give back to it, so that its own bookings do not come back to it.
  • Calendars to import: one calendar per line, as a name, a vertical bar and its address, for example Airbnb|https://www.airbnb.com/calendar/ical/... (Airbnb gives it in Connect calendars, export the calendar; Booking.com in Sync calendars, export). Each event of those calendars blocks its nights on your site: the product page calendar shows them taken, the listing's date filter hides the room and the cart refuses them. They are read when you save the product, then by HikaShop's cron task at the interval of the settings, and the button "Read the saved calendars now" reads them at once. A calendar taken out of the list frees its nights.
  • Last read: for each calendar, when it was read, how many events and nights it gave, or why it could not be read. A calendar that cannot be read keeps the nights it blocked before; after three failed reads in a row, the shop's email address receives one message.
  • In Orders > Bookings, the nights blocked by an imported calendar show its name instead of an order number, with a filter by source, and the CSV export has a Source column.

iCal is not instant: Airbnb reads the calendars it imports about every 3 hours, Booking.com and the channel managers on their own schedule, and your shop at the interval of its settings. A night can be booked on two sites between two reads. For a property in high demand, connect Booking.com and Airbnb to a channel manager, which takes their bookings at once, and sync your shop with the channel manager. Each event blocks one place: a room sold as several identical units blocks one unit per event.

Troubleshooting: "the room has no range date field among its booking fields": select a date field in range mode in the Booking block's item fields. "HTTP 404" or "HTTP 403": the address is wrong or was renewed on the other site; copy it again. "the address does not give a calendar": the address is a web page, not the .ics calendar. Nights that stay blocked after a booking was cancelled elsewhere are freed at the next read of that site's calendar, once that site has updated it.

Microdata settings

These settings control the structured data (JSON-LD) output on product pages for booking-enabled products. Each field mapping can be either a product custom field name (the value will be read from the product) or a hardcoded value.

  • Schema type: the schema.org type to use (Hotel, HotelRoom, LodgingBusiness, BedAndBreakfast, Hostel, Resort). Leave empty to keep the default Product type. Can be overridden per product.
  • Check-in time: check-in time (e.g. "14:00" or a custom product field name).
  • Check-out time: check-out time (e.g. "11:00" or a custom product field name).
  • Occupancy: maximum number of guests.
  • Amenities: comma-separated list of amenities (e.g. "WiFi, Air Conditioning, Minibar").
  • Star rating: hotel star rating (1-5).
  • Bed type: type of bed (e.g. King, Queen, Twin).
  • Number of beds: number of beds in the room.
  • Number of rooms: number of rooms available.