Weekio is a calendar theme for the booking form, made in the style of the best booking apps. The client chooses the service first, then the date and time, then fills in the details. The summary of the booking stays in view the whole time. It suits studios, rentals, salons and any business that sells several services and wants the booking to open over the page from a button.
Plans and how to turn it on
Weekio is included in the Pro and Elite plans, like the Amelio theme. It is not in the Free and Starter plans or in the WordPress.org build. Without a suitable plan the theme is shown in the list as locked.
Open the Design settings of the plugin in Baza Booking.
In the Theme list choose Weekio.
Under the list read the panel How to use. It has three tabs, Shortcodes, Buttons and links and For developers, each with lines you can copy.
Save the settings.
To use Weekio in one place only, add the attribute theme to the shortcode:
The three steps and the summary
Choose service. The client picks what to book. The step is skipped when the page or the button already names one service, for example the link #bbc-book-12.
Choose date and time. The calendar of the chosen service.
Your information. The booking form, then the Book now button.
Weekio does not draw a second form. It arranges the plugin’s own calendar and form in steps, so rules, validation, payment and notifications work exactly as with any other theme.
Summary card and bottom bar
On a computer the summary card stands on the right of the steps. It shows the chosen service, the price lines, the total and the line Secure payment by with the logo of the payment gateway that is switched on.
On a phone the summary is a bar at the bottom of the screen with the total and the button for the next step. When several dates are chosen they fold into one row, Your booking (N). A tap on it opens the dates as a sheet.
What is already chosen
When the client clicks a service, the window shows what is already chosen inside it.
A check mark appears on a service only when times are chosen in it. The line reads, for example, 2 chosen: times.
When times are already chosen, Continue goes straight to the details.
Prices in the window
Second price. A service can have a second price for the hours after the first. It can be limited to a window of hours in the service settings. If that window is left empty, the second price applies to the whole day. The window shows the prices as the calendar charges them.
The calculation. The summary shows the discounts, the VAT, the deposit and the total, as the calendar calculates them.
By-date cart. With the cart turned on, Add another service lets the client put several services and dates into one booking. Each date shows its times, its add-ons and its charges inside the summary.
Add-ons in the same window
Add-ons open inside the booking window, so the client never leaves it. Only the add-ons that the service has are offered. If the service has none, nothing is shown.
The categories stand on the left of the add-on cards. In a left or right panel the categories become the plugin’s select and the cards stand one per row.
Add-ons can be chosen for each date separately.
Same for every date copies the choice to all the dates.
The booking window
The booking window opens the calendar over your page from any button, image, menu item or link. The visitor does not leave the page. It is not an iframe: the calendar is drawn into the page itself and kept there. The window closes with the cross, the Escape key or a click outside it. The booking window is in every build of the plugin.
Triggers
Link #bbc-book: all services.
Link #bbc-book-12: one service, by id. A slug works too.
Link ?booking=open or ?booking=open&service=12: from an advert, a menu or an e-mail.
CSS classes bbc-open (all services) and bbc-book-12 (service 12).
CSS classes bbc-pos-left and bbc-pos-right: the side the window opens from.
Attributes data-bbc-service, data-bbc-theme, data-bbc-position and data-bbc-close.
<a href="#bbc-book-12" class="bbc-pos-right">Book the studio</a>
<button data-bbc-service="12" data-bbc-theme="weekio" data-bbc-position="left" data-bbc-close="outside">Book</button>
window.bbcBook.open('12', 'weekio', 'right', 'outside'); // service, theme, position, close
window.bbcBook.close();
Placement
The window can stand in the center of the screen or slide in from the left or the right. With Weekio selected, the default is set in Design, in the block Calendar view, in the field Booking window position. A link attribute, a bbc-pos-* class, the filter baza_bc_triggers_position or the JavaScript call overrides it for that one trigger.
Close button and scrolling
The close button sits on the corner of the window. To put it beside the window, use data-bbc-close="outside", the filter baza_bc_triggers_close_style returning 'outside', or the fourth argument of bbcBook.open.
The two columns of the window scroll independently. The scrollbars are hidden, with a soft fade at the edges.
The loader stands in the middle of the list while the calendar loads.
For developers
baza_bc_triggers_position: the default placement when nothing else names one.
baza_bc_triggers_close_style: the default close button style.
baza_bc_triggers_allow_origin: an origin, for example https://other.example, that may load the calendar from another site. Empty means this site only.
Open a service in Baza Booking, choose a page in the field Service page and save. The photo and the name of the card then link to that page. No link keeps the card without a link.
Page builder widgets
Both shortcodes are ready widgets in Gutenberg, Elementor, Divi, WPBakery, Beaver Builder, Bricks, Breakdance, Oxygen and SiteOrigin. The widgets carry the same attributes as the shortcodes, including the sub-service ones. In any other editor, give a button the link #bbc-book.
Colours, shape and compatibility
Colours and shape come from the design settings of the plugin: the accent colour, the radius and the fonts.
The theme does not use an iframe.
It works with the Embed module.
Troubleshooting
The window does not open. Check that the link is exactly #bbc-book or #bbc-book-12, or that the element has the class bbc-open. Another script on the page may be stopping the click.
The theme is locked. Weekio needs the Pro or Elite plan. To upgrade, see the pricing plans.
Add-ons are missing. The service has no add-ons, or none apply to the chosen date.
The second price is not shown. The service has no second price, or the chosen hours are outside the window of hours for it.