docs: added feature flags docs (#2236)

This commit is contained in:
Shahed Nasser
2022-09-21 17:49:17 +03:00
committed by GitHub
parent c19788d872
commit 8d705cf955
5 changed files with 108 additions and 8 deletions

View File

@@ -1687,13 +1687,12 @@ This section holds all events related to sales channels.
:::note
As of Medusa v1.3.5, Sales Channels are available but guarded by a feature flag. To use Sales Channels, add the following environment variable:
As of Medusa v1.3.5, Sales Channels are available but guarded by a feature flag. To use Sales Channels either:
```bash
MEDUSA_FF_SALES_CHANNELS=true
```
1. Enable the `MEDUSA_FF_SALES_CHANNELS` environment variable;
2. Or enable the `sales_channels` key in the Medusa server's settings.
Then, run the [migrations](../migrations/overview.md#how-to-run-migrations).
You can learn more about enabling it in the [feature flags](../feature-flags/toggle.md) documentation.
:::