# WLabs Shops

WLabs Shops is a cart-based shop system I made because there are many ox inventory shop scripts out there, but none of them did all of the things that I wanted, if you have any suggestions please join our discord and let us know!

## Features

* Target-based shop NPCs with `ox_target` interaction zones and ped scenarios.
* Optional blip behavior: show every shop location, or only the nearest location per shop.
* Full cart checkout flow with cash/bank payment selection.
* Add/remove items from cart, with option to type amount of items you would like to purchase.
* Inventory-aware handling: drop excess items on the ground or deny checkout when the player is full.
* Job access control with `groups` and item-level restrictions using `grade`.
* Weapon license gating through `requireWeaponLicense` on weapons/ammo items.
* Optional `tgg-banking` support for real bank transaction logging.
* Per-shop UI accent colors and automatic shop label/blip setup.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://w-labs.gitbook.io/w-labs-docs/scripts/wlabs-shops.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
