From 68123c6ffd16749fe8b155de2a4cb995b49c82d2 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Fri, 16 Feb 2024 16:20:52 +0200 Subject: [PATCH] docs: add missing steps to enable `medusa_v2` flag (#6406) --- www/apps/docs/content/experimental/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/apps/docs/content/experimental/index.md b/www/apps/docs/content/experimental/index.md index 4ce7d23dd1..dda647e7a5 100644 --- a/www/apps/docs/content/experimental/index.md +++ b/www/apps/docs/content/experimental/index.md @@ -8,15 +8,15 @@ As Medusa moves towards modularization, commerce concepts such as Products or Pr :::danger[Production Warning] -All features guarded by the `medusa_v2` flag are not ready for production and will cause unexpected issues in your production server. +All features guarded by the `medusa_v2` flag are not ready for production and will cause unexpected issues in your production server. Additionally, the core Store and Admin API routes are not registered if the flag is enabled – only routes in the `dist/api-v2/*` directory of the `@medusajs/medusa` package. ::: -Experimental Features are guarded in the Medusa backend by a feature flag. +To enable the experimental features: -To use them, [enable the `medusa_v2` feature flag](../development/feature-flags/toggle.md) in your backend. - -Then, run migrations in your backend with the following command: +1. [Enable the `medusa_v2` feature flag](../development/feature-flags/toggle.md) in your backend. +2. Install the [Product](./product/install-medusa.mdx) and [Pricing](./pricing/install-medusa.mdx) modules and add them to the Medusa configurations. +3. Finally, run migrations in your backend with the following command: ```bash npx medusa migrations run