> For the complete documentation index, see [llms.txt](https://ovatheme.gitbook.io/brw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ovatheme.gitbook.io/brw/common-fields/inventory-and-quantity/inventory.md).

# Inventory

## **Watch the Tutorial Video**&#x20;

{% embed url="<https://youtu.be/9lnLuorw3WI>" %}

## 1) Defined

Control how many units can be booked simultaneously and, optionally, assign named vehicles/units to each slot.

**Field**: <a class="button primary">inventory</a>

**Applies to rental type**: <mark style="background-color:$success;">All Types</mark>

## 2) Config in Product

| Field                            | Description                                                                                                                                                                                                                                                                                                                              |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Control inventory `manage_store` | <p><strong>Automatically</strong> (<code>store</code>) — plugin tracks availability by count. Recommended for most use cases.<br><strong>Manually</strong> (<code>id\_vehicle</code>) — assign named vehicles from <em>Manage Vehicles</em>; the vehicle name appears in the customer's order details. Not available for Hotel type.</p> |
| Stock quantity `car_count`       | How many units can be booked in parallel. Minimum 1. The plugin blocks new bookings when this count is exhausted for a given date range.                                                                                                                                                                                                 |
| Choose Vehicles `id_vehicles[]`  | Multi-select. Visible only when *Manually* is selected. Select from vehicles created in **Manage Vehicles**. At least one vehicle must be selected. The number of selected vehicles determines the effective stock count.                                                                                                                |

{% hint style="warning" %}
**Hotel type**: <mark style="color:red;">only the</mark> <mark style="color:red;"></mark>*<mark style="color:red;">Automatically</mark>* <mark style="color:red;"></mark><mark style="color:red;">option is shown; manual vehicle assignment is not available for hotel rooms.</mark>
{% endhint %}

## 3) Example

<div><figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2F3JiTmPPrqZcxDn0uHTMo%2FScreenshot%202026-06-22%20at%2011.12.42.png?alt=media&amp;token=4bf99cfe-b8f4-4b4b-98a2-68528f6d6471" alt=""><figcaption><p>Backend Settings</p></figcaption></figure> <figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FgHe7f1lL0ioSwEHr4qgb%2FScreenshot%202026-06-22%20at%2011.13.43.png?alt=media&amp;token=3d1bcdf0-079c-4122-a729-09e0d57fa4c2" alt=""><figcaption><p>Booking Form - Frontend</p></figcaption></figure></div>

## 4) Manage Inventory

In this plugin, we give 2 options to support you to manage inventory:

### 1: Automatically:&#x20;

If you have 3 identical products, there’s no need to create 3 individual products for them, Simply:&#x20;

* &#x20;Firstly, create **a single product**
* Then,  go to the "**Inventory"** section, choose **"Automatically"** for "Control inventory" , and set the "S**tock Quantity" to 3**. This allows your customers to order between **1 and 3 units** of the product.

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FSDT68ykmv09ofhHsV53y%2Fimage.png?alt=media&amp;token=e89eb59a-a91a-416d-bfd6-6c4652a7976b" alt=""><figcaption></figcaption></figure>

Suppose you have **3 Vios cars available for rent**. If a customer books all 3 cars for the period **from May 28, 2024 to May 30, 2024**, then **no other customer will be able to book these cars during that time**, since they are fully reserved.

### 2: Manually :&#x20;

Use this feature if you want to manage individual products based on **unique IDs** — for example, license plate numbers or asset codes.

{% stepper %}
{% step %}

### Create Vehicle

Go to **BRW → Manage Vehicle → Add New Vehicle**

* Enter the **Vehicle Name**
* Add a **Unique Vehicle ID** (e.g., license plate number)
* **Require Location**: Select **Yes** or **No** depending on whether you want to assign a location to the vehicle.
* Add **Unavailable Time** ( optional )

**Example:**

Suppose you have **3 identical BMW cars**, but you want to manage them individually based on their license plates: `30A456`, `29B123`, and `31C765`.

In this case, you will create **3 separate vehicle entries**, each with its own unique ID.

<div><figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FIVOxy90SMwpUUj43Jbca%2Flocation-feature-brw.png?alt=media&amp;token=9609b8da-f25c-45ad-b5f3-c68b51917017" alt=""><figcaption></figcaption></figure> <figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FSRtrjhX7waOCWeyVdGPq%2Flocation-feature-brw-1.png?alt=media&amp;token=340a250b-ae7e-478c-a8f0-e5f4699db7b8" alt=""><figcaption></figcaption></figure> <figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FFFk68nCMKuVRYJyLwpPc%2Flocation-feature-brw-2.png?alt=media&amp;token=6131e9d0-a4cf-4482-bf58-bfe74dbef9c8" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### **Assign Vehicles Manually to Product**

* Firstly, Go to **Products >> Add New >> Inventory**
* In the "Control inventory" dropdown, select "**Manually"** value
* A new field **“Choose Vehicles”** will appear
* Select the vehicles you created in **Step 1**

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2Fi10jjUcSWhOnPxAITL1j%2Fimage.png?alt=media&amp;token=8003bde3-93e9-4de4-b0c2-92bb2547f77a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Display in the Frontend

When a customer places a booking for one of these products, their order will be assigned to a specific vehicle by its **unique ID**.\
That means the customer **must receive the exact vehicle** (with the ID shown in their order confirmation).

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FCiLzKHzLZqGklReWJitt%2FScreen%20Shot%202024-06-13%20at%2014.30.10.png?alt=media&amp;token=8f2a13ff-3346-4074-82be-c0d9b8d4f869" alt=""><figcaption><p>Display Vehicle ID in Order Detail</p></figcaption></figure>
{% endstep %}

{% step %}

### Manage Vehicle in Backend

* View the vehicle ID of a booking

Go to: **BRW >> Manage Bookings**

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2FFVyd6D0ZAFtYUo2Dc1Bd%2Flocation-feature-brw-3.png?alt=media&amp;token=c770aeb1-3dd6-4ae3-92e5-daa246797256" alt=""><figcaption><p>Admin can see Vehicle in Manage Order</p></figcaption></figure>

* Search Order by vehicle

go to: **BRW >> Manage Bookings**&#x20;

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2F0BiWCzkBXojV04GVpqXk%2Flocation-feature-brw-4.png?alt=media&amp;token=9c6042ab-0410-4c0c-9ec9-dedc0d51d210" alt=""><figcaption></figcaption></figure>

* Check Available Vehicle IDs of any product in any time.

Go to: **BRW >> Booking Calendar**

<figure><img src="https://4082525133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa2OkFafBNY1uvQO4naAL%2Fuploads%2Fd72TdiLj97Q8frL4owIe%2Flocation-feature-brw-5.png?alt=media&amp;token=3cd8b51f-87cd-439c-8aef-acc45f65a1bd" alt=""><figcaption><p>Check available Vehicle ID</p></figcaption></figure>
{% endstep %}
{% endstepper %}
