Product names too long? Shorten them with a short-name rule
이 가이드는 아직 번역되지 않아 영어로 표시합니다.
To be found in search, sellers pack every keyword into the product title and add tags such as 【In stock】 or 【Free shipping】. Titles like that do not fit on the picking screen, and the voice takes too long to read them out.
SortingGo can give every product a short name from a rule as it imports. The full product name is kept; the short name is what the screen shows and the voice reads. The problem is not specific to one platform: Shopee Taiwan is the example here, and the method works in any custom import format.
Where the rule is set
Create or edit a format in "Custom Import Formats" and go to step 3, "Field mapping". Under the product name field is "Short name rule", with six choices:
- None (use as-is): no short name.
- First N characters: keeps the first N characters of the name.
- Nth segment (split by space): splits the name at spaces and takes the Nth part.
- Bracket content: removes (or keeps) the text inside brackets such as 【】, [ ] or 「」.
- Custom regex: one regular expression that says which part to take. The most flexible.
- Steps (applied in order): chains the actions above one after another, with no regex to write.
When the rule finds nothing (a name that is only tags, say), that product simply has no short name and its full name is shown as usual. Nothing fails.
Why the simple rules fall short
Take one typical product name and see what each rule makes of it:
상품명:【24H出貨】保溫杯 不鏽鋼 大容量 辦公室 隨行杯 [免運]
| 규칙 | 짧은 이름 | |
|---|---|---|
| First N characters (6) | 【24H出貨 | The start is a tag, not the product. |
| Nth segment (1st) | 【24H出貨】保溫杯 | No space between the tag and the name, so the tag stays attached. |
| Bracket content (remove 【】 and [ ]) | 保溫杯 不鏽鋼 大容量 辦公室 隨行杯 | The tags are gone, but it is still too long. |
| Steps: remove text in brackets → take a word | 保溫杯 | Two moves chained: the product itself. |
| Custom regex (the example template's rule) | 保溫杯 | The same result, written as one regex. |
A usable short name takes two moves: drop the tags, then take a word. Each of the first four rules does only one. Two rules can chain the moves: Steps is the easiest to start with; Custom regex is the most flexible, and an AI assistant can write it for you. Both are covered below.
The easiest way: steps
Choose "Steps (applied in order)" as the short name rule. The app starts you with two steps: "Remove text in brackets" and "Take words" (one word, from the first). Steps run from top to bottom, each on the result of the one before; add, delete or reorder them with the arrows.
【24H出貨】保溫杯 不鏽鋼 大容量 辦公室 隨行杯 [免運] → 保溫杯
When a title starts with a promotional word outside brackets, the short name becomes that word:
加厚款 帆布袋 大容量 購物袋 【買二送一】 手提 肩背 → 加厚款
Add a "Remove listed words" step between the two and list the promotional words your shop uses, separated by commas:
加厚款 帆布袋 大容量 購物袋 【買二送一】 手提 肩背 → 帆布袋
If a promotional word ends up as the short name of several products, the app lists it under the warning with "Remove this word" next to it; one tap adds it to the list for you.
When different products share their first word, set "Take words" to take two:
【現貨】保溫杯 兒童款 吸管 卡通 背帶 [免運] → 保溫杯 兒童款
Worked example: the Shopee Taiwan template
This is the library's "Shopee Taiwan orders (to ship)" template with a short-name rule added. Download both the format file and the sample to your phone:
Shopee Taiwan orders (to ship, with short names)
- SortingGo의 '1. 가져오기'에서 가져오기 형식 메뉴를 누르고 '템플릿 라이브러리에서 선택…'을 고릅니다.
- 사용하는 쇼핑몰을 찾아 '추가하고 이번 가져오기에 사용'을 누릅니다.
- 쇼핑몰에서 내려받은 주문 파일을 선택합니다. 파일을 바로 선택해도 됩니다. 앱이 쇼핑몰 파일을 알아보면 맞는 템플릿을 사용할지 묻습니다.
파일로 추가할 수도 있습니다. 템플릿의 형식 파일(.xlsx)을 내려받은 뒤 SortingGo의 '사용자 지정 가져오기 형식'에서 '형식 가져오기'를 눌러 선택하세요.
SortingGo 1.9.6 이상이 필요합니다.
템플릿은 모든 요금제에서 사용할 수 있습니다. 무료와 Lite에서는 주문 번호와 상품 코드를 가져오지 않으며, 규격을 포함한 나머지 항목은 가져옵니다.
Its rule is written as one regular expression and does the same as the two steps above (checked row by row on a real order report: identical results):
^(?:【[^】]*】|\[[^\]]*\]|[\s\u3000])*([^\s\u3000【\[]+)
- The first half, ^(?: … )*, means: from the start of the name, skip every 【…】, every […] and every space (full-width spaces included).
- The ( … ) in the second half is the part to take: the characters that follow, up to the next space or bracket. What is inside these parentheses is what the app uses.
The sample holds two cases this rule handles badly, on purpose. After importing it you will see:
加厚款 帆布袋 大容量 購物袋 【買二送一】 手提 肩背 → 加厚款
The promotional word 加厚款 ("thicker") is not in brackets, so it is taken for the product.
【現貨】保溫杯 兒童款 吸管 卡通 背帶 [免運] → 保溫杯
This is a different tumbler, yet it gets the same short name as the first one. Two products with one name are easy to mix up on the floor.
On one real Shopee Taiwan order report (57 rows to ship, 30 products) this rule produced 24 different short names. Used as it is, then, some products share a name. Treat it as a starting point and adjust it for your shop.
Testing a rule in the app
When you edit a format, step 1 asks you to choose a sample file again (use your own order file, or the sample downloaded above). In step 3, once a rule is chosen, the app shows right under it, as you type:
- "Preview with current sample data": "full name → short name" for the first few rows of the sample.
- A summary: how many different product names the sample has and how many short names they become. If the two numbers differ, some products share a name.
- A warning in orange, naming the shared short names, whenever products share one. With Steps, each shared name also has "Remove this word" next to it.
- "Try a product name" (with Custom regex): paste any product name and see its short name at once. An invalid regex is reported here too.
The summary looks at up to the first 200 different product names in the sample. The preview in step 4 lists the short name each row will really get; look once more before saving.
Adjusting the rule with a regex
A regex can do everything the steps do and handle odder titles as well. The three variations below can be copied as they are into the Custom regex field; then replace the Chinese parts with your own.
1. Promotional words outside brackets at the start: add them to the "skip" list, separated by |. The example skips 加厚款 and 現貨. Write each word in full; one that is too short will also eat the start of a product name.
^(?:【[^】]*】|\[[^\]]*\]|[\s\u3000]|加厚款|現貨)*([^\s\u3000【\[]+)
加厚款 帆布袋 大容量 購物袋 【買二送一】 手提 肩背 → 帆布袋
2. Different products share their first word: take the first two words instead.
^(?:【[^】]*】|\[[^\]]*\]|[\s\u3000])*([^\s\u3000【\[]+[\s\u3000]+[^\s\u3000【\[]+)
【24H出貨】保溫杯 不鏽鋼 大容量 辦公室 隨行杯 [免運] → 保溫杯 不鏽鋼
【現貨】保溫杯 兒童款 吸管 卡通 背帶 [免運] → 保溫杯 兒童款
3. Tags in another kind of bracket: add that bracket too. The example also handles 「」.
^(?:【[^】]*】|\[[^\]]*\]|「[^」]*」|[\s\u3000])*([^\s\u3000【\[「]+)
「特價」蘋果 禮盒 12入 → 蘋果
In these expressions \s means ASCII whitespace only. Product names often mix in full-width spaces, so every pattern above also lists \u3000 (the full-width space). Keep it when you write your own.
Let an AI assistant write the regex
You do not need to know regular expressions. In step 3, choose Custom regex and tap "Copy AI prompt", then paste it into the AI assistant you use (ChatGPT, Gemini, Claude and so on). The prompt already states the app's rules and carries the current regex and up to 30 product names from your sample; the assistant replies with a regex and what each name becomes.
- Paste the regex from the reply into the Custom regex field.
- Read the summary and the warning below it. If products still share a name, or a short name is wrong, tell the assistant which product names and ask it to revise.
- The assistant can be wrong. What the app's test shows is what counts.
The prompt holds product names only: no orders, buyers or other columns. It reads as follows (the app fills in the last two parts for you):
SortingGo 앱으로 쇼핑몰 주문을 가져오고 있습니다. 상품명이 너무 길어서, 각 상품명에서 짧고 상품을 알아볼 수 있는 이름을 뽑아내는 정규식이 하나 필요합니다.
조건:
1. Java 호환 정규식 문법을 사용하세요.
2. 앱은 첫 번째 일치만 사용하며, 첫 번째 캡처 그룹 ( ) 의 내용을 짧은 이름으로 씁니다. 캡처 그룹이 없으면 일치한 전체를 씁니다.
3. \s 는 반각 공백에만 일치합니다. 전각 공백(U+3000)은 따로 지정해야 합니다.
4. 짧은 이름은 간결하게(1~3단어 정도), 상품 자체의 이름이어야 합니다. 【】나 [ ] 안의 홍보 문구, 상점 이름, '당일발송' '무료배송' 같은 홍보 단어는 넣지 마세요.
5. 서로 다른 상품은 가능한 한 서로 다른 짧은 이름이 되도록 하세요.
먼저 정규식만 한 줄로 답해 주세요(복사하기 쉽도록). 그다음 아래 각 상품명에서 얻게 되는 짧은 이름을 나열하고, 처리할 수 없는 상품이 있으면 알려 주세요.
현재 정규식: (아직 없음)
상품명:
(여기에 상품명을 한 줄에 하나씩 붙여 넣으세요)
Products the rule cannot handle
One rule does not have to cover every product. Let the rule handle most of them and set the rest one by one in "Product short names" (the tag icon at the top right of the import screen):
- A short name you set by hand takes priority over the rule.
- The "Pending" tab lists products whose name is longer than the length you set and that have no short name yet.
- A hand-set short name is matched by product code and product name together. If a product is renamed on the platform, set it again.
Also map the spec field when you import. Even when two products share a short name, the spec (colour, size, capacity) is still shown and helps tell them apart.
업데이트: 2026-10-05
SortingGo는 이 페이지에 언급된 쇼핑몰과 제휴 또는 소속 관계가 없습니다. 각 명칭은 해당 소유자의 것이며 템플릿이 읽는 파일을 설명하기 위해서만 사용합니다.