Product Management
Add, edit, and delete products with full control over pricing, categories, images, descriptions, stock, and job restrictions.
Features
- Full CRUD: Create, read, update, and delete products from the admin panel
- Category Filtering: Assign products to categories for organized browsing
- Image System: Auto-detects item images from your inventory provider, or set custom image URLs
- Search: Real-time search across all products in admin and customer views
- Bulk Selection: Select multiple products for batch operations
Product Fields
| Field | Description |
|---|---|
| Product Name | Display name shown in the shop UI |
| Item Code | Inventory item name (e.g., bread, water) |
| Price | Item price (supports decimal values) |
| Category | Category assignment for filtering |
| Image URL | Custom image URL (auto-detected from inventory if empty) |
| Description | Item description shown on hover/detail |
| Stock Enabled | Toggle per-item stock tracking |
| Stock Amount | Current stock count (only when stock is enabled) |
| Item Job | Job requirement for this specific item |
| Job Grade | Minimum job grade required to purchase |
Import from Inventory
Browse all items registered in your server's inventory system directly from the admin panel.
- Click Import from Inventory in the Products tab
- The modal loads all items from your active inventory provider
- Search and filter items, select the ones you want
- Click Import — items are added with their name, label, and image automatically
Supported inventory providers: ox_inventory, qb-inventory, ps-inventory, qs-inventory, codem-inventory, gfx-inventory, esx_inventoryhud
Bulk Import
Import multiple products at once using JSON format:
- Click Bulk Import in the Products tab
- Paste a JSON array of product objects
- Products are validated and imported
Category System
- Create unlimited categories per shop
- Each category has a name and optional image URL
- Products are filtered by category in the customer-facing shop UI
- Deleting a category unlinks its products (products remain but become uncategorized)
Job Restrictions
Products can be restricted to specific jobs and grades:
- Item Job: Only players with this job can see and purchase the item
- Job Grade: Minimum grade required within that job
- Restricted items appear grayed out in the UI with an "Insufficient Permission" badge
