> For the complete documentation index, see [llms.txt](https://durumi.gitbook.io/en-dynamicshop-3-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://durumi.gitbook.io/en-dynamicshop-3-wiki/07.-shop-settings/sell-command.md).

# Sell Command

When a transaction occurs in the store, a specific command can be executed.

#### Placeholders

* buy : {player} {shop} {itemType} {amount} {priceSum}
* sell : {player} {shop} {itemType} {amount} {priceSum} {tax}

#### Command

```
/ds shop <shop name> command <sell | buy> add <index> <command>
/ds shop <shop name> command <sell | buy> delete <index>
/ds shop <shop name> command active <true | false>
```

#### Example

```yaml
Options:
  title: SampleShop
  enable: true
  lore: ''
  page: 2
  permission: ''
  flag: {}
  command:
    active: true
    sell:
      '0': bal {player}
      '1': say {player} {shop} {itemType} {amount} {priceSum} {tax}
    buy:
      '0': baltop
```
