# Fridge Shops

Here you can setup all the different shops depending on the shop that relates to the individual job. I will include burgershot as my example.

```lua
Config.FridgeProducts = {
    ["burgershot1"] = { -- Make sure its a unique shop
		label = "Burgershot Store",
		items = {
			{ name = 'burger-bun',              price = 100, amount = 999 },
	        { name = 'burger-lettuce',          price = 100, amount = 999 },
	        { name = 'burger-tomato',           price = 100, amount = 999 },
	        { name = 'burger-raw',              price = 100, amount = 999 },
	        { name = 'burger-potato',           price = 100, amount = 999 },
	        { name = 'burger-mshakeformula',    price = 100, amount = 999 },
	        { name = 'burger-sodasyrup', 	    price = 100, amount = 999 },
		}
	},
}
```

The unique shop identifier is important for the latest version of qb-shops.

To now use this shop you will want to create a new unique shop in the config.

```lua
Config.FridgeShops = {
    ["bs_shop"] = { -- Must Be Unique
        products = Config.FridgeProducts["burgershot1"],
    },
}
```

#### For The people not using the latest QB-Inventory

Note: If you are not on the latest QB-Core build that uses the new inv and shop system you will have to modify this function in HapticLib/server/functions/shop.lua

```lua
RegisterServerEvent("HapticLib:Server:LCBusinessShop")
RegisterNetEvent('HapticLib:Server:LCBusinessShop', function(shopid, label, items)
    local src = source
    exports['qb-inventory']:CreateShop({
        name = shopid,
        label = label,
        slots = #items,
        items = items
    })
    exports['qb-inventory']:OpenShop(src, shopid)
end)
```


---

# 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://lcdevdocs.gitbook.io/docs/remastered-scripts/lc-businesses/fridges/fridge-shops.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.
