# Managing a rental stock shared across several dates on PrestaShop

> In rental, the available quantity depends on the dates requested. A model based on reservations rather than decrements, the turnaround buffer, fungible or identified fleets, overbooking and the four breaking points in production.

- Page: <https://www.datafirefly.com/en/2026/11/24/rental-stock-shared-across-dates-prestashop/>
- Language: en
- Published: 2026-11-24
- Last updated: 2026-10-10
- Other languages: [fr](https://www.datafirefly.com/2026/11/24/stock-location-partage-plusieurs-dates-prestashop/index.md), [es](https://www.datafirefly.com/es/2026/11/24/stock-alquiler-compartido-varias-fechas-prestashop/index.md), [de](https://www.datafirefly.com/de/2026/11/24/mietbestand-mehrere-termine-prestashop/index.md), [it](https://www.datafirefly.com/it/2026/11/24/giacenza-noleggio-condivisa-piu-date-prestashop/index.md), [pl](https://www.datafirefly.com/pl/2026/11/24/stan-wynajmu-dzielony-kilka-dat-prestashop/index.md), [nl](https://www.datafirefly.com/nl/2026/11/24/verhuurvoorraad-meerdere-data-prestashop/index.md), [pt](https://www.datafirefly.com/pt/2026/11/24/stock-aluguer-partilhado-varias-datas-prestashop/index.md)
- Index: <https://www.datafirefly.com/en/2026/llms.txt>

A sales stock decreases. A rental stock does not: the same bicycle can be rented fifty times in a year, but only once from 12 to 15 July. The available quantity is not a number, it is a function of time.

That difference is what defeats most adaptations of PrestaShop to rental. This article covers the data model and the calculation rules. For the calendar interface and the customer-facing presentation, see [the article on the calendar and availability](https://www.datafirefly.com/en/equipment-rental-prestashop-calendar-availability/).

## The model: reservations, not decrements

The principle fits in one sentence: you do not store an available quantity, you store reservations, and you calculate availability on demand.

A reservation carries at minimum a product reference, a start date, an end date and a quantity. The question asked when a customer requests "three units from 12 to 15 July" becomes: what is the sum of the quantities reserved across the reservations that overlap this period?

The overlap test is the central building block, and it is subtler than it looks. Two periods overlap if the start of one is earlier than the end of the other and the start of the other is earlier than the end of the first. The two classic mistakes: testing only whether the start date falls within the existing period, which lets an enveloping reservation through, and using strict or inclusive comparisons without deciding whether a reservation ending on the 12th blocks a reservation starting on the 12th.

That last question is not technical, it is operational. It depends on your turnaround buffer.

## The buffer, which is the most profitable parameter

Between the return of a piece of equipment and its next rental, things happen: inspection, cleaning, recharging, possible repair. If your model ignores that, you sell slots you cannot honour.

The buffer is expressed in hours or days, and it is added to the end of each reservation in the overlap calculation. Concretely, a rental ending on the 12th at 6pm with a 24-hour buffer blocks the equipment until the 13th at 6pm.

Three calibrations depending on the trade. A few hours on simple equipment returned in store. A full day on equipment requiring inspection. Two to three days on shipped equipment, where the buffer has to cover the return transit, whose exact date is outside your control.

On shipped equipment, the rule that avoids the most incidents: the buffer counts from the actual receipt, not from the theoretical rental end date. Until the return has been recorded, the equipment stays unavailable.

## Fungible or identified: two distinct models

The question to settle before writing anything: are your units interchangeable?

**The fungible fleet.** You have twelve identical tables and it does not matter which one goes out. Availability is calculated on a global counter, as described above. A simple model, sufficient for the majority of businesses.

**The identified fleet.** Each unit carries a serial number, a maintenance log, an hours counter, possibly a registration. The reservation then covers a specific unit, not a quantity.

The second model is markedly heavier, but it becomes mandatory as soon as one of the following three conditions is met: a regulatory traceability obligation, periodic maintenance per unit, or a difference in value between units of the same model.

An intermediate approach works well: reserve against the global counter at the moment of the order, and assign the specific unit at the moment of preparation. The customer reserves "an electric bicycle, size M", the operator assigns number 7 on the morning of departure. That avoids blocking a named unit for weeks for nothing, while keeping traceability.

## Overbooking, and how to calibrate it

A share of reservations does not materialise: cancellations, customers who do not turn up. Some businesses therefore accept more reservations than units.

The practice is legitimate, but it calls for three precautions.

**A rate grounded in your data**, not in a hunch. If your late cancellations represent 8% of reservations, overbooking at 5% is reasonable. At 20%, you are organising refusals.

**An exclusion of peak periods.** Overbooking is justified when an unhonoured slot can be rescheduled. On a weekend of heavy demand there is no room for manoeuvre, and the unhappy customer is unhappy in public.

**A written fallback procedure.** What do you offer when everyone turns up? A higher model at the same price, a reschedule with a goodwill gesture, an enhanced refund. Decided in advance, not at the counter.

On a business with fewer than fifty reservations a month, overbooking makes no sense: the law of large numbers does not apply, and a single refusal wipes out several months of benefit.

## The breaking points in production

**Contention on the last unit.** Two customers confirm the last unit at the same instant. The availability check and the writing of the reservation must happen in a single transaction, with a lock on the product row. A check upstream followed by a decoupled write systematically lets double reservations through at peak times.

**The unconfirmed basket.** A customer who has selected dates without paying must not block the slot indefinitely. A pre-reservation of fifteen to thirty minutes, purged automatically, is the right compromise. Without it, an abandoned basket makes the equipment invisible for days.

**Time zones and days.** Does a rental "from the 12th to the 15th" count as three days or four? The answer must be identical throughout the system, from price calculation to calendar display to invoicing. It is the most frequent source of discrepancy between what the customer believes they reserved and what they are billed for.

**Non-rental unavailability.** Maintenance, internal loans, equipment under repair. These must enter the same mechanism as customer reservations, otherwise you maintain two calendars that will diverge.

## What to track

Two indicators are enough to steer a fleet.

The **utilisation rate per reference**, meaning the number of days rented against the number of days available. That is what tells you whether to buy an additional unit or sell one off.

The **refusal rate**, meaning date requests that came to nothing for want of availability. It is harder to measure, since unsuccessful searches must be logged, but it is the only figure that reveals the demand you are not serving. A fleet at 60% utilisation with a high refusal rate signals a problem in the distribution of slots, not a shortage of equipment.

The  implements this model on PrestaShop 8 and 9: reservations with an overlap test, a turnaround buffer configurable per product, fungible fleets or identified units, basket pre-reservation with automatic purge, and a log of searches that found no availability.
