How to Import Products into nopCommerce (CSV & Excel)

How to Import Products into nopCommerce (CSV & Excel)

Prepare a reliable product file, map CSV data into nopCommerce’s Excel format, update products by SKU, import images, and troubleshoot bulk catalog errors.

BE
nopCommerce Development Team · Bangladesh Software Solution
Hero image placeholder

A supplier sends you a 2,500-row CSV containing SKUs, prices, stock, categories, and image URLs. Uploading it without a plan can create duplicate products, strip leading zeros from identifiers, misassign categories, or leave thousands of products without images.

A controlled nopCommerce product import avoids those problems. The key is to use an Excel export from the target store as your schema, treat SKU as the stable update key, test a small sample, and import the catalog in manageable batches.

Important: nopCommerce’s built-in product importer works with Excel. If your source is CSV, use it as staging data: open it in a spreadsheet application, map it to a same-version nopCommerce export, and save the finished workbook as .xlsx. Direct CSV feeds normally require a compatible plugin or custom integration.

What Product Format Does nopCommerce Import?

In the administration area, the product list includes an Import action for Excel files. nopCommerce can also export catalog data to Excel or XML. For a bulk import, the safest template is an Excel export generated by the same store and nopCommerce version that will receive the data.

That export matters because supported columns and behavior can change between versions or installed customizations. The column headers in your import workbook must match the exported table. Do not rename them to match a supplier’s vocabulary; map the supplier values into nopCommerce’s vocabulary instead.

Excel is native
Use the target store’s exported workbook as the import structure.
CSV is staging data
Clean and map the CSV, then save the completed file as XLSX.
Feeds need integration
Recurring direct CSV feeds usually call for a plugin, scheduled job, or API workflow.

1. Back Up the Store and Export a Template

Never begin a large catalog import on the live store without a database backup and a recovery plan. Product imports can update existing records, create new records, and connect related entities. A clean rollback is far faster than manually correcting hundreds of rows.

  1. Back up the database and the product-image storage location.
  2. Use a staging copy when the catalog or mapping is complex.
  3. Go to Catalog → Products in nopCommerce administration.
  4. Export a small representative set of products to Excel.
  5. Keep an untouched copy of that export as your reference template.

Include products that represent the variations in your catalog: a simple product, a product with attributes, a product assigned to multiple categories, a discounted item, and an item with several images. This reveals how your exact installation expresses those cases.

If the import is part of a platform move, the nopCommerce migration SEO guide helps protect URLs and search visibility while catalog data changes.

2. Understand the Most Important Product Columns

You do not need to populate every exported field, but every value you do provide must use the expected format. Start with a minimum viable import, verify it, and add advanced data in later passes if necessary.

FieldPurposeImport guidance
NameCustomer-facing product nameRequired when creating a new product; keep it meaningful and unique enough for administrators.
SKUStable catalog identifierUse a unique, persistent SKU. nopCommerce uses a matching SKU to update an existing product.
ProductIdExport referenceDo not treat it as the portable matching key between stores.
PriceBase selling priceUse a consistent decimal format and validate currency assumptions.
PublishedStorefront visibilityConsider importing new items unpublished until quality assurance is complete.
Categories / ManufacturersCatalog relationshipsConfirm the referenced values exist and match the selected import settings.
Picture fieldsProduct imageryUse valid accessible paths or URLs and test image downloading separately.

SKU is the safety rail

If an import row has a SKU that matches an existing product, nopCommerce can update that product. A row without the correct SKU can create a new product instead, even when its name looks familiar. Normalize and deduplicate SKUs before every import.

3. Prepare CSV Data for nopCommerce Excel Import

CSV is common for supplier exports, ERP reports, and marketplace feeds. It is also easy to damage unintentionally because the file carries little information about data types. Use Excel, LibreOffice Calc, or Google Sheets to import the CSV deliberately instead of double-clicking it and accepting automatic conversions.

  1. Choose the correct encoding and delimiter. Confirm UTF-8 and whether the file uses commas, semicolons, or tabs.
  2. Import identifiers as text. Preserve leading zeros in SKUs, GTINs, manufacturer part numbers, and postal-like codes.
  3. Normalize values. Standardize booleans, decimal separators, HTML descriptions, line breaks, and date formats.
  4. Remove spreadsheet formulas. Paste calculated values so the workbook contains the result, not a fragile formula or external reference.
  5. Map source columns. Copy supplier data into the corresponding headers of your untouched nopCommerce export structure.
  6. Save as XLSX. Keep the CSV as the raw source and save a separate, versioned import workbook.

For recurring integrations, manual mapping becomes a business risk. The nopCommerce API walkthrough explains the building blocks for a controlled system-to-system workflow.

Workflow for validating CSV data, mapping an Excel template, running a pilot import and checking nopCommerce products

4. Map Categories, Manufacturers, Attributes, and Stores

Flat product rows often depend on related data that already exists in nopCommerce. Before importing, audit category names, manufacturer names, attribute combinations, warehouse choices, tax categories, and store mappings.

Under Configuration → Settings → Catalog settings, nopCommerce provides export/import options for products with attributes, specification attributes, category breadcrumbs, categories by name, related entities by name, store limitation, image downloading, and file splitting. The correct combination depends on how your catalog is structured.

  • Use a controlled naming convention for categories and manufacturers.
  • Create missing related entities before the main product import when possible.
  • Test products with attributes separately from simple products.
  • Verify localized fields if two or more languages are enabled.
  • Confirm multi-store assignments rather than assuming every product belongs everywhere.

After import, compare inventory behavior with the practices in the eCommerce inventory management guide, especially if quantities also come from another system.

5. Import Product Images Safely

nopCommerce can download product images from external locations when Export/import products: Allow download images is enabled in Catalog settings. The option is disabled by default for security, so enable it only for a controlled import and trusted image sources.

  • Use HTTPS URLs that the server can access without authentication.
  • Verify every URL returns an actual image rather than an HTML error page.
  • Use predictable Latin-character filenames and avoid troublesome special characters such as ^ and ~.
  • Resize and compress oversized supplier images before import.
  • Test one product with multiple images before processing the full catalog.
  • Disable remote downloading again if it is not needed after the import.

Image downloads add network and processing work. If product data imports successfully but images fail, isolate the image test rather than repeatedly importing the entire catalog.

6. Import Products Step by Step

  1. Open Administration → Catalog → Products.
  2. Select Import, choose the prepared Excel workbook, and start the import.
  3. Run a pilot containing roughly 5–10 representative products first.
  4. Review the result in both administration and the storefront.
  5. Correct the source workbook—not individual imported rows—so the fix is repeatable.
  6. When the pilot passes, import the remaining products in controlled batches.

The official nopCommerce guidance notes that importing is memory-intensive and recommends splitting large catalogs into batches of roughly 500–1,000 records. Catalog settings also include an option to allow file splitting so optimal-size split files can be processed automatically.

Pilot Import Gate
  • New products are created with the expected names and SKUs.
  • Existing products update rather than duplicate.
  • Prices, stock, published state, and tax settings are correct.
  • Categories, manufacturers, attributes, and stores are assigned correctly.
  • Descriptions render safely and images load at the right quality.

7. Update Products Without Creating Duplicates

For repeat imports, SKU discipline is more important than spreadsheet styling. Assign one unique SKU to every sellable product or variant, keep it stable across systems, and never recycle an old SKU for an unrelated item.

Before importing an update file, compare its SKU column against both the current nopCommerce export and the source system. Look for blanks, leading or trailing spaces, case changes, scientific notation, and duplicate values. A product name is not a safe identity key, and the exported ProductId is not a portable replacement for SKU.

Duplicate products
Usually caused by missing, changed, or damaged SKUs. Compare against a fresh export.
Wrong prices
Check decimal separators, currency assumptions, formula results, and text-formatted numbers.
Missing relationships
Validate category and manufacturer names plus the relevant import settings.
Broken images
Check server access, response type, filenames, permissions, and the download-images setting.

8. Troubleshoot Common nopCommerce Import Errors

SymptomLikely causeWhat to check
Column or format errorWorkbook does not match the target versionStart again from a fresh export and keep headers unchanged.
Import times out or exhausts memoryFile is too large or image processing is heavySplit into 500–1,000-row batches and separate image testing.
Product is duplicatedSKU is blank, altered, or not matchedCompare exact SKU strings against a fresh store export.
Category or manufacturer failsRelated entity is missing or named differentlyCreate or normalize entities and review Catalog import settings.
Leading zeros disappearSpreadsheet converted an identifier to a numberRe-import the source CSV with that column typed as text.
Remote image is skippedDownload disabled, URL blocked, or filename invalidEnable the setting temporarily and test a directly accessible image URL.

Keep the original source, cleaned data, final import workbook, import date, batch number, and operator in a simple log. That audit trail makes correction and rollback much easier.

9. Run Post-Import Quality Assurance

An import is complete only after storefront and operational checks pass. Sample products from every batch, category, tax class, warehouse, language, and product type.

  • Search for several imported SKUs in administration and the storefront.
  • Open product pages and verify name, URL, description, price, stock, images, and availability.
  • Add simple and variant products to the cart and complete a test checkout.
  • Check category navigation, filters, manufacturers, and multi-store visibility.
  • Confirm unpublished pilot items stay hidden until approved.
  • Review application logs and background-task failures.
  • Re-export a sample and compare it with the intended source values.

Frequently Asked Questions

Can nopCommerce import a CSV file directly?
The built-in product workflow is Excel-based. Use CSV as source data, map it into an Excel export from the target nopCommerce store, and save the result as XLSX. A direct or scheduled CSV feed generally requires a compatible plugin or custom integration.
Which fields are required to import products?
You do not need to fill every exported column. A new product needs a name, while a reliable SKU is essential when you want an import to identify and update an existing product. Requirements can vary with product type and customization, so test a minimal file from your own export.
How do I update products without creating duplicates?
Keep one unique, stable SKU per product or variant and preserve it as text. Before every update, compare the workbook against a fresh store export for blanks, spaces, formatting changes, and duplicates.
How many products should I import at once?
nopCommerce documentation recommends manageable batches of roughly 500–1,000 records because imports are memory-intensive. Start with a 5–10-product pilot and reduce batch size further when rows include complex attributes or remote images.
Can nopCommerce import product images from URLs?
Yes, when the Catalog setting that allows image downloads during export/import is enabled. Use trusted, directly accessible URLs, test the server’s access, avoid problematic filename characters, and disable the option afterward if it is no longer required.

Final Thoughts

The supplier’s 2,500-row CSV is not a one-click import file—and that is a good thing. Preserve it as the raw source, map it into a same-version nopCommerce Excel export, protect identifiers as text, validate a representative pilot, and then process controlled batches.

That workflow takes slightly longer before the first upload, but it prevents the expensive outcomes: duplicate products, incorrect prices, broken category relationships, missing images, and an import nobody can reproduce.