> For the complete documentation index, see [llms.txt](https://titans-productions.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://titans-productions.gitbook.io/documentation/redm/scripts/stores/development-api/client.md).

# Client

### Exports

1. Open a store by its name (must be a valid name from config). If the store you want to access is custom, the `storeId` must be having a name which is located on `Config.CustomStores`.

```lua
--- @param storeName - requires the store name that is being created on `Config.Stores` inside the [ ] - example ( 'GENERAL_STORE_VALENTINE')
exports.tp_stores:openStoreByName(storeName) -- CLIENT SIDE
```

### Events

1. Open a store by its name (must be a valid name from config). If the store you want to access is custom, the `storeId` must be having a name which is located on `Config.CustomStores`.

```lua
--- @param storeName - requires a string (The name from the configuration file (Such as 'GENERAL_STORE_VALENTINE' )
TriggerEvent("tp_stores:openStoreByName", storeName) -- client to client
```
