Booking form: [vstrb_booking_form]
Shows the availability calendar, price quote and reservation form. Required: unit="YOUR_ID".
months="N" |
Number of calendar months to display (default 1). |
|---|---|
grid="N" |
Number of month columns in the calendar grid (default 1). |
availability_days="N" |
Upcoming days in the public availability endpoint (default 180, maximum 366). |
currency="CODE" |
Currency code used in the price breakdown (default EUR). |
language="CODE" |
Two-letter language code (cs, de, en …) for services, contact field labels and the quote. Without it the page language is used, then the browser language. |
enable_stripe="1" |
Show card payment via Stripe (keys and webhook secret in Bookings -> Settings -> Payments). |
enable_mollie="1" |
Show card payment via Mollie (API key and webhook URL in Bookings -> Settings -> Payments). |
enable_paypal="1" |
Show payment via PayPal (Client ID, Secret and webhook URL in Bookings -> Settings -> Payments). |
enable_bank_transfer="1" |
Show bank transfer (default instructions in Settings -> Payments, per-apartment text in Bookings -> Apartment Content). |
enable_cash="1" |
Show cash payment. |
show_gender="0" |
Hide the gender field. |
show_country="0" |
Hide the ISO 3166-1 country selector (shown by default). |
country="CZ" |
Preselect a country. Without it the country is detected from the shortcode or page language. |
show_children="0" |
Hide the children field and use one combined guest count. |
show_children_ages="0" |
Disable the required age field for each child (0-17 years, enabled by default). Ages are stored with the reservation. |
consent_key, consent_label, consent_required="1" |
Add one consent checkbox. The label supports [link url="https://example.com/terms"]Terms[/link]. |
layout="stacked|two-column|compact" |
Form layout (default stacked). |
order="calendar,guests,services,pricing,contact,consents,payment,security,submit" |
Order of form sections; omitted sections are appended in the default order. |
defer="0" |
Disable lazy loading for this form (global option: Settings -> General -> Lazy-load Booking Form). |
Billing details are optional for all payment methods. Guests enable them with Add Billing Details when they need an invoice. Card and bank-transfer payments without billing details create only a payment record; bank-transfer instructions and Czech QR payments use the booking ID as the payment reference and variable symbol.
Reusable consent checkboxes: create a Checkbox / consent field in Bookings -> Settings -> Contact Fields and select it in the apartment editor. The Terms and conditions step of the apartment setup wizard creates the required terms_and_conditions consent automatically; it is always shown right before the submit button.
The Create apartment page wizard can create a Gutenberg or, when Elementor is active, an Elementor page, and set the number of calendar months (1-12) and columns (1-6); the wizard defaults to 2 months and 1 column.
[vstrb_booking_form unit="YOUR_ID" language="de" show_gender="0" show_country="1" country="DE"]
[vstrb_booking_form unit="YOUR_ID" layout="two-column" order="calendar,guests,contact,consents,services,pricing,payment,security,submit"]
[vstrb_booking_form unit="YOUR_ID" enable_stripe="1" enable_mollie="1" enable_paypal="1" enable_bank_transfer="1" enable_cash="1"]