Files
medusa-store/www/apps/docs/content/beta.md
Shahed Nasser fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00

119 lines
4.7 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: "In this document, youll learn about the current beta features in Medusa and how to enable them. This can include features that are hidden by a feature flag, or available by installing beta versions of some packages."
---
# Beta Features
In this document, youll learn about the current beta features in Medusa and how to enable them. This can include features that are hidden by a feature flag, or available by installing `beta` versions of some packages.
## Product Categories
Organize products into categories of different hierarchies. You can have as many nested categories as necessary. You can also showcase the categories on your storefront.
![Product categories demo](https://res.cloudinary.com/dza7lstvk/image/upload/v1692953661/Medusa%20Docs/Screenshots/product-categories-docs_dfztge.jpg)
Check out the [product categories](./modules/products/categories.md) documentation for more details on this feature.
### How to Enable Product Categories
To enable product categories you can either:
1. Set the `MEDUSA_FF_PRODUCT_CATEGORIES` environment variable to `true`.
2. Or set the `product_categories` key in the Medusa backend's `featureFlags` setting to `true`.
You can learn more about enabling it in the [feature flags documentation](./development/feature-flags/toggle.md).
---
## Tax-Inclusive Pricing
Specify prices with taxes included. Medusa then takes care of calculating the tax amount applied in each region.
![Tax-inclusive pricing demo](https://res.cloudinary.com/dza7lstvk/image/upload/v1692957355/Medusa%20Docs/Screenshots/tax-docs_c3isnj.jpg)
Check out the [tax-inclusive pricing](./modules/taxes/inclusive-pricing.md) documentation for more details on this feature.
### How to Enable Tax-Inclusive Pricing
To enable tax-inclusive pricing you can either:
1. Set the `MEDUSA_FF_TAX_INCLUSIVE_PRICING` environment variable to `true`.
2. Or set the `tax_inclusive_pricing` key in the Medusa backend's `featureFlags` setting to `true`.
You can learn more about enabling it in the [feature flags documentation](./development/feature-flags/toggle.md).
---
## Order Editing
:::tip
This feature is enabled by default.
:::
Edit orders in your store by adding, updating, or deleting items in the order. You can also require customer confirmation of the order edit and process payment, such as authorizing additional payment or refunding the difference from the original payment.
![Order edits demo](https://res.cloudinary.com/dza7lstvk/image/upload/v1692955472/Medusa%20Docs/Screenshots/order-editing-docs_vltgqt.jpg)
Check out the [order edits](./modules/orders/orders.md#order-edits) documentation for more details on this feature.
### How to Enable Order Editing
To enable order editing you can either:
1. Set the `MEDUSA_FF_ORDER_EDITING` environment variable to `true`.
2. Or set the `order_editing` key in the Medusa backend's `featureFlags` setting to `true`.
You can learn more about enabling it in the [feature flags documentation](./development/feature-flags/toggle.md).
---
## Sales Channels
:::tip
This feature is enabled by default.
:::
Support an omnichannel experience by specifying product availability in various sales channels.
![Sales channels demo](https://res.cloudinary.com/dza7lstvk/image/upload/v1692956765/Medusa%20Docs/Screenshots/sc-docs_ggcuuw.jpg)
Check out the [sales channels](./modules/sales-channels/overview.mdx) documentation for more details on this feature.
### How to Enable Sales Channels
To enable sales channels you can either:
1. Set the `MEDUSA_FF_SALES_CHANNELS` environment variable to `true`.
2. Or set the `sales_channels` key in the Medusa backend's `featureFlags` setting to `true`.
You can learn more about enabling it in the [feature flags documentation](./development/feature-flags/toggle.md).
---
## Publishable API Keys
:::tip
This feature is enabled by default.
:::
Create API keys that can be used by storefront clients, such as websites or mobile apps, to specify the context and resources associated with your request. Publishable API keys promote an omnichannel experience managed through the admin.
![Publishable API Keys demo](https://res.cloudinary.com/dza7lstvk/image/upload/v1692956121/Medusa%20Docs/Screenshots/pak-docs_cac8qy.jpg)
Check out the [publishable API keys](./development/publishable-api-keys/index.mdx) documentation for more details on this feature.
### How to Enable Publishable API Keys
To enable publishable API keys you can either:
1. Set the `MEDUSA_FF_PUBLISHABLE_API_KEYS` environment variable to `true`.
2. Or set the `publishable_api_keys` key in the Medusa backend's `featureFlags` setting to `true`.
You can learn more about enabling it in the [feature flags documentation](./development/feature-flags/toggle.md).