7.3 Booking widget for a car rental website
The booking widget of the car rental software goes on any website — Tilda, Wix, WordPress or a custom-built site — with one line of code. This line loads a script that puts a window (iframe) with our form in its place: your website’s styles do not affect the widget, and the widget itself does not touch the page. The widget takes locations, available vehicles, prices, extras and insurance from your account, and bookings, customer cards and photos of their documents from the website appear in the cabinet.
A company sets up the widget for its own website in the “Integrations & Agents” section. An agent can also put the same widget on its own website — from its own cabinet (see “Widget on an agent’s website” below).
Where to set up the booking widget
- Open the “Integrations & Agents” section and, in the “Booking widget for your website” block, click “Set up widgets” — the “Widgets for your website” page will open.
- Click “+ Add widget” and, in the “Which widget?” window, choose a type — the widget will be created and “Widget settings” will open.
- In the “Your website addresses (where the widget may be embedded), one per line” field, enter the website address, for example mysite.com (you can leave out https:// — the address is then treated as https). If the website opens both with www and without it, add both addresses.
- Set up the widget in the editor while watching the “Preview”, and click “Save”.
- In the “Embed code” block click “Copy code” and paste the line into your website where the widget should appear.

Widget types
- Search form — pick-up and return dates and a location. It opens the booking window or your results page.
- Vehicle catalog — your fleet with prices per day, sorting and filters. “Book now” opens the booking of the chosen vehicle.
- Booking on the page — the whole booking on your page: dates, choosing a vehicle, extras and insurance, customer details with documents, confirmation or payment.
- “Book now” button — a single button that opens the booking window over your page.

Widget editor
To the right of the settings is the “Preview”: the widget as the visitor will see it. Above it there are two rows of tabs:
- booking steps — “Dates”, “Vehicle”, “Extras”, “Details”, “Booking summary”, “Booking received”: the preview shows the chosen step on an example, so you can set up every screen without going through a booking;
- screen size — “Desktop”, “Tablet”, “Phone”: the preview narrows to the width of a tablet or a phone.
Click any element of the preview — the heading, the steps bar, a vehicle card, the filters, the customer form, a button — and the panel of its settings opens on the left. The panels:
- “Appearance” — light or dark theme, ready-made primary colours, size of fields and buttons, font sizes of headings, text and labels, buttons: height, font size, corner rounding and a full-width main button. The typeface is set in the “Font” field: our own set of 25 fonts, loaded from our server, without third-party font services.
- “Steps and header” — the heading and subheading above the widget, the steps bar, hints under the step headings, the date and time format, search form fields in a row or in a column.
- “Catalog” — the vehicle card (a tile or a row with the price on the right), vehicles per row, the default sorting, filters above the list and which of them to show, specifications in the card (gearbox, fuel, seats, doors, luggage, year, engine, body type, group, drive).
- “Extras and insurance” — the “Extras” step and what to show on it. The extras and insurance are those set for this vehicle in your “Equipment & Insurance” section.
- “Customer form” — for each field (last name, phone, country, city, address, date of birth, comment): “Off”, “Optional” or “Required”. First name and e-mail are always required. The “Documents” block — driving licence and passport, the document itself and its photo separately. Here you also set the privacy policy page and the coupon field.
- “Booking” — “Online prepayment” or “Request without payment” (see “Taking bookings” below), the prepayment share and the request form for when no vehicles are available on the dates.
- “Texts” — all the widget’s phrases in the chosen “Language”: type your own phrase instead of the standard one (empty — the standard one). “Reset texts of this language” brings back the standard ones.
Settings of the “Catalog” (vehicles per row), “Appearance” (heading font size) and “Steps and header” (search form fields) panels made while “Tablet” or “Phone” is selected apply only to that screen size; an empty value means the same as on a desktop. “Reset style” returns the appearance, steps and catalog to the values of a new widget; the texts, the customer form and booking acceptance do not change.

Widget settings
- Name (for your list) — visible only to you, up to 80 characters.
- Widget type — one of the four types; you can change it later too.
- Language — one of 20 languages. A new widget is set to English — choose the one you need.
- Default pick-up location — the location the search starts from; “First in the list” is the company’s first location.
- Font and Corner radius, px — from 0 to 32.
- Width — “Full width of the container” or “Fixed, px” (from 240 to 1200).
- Height — “By content” (the window adjusts itself) or “Fixed, px” (from 200 to 2000; anything extra scrolls inside).
- Primary colour, Text colour and Background.
- Button text — up to 60 characters; if empty, the standard text in the widget’s language is used.
- Results page on your site (optional) — only for the search form: the address of the page that holds “Booking on the page”. If empty, the booking opens in a window over the page.
- Show the “Powered by CarRentSoft” link under the widget — a checkbox below the fields; in a new widget it is ticked. For details see the “Link under the widget” section below.
The “Set up” and “Embed code” buttons in the widget list open the settings and the code again. Changes to the settings apply without pasting the code again. “Delete” turns the widget off: the code on the website will stop working.
Customer documents right in the booking
If documents are turned on in the “Customer form” panel, at the “Details” step the visitor enters the number, issue date and expiry date of the driving licence and passport and attaches a photo or scan (an image or a PDF). The widget reduces photos from a phone itself before sending them.
For a booking from the website the software:
- finds a customer you already have: by e-mail or phone, and if there are none — by first name, last name and document number (the same duplicate check as when adding a customer manually). The software does not change the card of the found customer with data from the website — it only adds documents with new numbers;
- otherwise creates a new customer card with the form fields — you will get the “New contact” notification;
- puts the documents and their photos into the customer card, the “Documents” section: the same documents and scans that a staff member adds, with the same access rights. The data can be recognised from the scan right there;
- first, before anything is saved, checks the customer against the blacklist. Your own blacklist (the customer group in their card) always applies. The global one — only if the “Global blacklist” module is turned on: Settings → “System & Modules” → “Advanced settings” → “Enabled modules”; a match is the first name, last name and document number. A blacklisted customer does not get a booking from the website: the software creates no booking, no new card and no documents. The visitor sees the neutral phrase “Online booking is not available right now. Please contact the company directly.”, and in your “Action log” a “Refusal” entry appears with the data the visitor entered and the reason.
The widget will not accept an expired document — the visitor will see which expiry date to correct. Below the form there is a mandatory checkbox of consent to the processing of personal data; its text is changed in the “Texts” panel, the link to your policy — in the “Customer form” panel. The consent text the visitor saw is saved together with the booking.

Taking bookings
- “Online prepayment” — after booking, the visitor goes to the payment page of your payment system (it is connected in the “Integrations & Agents” section). The prepayment share of a company widget is the “Prepayment, %” field of the “Booking” panel; of an agent widget — “Prepayment percent, %” in the agent card. Until a payment system is connected, the editor does not save a widget in this mode and tells you where to connect one. After payment, the visitor sees the “Payment received” page and 10 seconds later returns to the page of your website where the booking started (or right away with the “Return to the site” link). The return works only if the website is listed: for a company widget — in the “Your website addresses” field, for an agent widget — in the “Websites” field of the agent card.
- “Request without payment” — the booking is created at once, with the new-booking status from your settings; the visitor sees the booking number and “The rental company will contact you to confirm the booking”. You take payment as usual — for example, with a payment link from the booking card.
A new widget is created in the “Request without payment” mode: turn on online prepayment in the “Booking” panel once you connect a payment system.
If no vehicles are available on the chosen dates and the request form is turned on in the “Booking” panel, the visitor leaves a name, contacts and a comment — you get the “Request from the website” notification with the dates and the contact, and the customer appears in the “Customers” section.
Bookings from one address are limited to ten per hour — protection against spam.
Embed code
The “Embed code” block has two kinds of code:
- “Script (recommended)” — one line with the embed.js script and the widget number in the data-widget attribute. The window height adjusts to the content, and the button and the search form open the booking in a window over the page.
- “iframe” — for website builders where scripts cannot be inserted: set “Width, %” and “Height, px”; content taller than this height scrolls inside.
The code contains no secret keys: the widget number opens only the storefront — locations, available vehicles and prices — and booking acceptance.
Website on WordPress? Next to “Copy code”, click “Download WordPress plugin”: the plugin places the widget with a shortcode, a block or a floating button without editing the page code. How to install it — WordPress plugin: step-by-step setup.
Website on Joomla? Click “Download Joomla module”: the package places the widget as a module in a template position or with the {carrentsoft} tag in an article, and the widget ID is already filled in. How to install it — Joomla module: step-by-step setup.
Link under the widget
Under the widget on your website there is a small link line to the developer of the system — CarRentSoft — in the widget’s language, for example “Car rental software by CarRentSoft”. Each widget has its own two or three such captions, and the same page of your website always shows the same one. The link leads to a page of the carrentsoft.com website in the same language and opens in a new tab. The line is placed by the same embed code — right on your website’s page, under the widget window, with its own styles: it does not change your website’s design, and your website does not change it.
The link is on for every widget, including those installed earlier. To remove it:
- Open “Widgets for your website” and click “Set up” next to the widget you need.
- Untick the “Show the ‘Powered by CarRentSoft’ link under the widget” checkbox.
- Click “Save”. The line will disappear from the website the next time the page loads; the embed code does not need changing.
The checkbox applies to one widget: if you have several widgets, untick it in each one. To bring the link back, tick the checkbox again and save. The line is not shown in the cabinet preview — it appears only on your website.
Widget on an agent’s website
An agent puts the same widget on its own website from its own cabinet; bookings from it are recorded to the agent together with its commission.
- In the “Integrations & Agents” section, “Agents” subsection, click “+ Add agent”.
- In the “Connection type” field choose Iframe, and in “Agent name” type the name.
- Tick “Agent account access”, set the “Agent username” and “Agent password” and fill in “Agent e-mail”.
- In the “Websites” field, use the “+ Add site” link to enter the address of the agent’s website.
- Fill in “Prepayment percent, %” — from 1 to 100. Without it the agent will not be saved.
- Leave “Status” as “Active” and click “Add agent”.
- Click the pencil (✎) on the agent’s tile: below the fields is the login address of the agent cabinet; it ends in /agent/login.
- In the agent cabinet open “Widgets” — the same editor and the same embed code are there. The websites of an agent widget come from the “Websites” field of its card.
“Connection type” in the agent card is a note for your list: the widget works with any type you choose.




If the widget has not appeared
- The website address is not specified: for a company widget — in the “Your website addresses” field of the widget settings, for an agent widget — in the “Websites” field of the agent card. Without it the widget works only in the preview. If the website opens both with www and without it, add both addresses.
- Instead of the form the widget says that it is unavailable — the widget has been deleted or the agent has been switched to the “Disabled” status.
- The booking is not accepted and the visitor sees “Online payment is not available yet” — the widget is in “Online prepayment” mode and no payment system is connected. Connect one or choose the “Request without payment” mode in the “Booking” panel.