Wholesalers
Set up wholesalers in Eleven Comercios for FiveM: a sample catalog with 121 products, types, which businesses have access, exclusive products and pick-up NPCs.
The wholesaler is the businesses' supplier: it sells its catalog to the businesses you choose, which order from the tablet and collect at an NPC. Everything is set up in /comerciosadmin, under Catalogs → Wholesalers, which has four tabs: Types, Catalog, Organic and Pickup points.
How businesses use it: Wholesale, fleet and fuel.
How it's organized
| Piece | What it is |
|---|---|
| Wholesaler type | A supplier family: "Groceries", "Drinks", "Car parts"… |
| Catalog | The items on sale, each with its price and one or more types. |
| Businesses per type | Which businesses work with each type. A business can have several types. |
| Pick-up points | NPCs on the map where orders are collected. |
A business sees on its tablet every item from the types it works with.
What ships with it
On install, the panel creates a sample catalog in Spanish:
- 121 products, all of them ingredients from the package (see Inventory items), in the
RestauraciónandSupermercadotypes. - Two pick-up NPCs of type
General, one in the north and one in the south of the map.
It isn't assigned to any business: until you add businesses to a type, nobody sees the wholesaler. Change it, extend it or delete it as you like; it isn't created again.
1. Create the types
Create one type per supplier family. A catalog item needs at least one type, and you can't remove the last one.
2. Fill the catalog
For each item:
| Field | What it does |
|---|---|
| Item | Item name in ox_inventory. Items in Config.BlockedItems aren't allowed. |
| Name | How it shows on the tablet. |
| Price | What the business pays per unit. |
| Group | To group it on the tablet. |
| Types | Which wholesaler types it belongs to. |
| Stock | Infinite, or counted units that run out. |
| Active | Switch it off to retire it without deleting it. |
You can also give a specific business access to an item outside its types, with a special price: on its page (Businesses), Wholesale tab → Exclusive products.
3. Assign businesses
In the Types tab, add to each type the businesses that work with it. A business can be in several.
4. Place the pick-up points
Place one or more NPCs with model, name, type, position and heading. Notes:
- Only businesses with a wholesaler see them on the map.
- Any business collects its orders at any point.
- Two NPCs less than 15 meters apart count as a single point (
Config.WholesaleOrders.PickupClusterRadius).
If you change wholesale data straight in the database, reload it with reloadwholesale.
Discord notifications
The wholesaler can post a message to a Discord channel for each operation. Paste your webhook into Config.WholesaleWebhook.url and set enabled = true (see Admin panel config.lua).
Eco products
The catalog supports eco items with quality stars that players produce and sell to the wholesaler (Organic tab). That sale depends on eleven-farming and ships closed (Config.WholesaleEcoSellEnabled = false). Without eleven-banking, the payment goes to the player's Qbox bank account.