A store screen with a basket and cash or card checkout for ox_inventory shops, opened from the shop clerks.
A store screen for ox_inventory shops on Qbox, opened from the shop clerks.
Overview#
| Shelf grid and basket | Items sorted into category chips, with stock counts, sold-out badges, typed amounts, cash and card totals and a tax row. |
| ox_inventory rules still apply | Every purchase goes through ox_inventory's own buy code, so stock, prices, licences, grades, groups, weight and the buyItem and openShop hooks other resources registered all run. |
| Cash or card | Cash is the money item. Card pays from the qbx_core bank account. |
| Job armouries | Shops marked take = true show a single Take key for free items. Other resources can put a tag and a limit badge on each card with SetCardTags. |
| Shop clerks | GTA's clerks behind store counters get an Open Shop target for the nearest shop. At Ammu-Nation counters where GTA spawns no clerk, a local one stands in. |
| Price surge | Optional. While one of your restaurant jobs has staff on duty, chosen food and drink in 24/7s cost more, and the screen names the business that is open. |
| Stores for other resources | OpenBusiness (paid from a business account) and OpenCustom (your resource takes the money and hands out the items) reuse the same screen. |
| Server checks | A session token per screen, price and group re-checks on every purchase, distance checks, one purchase at a time per player and rate limits on opening and paying. |
| No database | The resource has no tables. Money and items move only through ox_inventory and qbx_core. |
Availability#
Coming soon. Installation and API documentation are available now; purchase and download links will be added when the package is released.
Stuck on a step?Ask in the Discord →