# Allocate Lockers

<p class="callout info">This article describes the process of setting up and managing your locker inventory using the Locker Allocation tool. This feature allows administrators to create a hierarchical structure of buildings and areas, add individual lockers in bulk, and manage their status and visibility. This guide is intended for OPSCOM administrators responsible for locker management.</p>

### Setup &amp; Configuration

Setting up your locker inventory is a hierarchical process that involves creating buildings, then areas within those buildings, and finally adding lockers to those areas.

##### <span style="text-decoration: underline;">Accessing the Locker Allocation Page</span>

- Hover over **Lockers Management** and select **Allocate**.

##### <span style="text-decoration: underline;">Create a Building</span>

1. On the **Manage Locker Numbers** page, click **Add Building**.
2. Enter the **Building Name** and **Location** information.
3. Click **Save Changes**.

##### <span style="text-decoration: underline;">Create a Building Area</span>  


1. Once the building is added, click **Add Area** within that building's section.
2. Enter the **Area Name** and **Description**.
3. Select the **Locker User Types** that can rent lockers in this area.
4. Choose a **Sales Window** type (**Yearly**, **Monthly**, **Semester**, or **Other**).
5. Click **Save Changes**.

##### <span style="text-decoration: underline;">Add Lockers to an Area</span>

1. Click the **+** symbol next to the area where you want to add lockers.
2. Use one or both of the following methods to enter locker numbers:
    
    
    - **Specific Lockers**: Enter individual locker numbers, with each number on a new line.
    - **Locker Range**: Enter a **Start** and **End** number for a sequential range. You can also add an optional **Prefix** or **Postfix**.
3. Ensure the **Visible** checkbox is enabled if you want the lockers to be immediately available for users to see.
4. Click **Add Lockers**.

### Using this Feature

Once your locker inventory is created, you can view, archive, and restore lockers as needed.

##### <span style="text-decoration: underline;">Viewing Lockers in an Area</span>

- To view the list of all lockers within a specific area, click the **Magnifying Glass Icon** next to the area name on the **Manage Locker Numbers** page.

##### <span style="text-decoration: underline;">Archiving Lockers</span>

- To remove lockers from the active inventory, click the **Trash Bin Icon** next to the relevant area.
- You will be presented with two options:
    
    
    - **Archive All Lockers**: Archives every locker in the area.
    - **Archive Selected Lockers**: Allows you to choose specific lockers from a list to archive.

##### <span style="text-decoration: underline;">Restoring Archived Lockers</span>

- To restore archived lockers, click the **+** symbol for the area.
- Enter the numbers of the lockers you wish to restore.
- Select **Restored** from the locker status drop-down menu and confirm the action.

---

### <span style="color: rgb(22, 145, 121);">Best Practices &amp; Consideration</span>

- <span style="color: rgb(22, 145, 121);">**You can use both the Specific Locker and Locker Range methods simultaneously** to add non-sequential and sequential loc<span class="citation-739">kers in a single operation. This is efficient for complex locker layouts.</span></span>
- <span style="color: rgb(22, 145, 121);">**Archiving lockers removes them from the active inventory.** While they can be restored, this action should be used carefully, especially if lockers have current or past rental history associated with them.</span>