LYRASTORE
Lyra Shops · Features

Wholesale

Order stock in bulk, carry crates and restock the store.

Store owners and staff with WholesaleAccess buy stock in bulk from suppliers, then bring it back in crates.

How it works

  1. Open Manage Products → Order Wholesale, or talk to a supplier (they have blips on the map).
  2. Add products to the order and pay with cash or bank.
  3. Go to the pickup point. The order is split into crates (Wholesale.BoxCapacity items per crate).
  4. Carry the crates and load them into your store truck.
  5. Use a crate item to unpack its contents into your inventory, then add them to the store.

Add the crate item

The crate is a usable item named by Wholesale.BoxItemName (default wholesale_crate). Add it to your inventory and copy LyraShops/install/ng_proc_box_01a.png into your inventory's images folder.

ox_inventory/data/items.lua
['wholesale_crate'] = {
    label = 'Wholesale Crate',
    weight = 1,
    stack = true,
    close = true,
},
qb-core/shared/items.lua
['wholesale_crate'] = {
    name = 'wholesale_crate', label = 'Wholesale Crate', weight = 1, type = 'item',
    image = 'ng_proc_box_01a.png', unique = false, useable = true, shouldClose = true, description = ''
},

On ESX without ox_inventory, add wholesale_crate to your items table.

You don't need to write a use handler. The script registers the crate as usable and unpacks it for you.

Options

OptionWhat it does
Wholesale.ProductsThe catalog: item name, label and price
Wholesale.SuppliersSupplier locations and blips
Wholesale.BoxCapacityItems per crate
Wholesale.PickupMode / PickupFixedWhere orders are picked up
Wholesale.UseWaypointForPickupSet a waypoint to the pickup
Wholesale.ImmediateDeliverytrue skips crates and gives the items at once (handy for testing)

Higher wholesale levels unlock more products. That list is in shared/level_item.lua.

Last updated 28 Oct 2026 by Lyra