# Item/Category config

{% hint style="warning" %}
The items that are in the Shared.Items table must absolutely be in the database
{% endhint %}

```lua
Shared.Categories = {"Fruits", "Candy", "Drinks", "Foods"}

Shared.Items = {
    { name = "Apple", title = "Apple", category = "Fruits", description = "Eating will be different", price = 1 },
    { name = "Banana", title = "Banana", category = "Fruits", description = "A tasty yellow fruit", price = 2 },
    { name = "OrangeJuice", title = "Orange Juice", category = "Drinks", description = "Refreshing citrus drink", price = 4 },
    { name = "ChocolateBar", title = "Chocolate Bar", category = "Candy", description = "Sweet and delicious treat", price = 3 },
    { name = "Coffee", title = "Coffee", category = "Drinks", description = "Rich and aromatic coffee", price = 3 },
    { name = "Salad", title = "Salad", category = "Foods", description = "Healthy and fresh salad", price = 6 },
    { name = "Smoothie", title = "Smoothie", category = "Drinks", description = "Fruit-packed and refreshing", price = 5 },
    { name = "Mango", title = "Mango", category = "Fruits", description = "Sweet and tropical fruit", price = 3 },
    { name = "Cheese", title = "Cheese", category = "Foods", description = "A variety of flavorful cheeses", price = 8 },
    { name = "ChickenBreast", title = "Chicken Breast", category = "Foods", description = "Lean and protein-packed", price = 7 },
    { name = "Pasta", title = "Pasta", category = "Foods", description = "Versatile and delicious pasta", price = 2 },
    { name = "Tomato", title = "Tomato", category = "Foods", description = "Juicy and ripe tomatoes", price = 1 },
    { name = "Cereal", title = "Cereal", category = "Foods", description = "Crunchy and nutritious cereal", price = 4 },
    { name = "Soda", title = "Soda", category = "Drinks", description = "Carbonated and refreshing", price = 1 },
    { name = "Yogurt", title = "Yogurt", category = "Foods", description = "Probiotic-rich yogurt", price = 3 },
    { name = "Eggs", title = "Eggs", category = "Foods", description = "Fresh and versatile eggs", price = 2 },
    { name = "Spinach", title = "Spinach", category = "Foods", description = "Nutrient-packed leafy green", price = 2 },
    { name = "Bread", title = "Bread", category = "Foods", description = "Freshly baked bread", price = 3 },
}
```


---

# 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://doc.var-fivem.com/shop-with-basket/configuration/item-category-config.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.
