Skip to main content

Version Docs Updated

Purpose

This page describes the Booking Form module as a standard reference, covering both technical and operational aspects.

πŸš— Booking Form

Contents​

  • Usage
  • Features
  • Developer Notes

The Booking Form module is designed to manage and present booking processes to visitors on the Rentiva platform.

Usage​

IMAGE COMING SOON

A screenshot showing the frontend (visitor-facing) appearance of this module will be added here.

To add this module to any page or post, use the shortcode below:

[rentiva_booking_form vehicle_id=""]

You can also insert it visually from the Gutenberg block editor by selecting "MHM Rentiva β†’ Booking Form".

Parameters​

The following parameters are available inside the shortcode:

ParameterDefaultDescription
vehicle_id(empty)Controls the module's feature filter behavior.
start_date(empty)Controls the module's general display behavior.
end_date(empty)Controls the module's workflow behavior.
show_vehicle_selector1Controls the module's general display behavior.
default_days(from settings)Controls the module's workflow behavior.
min_days(from settings)Controls the module's workflow behavior.
max_days(from settings)Controls the module's workflow behavior.
show_payment_options1Visibility toggle. 1 (on) or 0 (off).
show_addons1Visibility toggle. 1 (on) or 0 (off).
class(empty)Controls the module's general layout behavior.
redirect_url(empty)Controls the module's workflow behavior.
enable_deposit1Visibility toggle. 1 (on) or 0 (off).
default_paymentdepositControls the module's workflow behavior.
form_title(empty)Controls the module's content behavior.
show_vehicle_info1Visibility toggle. 1 (on) or 0 (off).
show_time_select1Visibility toggle. 1 (on) or 0 (off).

Features​

πŸ“± Responsive Design​

  • Mobile: Single-column layout.
  • Tablet (under 782px): Optimized view.
  • Desktop: Full view at the configured column count or width.

πŸš€ Performance-Focused​

  • Smart Caching: Database queries are optimized and cached by the system.
  • Conditional Loading: Static assets are only enqueued on pages where the module is used.

Developer Notes​

  • HTML Structure: All containers start with the .mhm-rentiva-booking-form-wrapper class.
  • Customization: CSS variables (--mhm-color-primary, etc.) are inherited from the global css-variables.css file.

Section Summary​

  • The Booking Form page has been aligned to the standard documentation structure with consistent reference headings.

Changelog​

DateVersionNote
23.04.20264.27.2English translation added.
19.03.20264.21.0-docsPage alphabetized and image placeholder added.