chore: reorganize docs apps (#7228)

* reorganize docs apps

* add README

* fix directory

* add condition for old docs
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-03 17:36:38 +03:00
1 parent 224ebb2154
commit 4fe28f5a95
6187 files changed
+601447 -598226

No files matched your search

@@ -0,0 +1,53 @@
---
sidebar_position: 1
---
import { EllipsisHorizontal } from "@medusajs/icons"
export const metadata = {
title: `Manage Sales Channels`,
}
# {metadata.title}
In this document, you’ll learn how to manage sales channels in your Medusa Admin.
## Create a Sales Channel
To create a sales channel:
1. Go to Settings → Sales Channels.
2. Click the Create button.
3. In the form that opens, enter the sales channel's details.
4. Once you're done, click the Save button.
---
## Edit a Sales Channel
To edit a sales channel:
1. Go to Settings → Sales Channels.
2. Find the sales channel in the list and click on it.
3. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
4. Choose Edit from the dropdown.
5. In the drawer that opens, edit the sales channel's details.
6. Once you're done, click the Save button.
---
## Delete a Sales Channel
<Note type="warning">
Deleting a sales channel is irreversible.
</Note>
To delete a sales channel:
1. Go to Settings → Sales Channels.
2. Find the sales channel in the list and click on it.
3. Click the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon at the top right of the first section.
4. Choose Delete from the dropdown.
5. Confirm deleting the sales channel by entering its name in the field and clicking the Delete button in the pop-up.
@@ -0,0 +1,42 @@
---
sidebar_position: 8
---
export const metadata = {
title: `Sales Channels`,
}
# {metadata.title}
In this document, you’ll get an overview of sales channels in Medusa.
## What is a Sales Channel?
A sales channel is a channel that you 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 commerce store:
- You can choose which products are available in a sales channel.
- When a customer places an order from a sales channel, the order is associated with it.
- Locations used with inventory are also associated with sales channels.
---
## Sales Channels Settings Overview
To view the available sales channels and settings, go to Settings → Sales channels.
The sales channels settings page shows available sales channels and allows you to manage sales channels.
---
## Learn More About Sales Channels
- [Manage Sales Channels](./manage/page.mdx)
- [Manage Products in Sales Channels](./products/page.mdx)
@@ -0,0 +1,41 @@
---
sidebar_position: 2
sidebar_label: Manage Products
---
import { EllipsisHorizontal } from "@medusajs/icons"
export const metadata = {
title: `Manage Products in Sales Channels`,
}
# {metadata.title}
In this document, you’ll learn how to manage products in Sales Channels.
<Note>
This guide covers managing products from the Sales Channels page. It’s also possible to manage the Sales Channels of products in the Products page.
</Note>
## Add Products to Sales Channels
To add products to a sales channel:
1. Go to Settings → Sales Channels
2. Find the sales channel in the list and click on it.
3. Under the Products section, click the Add button at the top right.
4. In the list of products shown, check the checkboxes next to the products to add.
5. Once you're done, click the Save button.
---
## Remove Product from Sales Channel
To remove a product from a sales channel:
1. Go to Settings → Sales Channels
2. Find the sales channel in the list and click on it.
3. Under the Products section, find the product to remove and click on the <InlineIcon Icon={EllipsisHorizontal} alt="three-dots" /> icon to its right.
4. Choose Remove from the dropdown.