|
1
|
--- |
|
2
|
sidebar_position: 2 |
|
3
|
--- |
|
4
|
|
|
5
|
import { getOsShortcut } from "docs-ui" |
|
6
|
|
|
7
|
export const metadata = { |
|
8
|
title: `Bulk Editor in Medusa Admin`, |
|
9
|
} |
|
10
|
|
|
11
|
# {metadata.title} |
|
12
|
|
|
13
|
In this guide, you'll learn about different tips and shortcuts to using the bulk editor. |
|
14
|
|
|
15
|
 |
|
16
|
|
|
17
|
## Manage Large Data in Bulk |
|
18
|
|
|
19
|
The bulk editor allows you to edit prices or values using a spreadsheet-interface. It simplifies the editing process when working with a large number of data, and provides you with an intuitive user experience. |
|
20
|
|
|
21
|
### Where is the Bulk Editor? |
|
22
|
|
|
23
|
The bulk editor is used in different areas of the Medusa Admin: |
|
24
|
|
|
25
|
- [Edit prices of product variants](../../products/variants/page.mdx#edit-product-variant-prices). |
|
26
|
- [Edit inventory of a product variants](../../products/variants/page.mdx#manage-product-variant-inventory). |
|
27
|
- [Edit prices in price lists](../../price-lists/manage/page.mdx#edit-prices-in-price-list). |
|
28
|
- [Edit shipping option prices](../../settings/locations-and-shipping/locations/page.mdx#edit-shipping-option-prices) |
|
29
|
|
|
30
|
--- |
|
31
|
|
|
32
|
## Toggle Columns View |
|
33
|
|
|
34
|
As the bulk editor may include a large number of columns, such as the different currencies supported in your store, you can toggle the columns' visibility to focus on a subset of columns. |
|
35
|
|
|
36
|
To do that: |
|
37
|
|
|
38
|
1. Click on the "View" button in the top corner. |
|
39
|
2. Check or uncheck a column by clicking on it in the dropdown. |
|
40
|
|
|
41
|
 |
|
42
|
|
|
43
|
--- |
|
44
|
|
|
45
|
## Perform Action on Multiple Cells |
|
46
|
|
|
47
|
You can select multiple cells to perform an action on them. To do that: |
|
48
|
|
|
49
|
1. Click and hold the mouse on a cell |
|
50
|
2. Drag the mouse in the direction of the other cells you want to select. |
|
51
|
3. Once you're done selecting, release the hold. |
|
52
|
4. Perform the action on the cells: |
|
53
|
- Press <Kbd>backspace</Kbd> to clear the values of the selected cells. |
|
54
|
- Press <Kbd>{getOsShortcut()}</Kbd> + <Kbd>Z</Kbd> to undo a change you made on the selected cells. |
|
55
|
|
|
56
|
 |
|
57
|
|
|
58
|
--- |
|
59
|
|
|
60
|
## Editing Cell Values |
|
61
|
|
|
62
|
There are multiple ways you can edit cells' values in a bulk editor: |
|
63
|
|
|
64
|
1. To edit the value, click the cell, then enter your new value. |
|
65
|
3. To apply a value of a cell to other adjacent cells: |
|
66
|
1. Click on a cell |
|
67
|
2. Hold and Drag the blue dot at the corner of that cell to the cells below it that you want to apply the value to. |
|
68
|
3. Once you're done, release the hold on the blue dot. The value of the first cell will be applied to the other cells. |
|
69
|
|
|
70
|
 |
|
71
|
|
|
72
|
--- |
|
73
|
|
|
74
|
## Shortcuts |
|
75
|
|
|
76
|
You can use the following shortcuts while working with the bulk editor: |
|
77
|
|
|
78
|
- <Kbd>tab</Kbd>: Persist the current cell's value and move focus to the next cell. |
|
79
|
- <Kbd>backspace</Kbd>: Delete the value of the selected cell(s). |
|
80
|
- <Kbd>{getOsShortcut()}</Kbd> + <Kbd>Z</Kbd>: Undo a change you made in the currently selected cell(s). |