TITANTH

Home › Guides › Add NS-PID codes in bulk

How to add NS-PID codes to Shopify in bulk

Short answer: in a current Shopify Product CSV export, add each maker's code to the variant's Variant Barcodes cell as ns-pid:CODE, after any barcodes already there and separated by ; . Keep every column and every row of each product you change, then import with "Overwrite products with matching handles". We tested this on 25 October 2026 with two archived test products: Shopify stored the codes with the NS-PID type, and its export afterwards matched the import file in every cell.

What the cell looks like

Step by step

  1. Export the products from Shopify (Products → Export → CSV). Use the current format with the Variant Barcodes column. Keep this file unchanged as your backup.
  2. Get the maker's own code for each exact variant from the supplier or the product documents. A vendor name, your SKU or a guess is not the maker's code.
  3. Add the codes in a copy of the export as shown above. Skip variants that already have an NS-PID.
  4. Keep whole products. Leave every column in the file, including option columns and Status, and keep all rows of each product you change, including image rows. Remove products you did not change. Shopify's help warns that blank included cells overwrite existing values, that missing option columns can remove variants, and that a missing Status column can make a product active.
  5. Check the codes before importing. If a spreadsheet turned a code into 4.00638E+12 or dropped leading zeros, fix it from the supplier's original. Save as UTF-8 CSV with commas.
  6. Import in Shopify admin (Products → Import), tick "Overwrite products with matching handles" and read the preview. Try one product first.
  7. Re-export and check a few variants in the admin: each should show the code with the NS-PID type next to its existing barcodes.

What we tested

Two things a CSV cannot show

Doing it with TITANTH

The full Catalog Check (US$59 once, offline) makes a supplier question sheet from your export, reads it back when suppliers have filled it, adds each code as ns-pid: with the escapes above, refuses a second NS-PID and spreadsheet-damaged numbers, and gives you an import file with only the products you changed. The free checker shows the gaps in the first 100 rows of your export and makes the import file for up to 3 products.

Check your CSV free — first 100 rows

Questions

Does Shopify accept ns-pid: in a Product CSV import?

Yes, in our tests. On 25 October 2026 we imported a Variant Barcodes value such as ean:4006381333931; ns-pid:MK-100 with 'Overwrite products with matching handles' on two archived test products. Shopify stored the code with the NS-PID type, and its export afterwards matched the imported file in every cell.

What if a variant already has an NS-PID?

Do not add a second one. Change the existing code in Shopify admin after confirming the correct value with the supplier.

Can a spreadsheet damage the codes?

Yes. A spreadsheet can turn a long numeric code into 4.00638E+12 or drop leading zeros. Ask suppliers to send codes as text, and check those columns before you import.

What a Shopify export contains → · Supplier request template →