docs: added import products user guide (#2238)

This commit is contained in:
Shahed Nasser
2022-09-21 17:49:36 +03:00
committed by GitHub
parent 8d705cf955
commit 6cf18b5e82
3 changed files with 73 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 6
---
# Manage Collections

View File

@@ -0,0 +1,70 @@
---
sidebar_position: 5
---
import UiIcon from '@site/src/components/UiIcon';
# Import Products
In this document, youll learn how to import products into your Medusa store.
## Overview
To import products, you must have the products in a CSV file. You can see a template of the CSV file during the import process.
When you import products into your Medusa store, youll either create new products or update existing ones.
---
## Import List of Products
To import products:
1. Go to the Products page.
2. Click on Import Products at the top right.
3. In the new window:
1. If youre unsure of what the CSV files format must be like, you can download a template CSV file by clicking the <UiIcon lightIcon="https://i.imgur.com/fhRqHS3.png" darkIcon="https://i.imgur.com/HdVNMNy.png" alt="trash" /> icon.
2. To upload the CSV file you want to import products from, either:
1. Drag and drop the file into the dashed box;
2. Or click on the dashed box and choose the file you want to import the products from.
3. After you upload the CSV file:
1. You can check the number of products to be created or updated above the uploaded files name.
2. You can remove the file you choose by clicking the <UiIcon lightIcon="https://i.imgur.com/7hztVhj.png" darkIcon="https://i.imgur.com/1yp4PNt.png" alt="trash" /> icon.
4. Once youre done choosing a file to import products from, click on the Import List button.
This starts the import status. Based on the number of products youre importing, it can take some time.
:::note
If you face any errors or difficulties, please contact your technical support team as this could be an issue in the storage integration used.
:::
### Check Import Status
To check the status of the import:
1. Click on the <UiIcon lightIcon="https://i.imgur.com/mWhpxNX.png" darkIcon="https://i.imgur.com/tE8LOXk.png" alt="bell" /> icon at the top right of the page.
2. Find the product import, which should be the latest item on the list.
If a loading indicator is showing, then the import process is still in progress.
If the import is done, you should see the text “Import of products is done.”
Once the import is done, you should find the created/updated products on the Products page.
---
## Cancel Import
:::info
You can only cancel an unfinished product import.
:::
To cancel a product import:
1. Click on the <UiIcon lightIcon="https://i.imgur.com/mWhpxNX.png" darkIcon="https://i.imgur.com/tE8LOXk.png" alt="bell" /> icon at the top right of the page.
2. Find the import you want to cancel.
3. Click on the cancel button.

View File

@@ -51,4 +51,5 @@ In the list, you can see collection details such as the title, handle, and the n
- [Manage Products](./manage.mdx)
- [Manage Digital Products](./manage-digital.md)
- [Manage Collections](./collections.md)
- [Export Products](./export.mdx)
- [Export Products](./export.mdx)
- [Import Products](./import.mdx)