Skip to main content
— Setup walkthrough

Bulk-map files to products with a CSV

Alva Digital Downloads maps many files to Shopify products in one upload. Build a CSV with a PRODUCT_ID column and one or more FILE_ columns, drop it into the bulk screen, preview the matches, then process. Large catalogues map in minutes instead of one product at a time.

What bulk mapping does

Alva Digital Downloads links files that are already in storage to Shopify products from a single CSV. Open the Products page and click the Bulk Product-File Mapping secondary action. The screen is available on paid plans only — it is disabled on the Free plan.

What the CSV needs

The parser reads the header row and matches columns by name, case-insensitively. It requires one PRODUCT_ID column and at least one FILE_1 or LINK_1 column. Variant columns are optional. Column order does not matter, and you can add as many FILE_, LINK_ and VARIANT_ columns as you need.

  • PRODUCT_ID — the Shopify product ID. Use the bare number (1234567890) or the full gid://shopify/Product/1234567890 form.
  • FILE_1, FILE_2, … — each holds a file's title in Alva storage, such as User Manual. Leave out the @ prefix: it is optional, and spreadsheet apps such as Excel can treat a cell that starts with @ as a formula. CSV files that already use @ still import correctly.
  • VARIANT_1, VARIANT_2, … — optional Shopify variant IDs. Leave them out to map to the default variant across the whole product.
  • LINK_1, LINK_2, … — each holds the title of a saved link, also written without an @ prefix. Link titles must be unique: if two of your links share a title, that row is rejected rather than guessing which one you meant.

Every row needs at least one file or one link. A row may carry only LINK_ columns, which creates a link-only product with no files attached — the same thing you get from the Links selector on a single product.

Start from a template

Alva Digital Downloads offers two CSV downloads on the bulk mapping screen, so you do not have to type the header row yourself. Both buttons sit in the bar at the top of the screen. In a narrow window, look under More actions.

Download CSV Template

Download CSV Template saves alva-bulk-mapping-template.csv. It holds the column headers — PRODUCT_ID, VARIANT_1 to VARIANT_3, FILE_1 to FILE_3, LINK_1 and LINK_2 — and four example rows. Replace the example IDs and titles with your own.

The example rows write file and link titles without an @. Leave it out of your own titles too: the prefix is optional, and Excel can treat a cell that starts with @ as a formula.

Download my products as a CSV

Download my products as a CSV builds a file of your store's active and draft products, up to 50,000 rows. PRODUCT_ID and VARIANT_1 are already filled in, so you only add file and link titles.

The IDs are written in full, such as gid://shopify/Product/1234567890. Spreadsheet apps keep that form as text. A long bare number is not safe: Excel can save it as something like 8.81235E+12, and Alva then cannot find the product.

A product with several variants gets one row per variant, with VARIANT_1 filled in, then one row with an empty VARIANT_1 for the whole product. A product with a single variant gets only the whole-product row.

The PRODUCT_TITLE and OPTION_TITLE columns help you recognise each row; Alva ignores them on upload. FILE_1, FILE_2 and, on paid plans, LINK_1 are left empty for you to fill in.

What a filled row does depends on which row it is. Files in a variant's row go to that variant; if the product is already mapped, that variant also keeps what it delivers today. Files in the whole-product row go to every variant without its own mapping. Rows you leave empty are skipped.

How to bulk-map files

1. Open the bulk mapping screen

On the Products page, click Bulk Product-File Mapping. The two template downloads sit in the bar at the top of the page. Below them are an instructions card with a worked example CSV and a drag-and-drop uploader.

2. Build and save the CSV

Put one product per row. Fill PRODUCT_ID with the Shopify ID and each FILE_ column with a file title. A bare row of 123456789,,,,User Manual,, maps one file to a product's default variant; leaving the file columns empty and filling LINK_1 instead maps a link on its own. Save the sheet as .csv.

Screenshot needed

The Bulk Product-File Mapping preview table after a CSV upload. Show the five columns — File, Links, Product, Variants, Status — with 3–4 sample rows: green "success" badges, one red "error" row, one link-only row with an em-dash in the File column, and one product carrying an "Existing" badge. Use placeholder product names, no real customer data.

The preview table validates every row before you process the import.

3. Upload and review the preview

Drop the file into the uploader. Alva checks each file title against storage and validates the product and variant IDs against Shopify. The preview lists every row with a Status badge — success, error, or pending — and flags products that already have mappings with an Existing badge.

4. Process the mappings

Click Process CSV. Valid rows save as product mappings and errored rows are skipped. If more than 30% of rows are invalid, Alva blocks the run. Below that threshold, a confirmation dialog tells you how many rows will be skipped before it proceeds.

A file with 25 rows or fewer runs from your browser tab. A progress bar above the preview table shows how many rows Alva has processed, so keep the tab open until it finishes. A larger file shows Start import instead and runs in the background.

5. Verify coverage

After a successful run, click View Products to return to the Products list. Each product shows its attachment count, so you can scan for anything still showing zero files. Fix those rows and re-run them with Retry failed mappings.

Large imports run in the background

Alva Digital Downloads imports a CSV with more than 25 rows to send on its own servers, so you can close the page while it runs. The main button reads Start import instead of Process CSV.

Alva saves the rows and works through them 25 at a time. A CSV import card at the top of the bulk mapping screen shows the status and how many rows are done, for example 1,200 of 4,000 rows. Come back at any time to see how far it got.

When the import finishes, the card shows how many rows were saved, how many had errors and how many mappings were created or updated. It also lists the rows with errors.

  • Cancel import — stops the import before its next batch of 25 rows. Rows already saved stay saved.
  • Resume import — appears when an import stopped for a temporary reason, such as Shopify being unreachable for a while. It continues with the rows that have not been processed yet.

A store runs one import at a time: you cannot start another until it finishes or you cancel it. Each file can hold up to 10,000 rows, so split a larger catalogue into several files. A store can start up to 20 imports in 24 hours.

Resume an interrupted browser import

Alva Digital Downloads saves the progress of an import that runs in your browser (25 rows or fewer). If you close the tab or leave the page before it finishes, the rows already saved stay saved, and Alva remembers where the import stopped.

When you come back to the bulk mapping screen, a banner names the file and how many of its rows were done. It offers two buttons:

  • Resume — continues with the rows that have not succeeded yet. Rows already saved are not duplicated, and the run goes through the same error checks as a normal import.
  • Discard — drops the stopped import so you can start again with a new file.

The stopped import is kept in that browser only, for 7 days. It does not carry over to another computer, another browser or a private window.

Frequently asked questions

Where do I find a product's Shopify ID?

Open the product in Shopify admin and copy the numeric ID at the end of the URL, like 1234567890. Alva accepts that bare number or the full gid://shopify/Product/1234567890 form in the PRODUCT_ID column.

Does Alva offer a downloadable CSV template?

Yes, two, in the bar at the top of the bulk mapping screen. Download CSV Template saves alva-bulk-mapping-template.csv with the column headers and four example rows. Download my products as a CSV gives you a file with your own product and variant IDs already filled in.

How does a row identify the file?

By the file's title in Alva storage, matched case-insensitively. Leave out the @ prefix: it is optional, and Excel can treat a cell that starts with @ as a formula. Titles that already start with @ still match. The file must already be uploaded — bulk mapping links existing files, it does not upload them.

What happens to rows with errors?

Errored rows are skipped and the valid rows still save. If more than 30 percent of rows are invalid, Alva blocks the whole run. Below that, a confirmation modal warns you which rows will be skipped before processing.

How do I map a different file per variant?

Add VARIANT_1, VARIANT_2 columns and put a Shopify variant ID in each. Rows with no variant columns map to the default variant and apply to the whole product. There is no limit on the number of variant columns.

What happens if I close the tab during an import?

It depends on the size of the file. An import of more than 25 rows runs on Alva's servers and keeps going: come back to the bulk mapping screen to see its progress on the CSV import card. A smaller import runs in your browser. Rows already saved stay saved, and in the same browser within 7 days you can click Resume to continue or Discard to drop it.

See also

Was this helpful?

Still stuck? Email us.

Last updated 2026-11-10