Let’s Rent Cars - Car rental service for OctoberCMS
IMPORTANT: The plugin requires Let’s rent plugin
Let’s rent cars is a plugin that gives a fully-featured car rental solution for Let’s rent based app.
Employees of the rental should use the backend to create orders while clients using the
CreateCarsOrder component described below. Creating the order in the backend gives the ability to add more than one car to the order as well as whatever accessory you want. They are only filtered by the periods and if they are not rented yet. While using the component you can rent only one car and add accessories that are assigned to the car. See the
Accessories categories section below.
The plugin registers two rentable models.
CreateCarsOrder is just a wrapper for the
CreateOrder component from Let’s rent plugin.
It displays the selected car as well as categories of accessories that can be attached (using the accessories categories described below).
You have to ensure that there are as many accessories as needed because the relation between accessory and order are typical polymorphic many to many. It is treated as a normal rentable model, the same way as the
In settings you can specify all details about cars in your rental:
- Brands and models - as a repeater of repeaters with brands and models inside them,
- Classes - like A, B, C, etc.
- Types - like SUV, Minivan, etc.
- Gearbox types - manual, automatic,
- Door number - for example, 2/3, 4/5,
- Fuel types - like gas, diesel,
- Seats - 5, 7 etc.
Every parameter has to be configured to the needs of the rental. The parameters will be used by the backend’s dropdowns in cars as well as filters in the
All parameters except the brand and models are translatable. Remember to use the same code for every language.
Period discounts is the feature of the rental to give lower prices for longer rentals. In the screenshot above all rentals longer than 3 days will be 20% cheaper.
In the backend, you can manage cars in your rental using parameters from settings.
The backend list of cars is filtrable by every parameter from settings.
Accessories categories in the car are categories of accessories that can be attached to the car.
CreateCarsOrder works in such a way that you have to select the categories from which items can be attached to the car.
Let’s say you have a category of external navigations as an accessory to rent. If your car has navigation built-in than it does not make sense to give external navigations to be rentable for the car.
Accessories are optional equipment for the car when being ordered. They use categories from Let’s rent plugin.