Skip to content

Replace SKU


Table of Contents


I. Use Cases

Quick Links: Standardize product codesFix incorrect codesSupplier changed their codes

Scenario 1: Standardize product codes

Situation: Your company decides to switch all SKUs from 6-digit numbers (e.g., 123456) to a prefixed format (e.g., PROD-123456), and 500 products need updating — editing them one by one is not realistic.

Use this feature: Prepare an old-to-new SKU mapping table and upload it as a CSV file following the steps to replace them all at once.

Result: All 500 product SKUs are updated in one run; search the new SKUs in the "Product List" to confirm.


Scenario 2: Fix incorrect codes

Situation: While auditing product data, you find 80 products whose SKUs do not follow your company's naming convention and need to be corrected in bulk.

Use this feature: Compile the old and new SKUs into a CSV and upload it; the system checks every row against the validation rules before anything is executed.

Result: The 80 product SKUs are corrected; stock stays attached to the same products and quantities are unaffected.


Scenario 3: Supplier changed their codes

Situation: A supplier switched to a new coding system and provided an old-to-new mapping table; your 150 product SKUs need to follow, or future reconciliation and replenishment will not match up.

Use this feature: Convert the supplier's mapping table into a CSV (see file format) and upload it for replacement.

Result: Your SKUs are in sync with the supplier, and subsequent reconciliation and inbound documents match correctly.


II. Features

When your company changes its product coding rules, or a large number of SKUs were entered incorrectly, editing them one by one takes far too long. Replace SKU lets you upload an old-to-new SKU mapping table (CSV file) and replace multiple product SKUs in one batch. The system validates all rows first and only executes the ones that pass; stock is automatically linked to the new SKUs, and existing orders are unaffected.

Replace SKU - Page Overview

Quick Jump: CSV File FormatValidation RulesSteps

2.1 CSV File Format

Fields marked with * are required

FieldDescription
*Old SKUThe SKU currently used in the system
*New SKUThe SKU to replace it with

When saving in Excel, choose the "CSV UTF-8 (Comma delimited)" format so non-English characters display correctly.

2.2 Validation Rules

The system checks every row against the following rules; only rows marked "Valid" are executed:

CheckDescription
Blank valuesBoth "Old SKU" and "New SKU" must be filled in
Identical valuesThe old and new SKU must differ
Old SKU existsThe "Old SKU" must belong to an existing product
New SKU uniquenessThe "New SKU" must not duplicate any existing product's SKU
In-file duplicatesNo two rows in the same file may use the same "New SKU"

2.3 Steps

▸ Step 1: Prepare the CSV file

  1. Click "Download Template" to get the standard format
  2. Fill in "Old SKU" and "New SKU" in Excel; see CSV File Format for how to save the file

▸ Step 2: Upload and validate

  1. Upload the CSV file
  2. Click "Next"; the system validates every row automatically

▸ Step 3: Review and execute

  1. Review the validation results (each row is marked "Valid" or "Invalid")
  2. If there are "Invalid" rows, fix the CSV and upload again
  3. Once everything checks out, click "Confirm" to execute the replacement

▸ Step 4: Confirm the results

  1. Review the execution results (the number of successes and failures)
  2. Search the new SKUs in the "Product List" to confirm the replacement

III. FAQ

Quick Jump: FAQNotices

3.1 FAQ

▪ What happens if some rows fail validation?

The system only executes rows marked "Valid"; "Invalid" rows are skipped. If a replacement fails during execution, only that row is affected and the rest complete normally. The results show the number of successes and failures.


▪ What data is affected after replacing a SKU?

  • Product data: the SKU is updated to the new value, and an edit history entry is recorded for later auditing
  • Stock data: stays attached to the same product; quantities are unaffected
  • Existing orders: still point to the same product and do not need to be rebuilt; the SKU shown on order pages updates to the new value

▪ The new SKU says "already exists" — what should I do?

That SKU is already used by another product:

  1. Search the SKU in the "Product List"
  2. Identify which product is using it
  3. Choose a different new SKU

▪ How many rows can I replace at once?

There is no row limit.


▪ Can a replacement be undone?

There is no automatic undo. To revert:

  1. Prepare a "reverse mapping table" (swap the old and new SKU columns)
  2. Run this feature again with that file

▪ Can I still search by the old SKU afterwards?

No. After replacement, the product can only be found by its new SKU.


▪ How do I quickly add a prefix to SKUs in Excel?

Use a formula in column B (e.g., prepend the prefix to the value in column A), apply it to all rows, then use "Copy" → "Paste Special" → "Values" and save as CSV.

3.2 Notices

⚠️ Important

  • SKU replacement cannot be undone automatically — export a backup of your product list before executing
  • Existing orders still point to the same product, but the SKU shown on screen updates to the new value
  • If your system is integrated with external platforms (e.g., Shopee, momo), update the SKUs on those platforms after replacing, or platform orders will fail to match your products

💡 Tip: When using this feature for the first time, test with a small file (5-10 rows) and confirm the flow works as expected before running the full batch.


FeatureDescriptionLink
Product ListBrowse and search all products; batch edit brand, category and activation statusGo
Edit ProductEdit a single product's data, including its SKUGo