This PR includes documentation that preps for v2 docs (but doesn't introduce new docs). _Note: The number of file changes in the PR is due to find-and-replace within the `references` which is unavoidable. Let me know if I should move it to another PR._ ## Changes - Change Medusa version in base OAS used for v2. - Fix to docblock generator related to not catching all path parameters. - Added typedoc plugin that generates ER Diagrams, which will be used specifically for data model references in commerce modules. - Changed OAS tool to output references in `www/apps/api-reference/specs-v2` directory when the `--v2` option is used. - Added a version switcher to the API reference to switch between V1 and V2. This switcher is enabled by an environment variable, so it won't be visible/usable at the moment. - Upgraded docusaurus to v3.0.1 - Added new Vale rules to ensure correct spelling of Medusa Admin and module names. - Added new components to the `docs-ui` package that will be used in future documentation changes.
2.2 KiB
sidebar_position, description
| sidebar_position | description |
|---|---|
| 1 | Medusa Admin allows merchants to manage their sales channels. Merchants can separate products into multiple sales channels. |
Sales Channels Overview
In this document, you’ll get an overview of sales channels in Medusa and learn about their importance in your ecommerce store.
Overview
Sales Channels are multiple channels that you can sell your products through. For example, you can have a sales channel for the web storefront, another for the mobile app, and another for selling across social media platforms.
By default, there’s a default sales channel in a Medusa store. You can add multiple sales channels.
How Sales Channels Work
Sales channels are associated with data and settings in your ecommerce store.
For each sales channel, you can choose which products belong to that sales channel. A product can be available in more than one sales channel.
Then, when customers place an order from a sales channel, the order is associated with that sales channel. You’ll be able to see the sales channel an order was placed from in the Medusa Admin.
Sales Channels Settings Overview
To view the available sales channels and settings, go to Settings → Sales channels.
In the sales channels settings page, You can view available sales channels, add more sales channels, edit sales channels, and manage products available in the sales channel.
View Sales Channels of Orders
Orders Page
In the Orders page, you can see the sales channel an order belongs to. If the order doesn’t belong to any sales channel, you can see “N/A” instead.
Orders Details Page
In the details page of an order, you can find the sales channel the order belongs to, if there are any.
View Sales Channels of Products
Products Page
In the Products page, you can see the sales channels a product belongs to under the Availability column if there are any.
Products Edit Page
In the edit page of a product, you can find the sales channels the product belongs to and edit them under the Sales Channels section.