Bulk Importing Sources
When you have dozens of products and corresponding spec sheets or supplier URLs, adding sources one at a time via the per-product panel gets tedious fast. Use bulk import to attach sources to many products at once via a CSV file.Understanding the Sources Sidebar
The Sources sidebar page is your library of all sources across your entire catalog. To access it:- Click Catalog in the sidebar.
- Click Sources.
When to Use Bulk Import vs. Per-Product
Use bulk import when:- You have a spreadsheet of supplier URLs or document links you need to attach to products.
- You’re setting up a new product catalog and want to import sources alongside or after your product data.
- You have 20+ products that need sources—the CSV approach is much faster than clicking each one.
- Your sources are organized by product SKU or ID in a structured way.
- You’re adding one source to one product as you work.
- You’re refining sources for a subset of products after an initial import.
- You want to manually review and attach sources selectively.
The Sources CSV Format
To bulk-import sources, you need a CSV file with the following columns:| Column | Required | Format | Example |
|---|---|---|---|
| sku or product_id | Yes | String or ID | SKU-123 or prod_abc123 |
| source_type | Yes | url, text, or document | url |
| source_value | Yes | URL, text content, or filename | https://supplier.com/spec.pdf |
| source_name (optional) | No | Friendly label | Supplier Spec Sheet |
Example CSV:
Preparing Your CSV
- List products by SKU or ID — Use the same identifier Merchkit uses to match products.
- One source per row — If a product has multiple sources, create multiple rows with the same SKU.
- Keep URLs complete — Include the full URL with protocol (
https://). - For documents, list only the filename if you’re uploading files alongside the CSV, or paste the URL if they’re hosted online.
- Keep text concise — If source_value contains commas, wrap it in quotes:
"Material: Steel, dimensions: 12x8, weight: 3 lbs."
Running the Bulk Import
Step 1: Prepare your CSV Create a spreadsheet with the columns and format described above. Include all products and their sources. Save it as a.csv file.
[SCREENSHOT: Excel/spreadsheet showing sample sources CSV with sku, source_type, source_value, source_name columns]
Step 2: Open the Sources sidebar
- Click Catalog in the sidebar.
- Click Sources.
- Select your
.csvfile from your computer. - Merchkit will preview the import and show you a summary of how many sources will be attached to which products.
- Review the preview for any errors or mismatches.
- If the preview looks correct, click Confirm Import or Import.
- Merchkit processes the import and attaches sources to products.
- You’ll see a summary: “Imported 45 sources across 18 products.”
Handling Files in Bulk Import
If your CSV references document files (e.g.,document_type: document, source_value: spec_sheet_101.pdf), you have two options:
Option 1: Upload documents alongside CSV
When you import the CSV, Merchkit lets you upload a ZIP file or folder containing the referenced documents. Make sure filenames in your CSV exactly match the filenames in your folder.
Option 2: Use hosted URLs
Instead of local files, provide direct URLs to documents hosted on a server or cloud storage:
Validating the Import
After importing, spot-check a few products to ensure sources were attached correctly:- Go to Products in the sidebar.
- Double-click the Data Sources cell for a product you imported sources for.
- Verify that the expected sources appear in the Sources view.
Common Issues
“Merchkit didn’t match my SKUs”- Ensure your CSV’s
skucolumn exactly matches the product SKU in Merchkit (case-sensitive, no extra spaces). - If your Merchkit product ID is numeric, make sure the CSV column is treated as text, not a number (Excel can strip leading zeros).
- This usually means some SKUs didn’t match any products in your catalog.
- Check your CSV for typos or mismatches.
- Re-upload a corrected CSV to import the missing sources.
- File is too large (keep under 25MB per file).
- Filename in CSV doesn’t exactly match the file in your upload folder (case-sensitive).
- File format isn’t supported (check that PDFs, Word, Excel, ODT, or RTF).
- The URL might be behind a login or firewall.
- If you’re having trouble with a particular website, contact support — we can help with unique sites.
- You can delete the old sources from the per-product panel and re-import a new CSV, or edit the CSV and re-upload it.
- Merchkit will handle deduplication and updates based on the new import.