# 3. Configuration

You can find the plugin configuration under **Extensions → My extensions → Sold Count Display → Configuration** (three-dot menu).

![Plugin configuration page](https://459847022-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LtiS3-dzuXFp_IH7yRw-1972196547%2Fuploads%2Fgit-blob-a88e7203daf4663634afd7e7712b08652581301d%2F4.png?alt=media)

All settings can be configured independently per sales channel.

## Configuration options

### Show badge on product detail page

| Property | Value    |
| -------- | -------- |
| Type     | Yes / No |
| Default  | Enabled  |

Controls whether the sold count badge appears on the product detail page. When disabled, no badge is shown in the buy widget area, even if sold count data exists.

***

### Show badge in product listings

| Property | Value    |
| -------- | -------- |
| Type     | Yes / No |
| Default  | Enabled  |

Controls whether compact badges appear on product cards in category listings and search results. Can be toggled independently from the detail page badge.

***

### Show Top Sellers widget on dashboard

| Property | Value    |
| -------- | -------- |
| Type     | Yes / No |
| Default  | Enabled  |

Controls whether the **Top Sellers** widget appears on the admin dashboard. When disabled, the widget is not loaded at all.

***

### Minimum sold count to display badge

| Property | Value   |
| -------- | ------- |
| Type     | Integer |
| Default  | 0       |

Sets a minimum threshold. Products with a sold count below this value will not show a badge. A value of `0` shows badges for all products with at least 1 sale.

**Example:** With a threshold of `50`, a badge only appears once a product has been sold at least 50 times.

> The threshold is checked against the raw (unrounded) sold count.

***

### Rounding mode

| Property | Value     |
| -------- | --------- |
| Type     | Selection |
| Default  | Exact     |

Determines how sold counts are formatted for display.

| Option           | Description                        | Example     |
| ---------------- | ---------------------------------- | ----------- |
| **Exact**        | Shows the precise sold count       | "523 sold"  |
| **Round to 10**  | Rounds down to the nearest ten     | "520+ sold" |
| **Round to 50**  | Rounds down to the nearest fifty   | "500+ sold" |
| **Round to 100** | Rounds down to the nearest hundred | "500+ sold" |

Rounded values get a "+" suffix. Exact multiples are displayed without "+" (e.g. 500 with "Round to 100" → "500 sold").

> Rounding applies to storefront badges only. The Top Sellers widget in the admin always shows exact counts.

***

### Aggregation time period

| Property | Value     |
| -------- | --------- |
| Type     | Selection |
| Default  | All time  |

Determines which orders are included in the aggregation.

| Option           | Description                          |
| ---------------- | ------------------------------------ |
| **All time**     | All orders since the shop was set up |
| **Last 30 days** | Only orders from the past 30 days    |
| **Last 7 days**  | Only orders from the past 7 days     |

> Changes to the time period take effect on the next scheduled aggregation run. To apply immediately, run `bin/console momo:sold-count:aggregate` manually.
