Purpose
This page describes the Vehicle Comparison module as a standard reference, covering both technical and operational aspects.
π Vehicle Comparison
Contentsβ
- Usage
- Features
- Developer Notes
The Vehicle Comparison module is designed to manage and present vehicle comparison 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_vehicle_comparison vehicle_ids=""]
You can also insert it visually from the Gutenberg block editor by selecting "MHM Rentiva β Vehicle Comparison".
Parametersβ
The following parameters are available inside the shortcode:
| Parameter | Default | Description |
|---|---|---|
vehicle_ids | (empty) | Controls the module's feature filter behavior. |
show_features | all | Controls the module's general display behavior. |
max_vehicles | 4 | Controls the module's general display behavior. |
show_add_vehicle | 1 | Controls the module's general display behavior. |
show_remove_buttons | 1 | Controls the module's general display behavior. |
show_prices | 1 | Controls the module's general display behavior. |
show_images | 1 | Controls the module's general display behavior. |
show_booking_buttons | 1 | Controls the module's general display behavior. |
layout | table | Controls the module's general layout behavior. |
title | (empty) | Controls the module's general display behavior. |
manual_add | 0 | Controls the module's general display behavior. |
class | (empty) | Controls the module's general layout behavior. |
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-vehicle-comparison-wrapperclass. - Customization: CSS variables (
--mhm-color-primary, etc.) are inherited from the globalcss-variables.cssfile.
Section Summaryβ
- The Vehicle Comparison page has been aligned to the standard documentation structure with consistent reference headings.
Changelogβ
| Date | Version | Note |
|---|---|---|
| 23.04.2026 | 4.27.2 | English translation added. |
| 19.03.2026 | 4.21.0-docs | Page alphabetized and image placeholder added. |