Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Import products from a CSV file

A complete guide to importing products into Shoporama with a CSV file, including the file format, supported fields, and tips.

Reading time: about 26 minutes
Store owner

You can easily import your products into Shoporama from a CSV file. This article explains how to do it and how the CSV product import works.

The Import/export page with export on the left (CSV, stock, sales data, and JSON) and import on the right (CSV, JSON, Shopping Feed, Magento, DanDomain, and Shopify)
You find the Import/export page under Products. On the left, you export products as CSV or JSON, and on the right, you import from CSV, JSON, Shopping Feed, Magento, DanDomain, and Shopify.

The difference between CSV and JSON import

Shoporama has two types of import. CSV means products that come from a comma-separated file (although in practice it is most often semicolon-separated). JSON is a different format, and you can only import a file that you have previously exported from Shoporama. The rest of this article is only about CSV import.

What can you use CSV import for?

CSV import is an easy way to create or edit many products in Shoporama. It is typically used when you move your store to Shoporama: you export the products from your old store and import them into Shoporama. You can also use it if you want to update your products.

How should the CSV file be formatted?

A CSV file is quite simple. For Shoporama to read it, it must be in a format like this:

own_id;price;name
334455;48.00;Brown t-shirt
667788;170;Black t-shirt

What you see above is the simplest format. The first line specifies which fields the columns contain (here SKU, price, and name). You can also make the file like this:

produktid;pris;navn
334455;48.00;Brown t-shirt
667788;170;Black t-shirt

Shoporama also recognizes Danish column names. Pris (price), Lagerstatus (stock), Leveringstid (delivery time), Kategori (category), Mærke (brand), Leverandør (supplier), and Beskrivelse (description) work directly. The auto-matching also ignores uppercase and lowercase letters and extra spaces, so "Pris", "price", " price ", and "PRICE" give the same result. If a field does not match automatically, you can always select it manually in the import wizard's dropdown.

How do you import product images?

To import images, you specify the URL of each image. Note that it must be an absolute URL that our server can access. It must start with https://www.yourdomain.com. You cannot just enter /images/product533.jpg, because then our server does not know where to look for the image. The image also cannot be behind a password.

Here is an example of an import that also includes images:

own_id;price;name;image
334455;48.00;Brown t-shirt;http://minshop.dk/img/brun-tshirt.jpg
667788;170;Black t-shirt;http://minshop.dk/img/sort-tshirt.jpg

How do you import the product's profile attributes?

If you have created a profile where you specify, for example, the material and where the product is made, you can enter the product's profile attributes as parameters in a URL. With two profile attributes called "material" and "madein", it looks like this:

material=cotton&madein=denmark
material=polyester&madein=portugal

Using our example from above, the file looks like this:

own_id;price;name;attributes
334455;48.00;Brown t-shirt;material=cotton&madein=denmark
667788;170;Black t-shirt;material=polyester&madein=portugal

This is also how you specify extra fields and tiered quantity discounts (that is, in URL format). Extra fields are the ones you otherwise enter in the Extra fields box in the product's Fields card. Read more in Import extra fields on products.

Do you use shared values? If the import creates a new value on an attribute that already has shared values, the new value is automatically linked to the shared value with the same name. Uppercase and lowercase letters do not matter, so "medium" is linked to "Medium". This applies to both attributes and variants. If the attribute has no shared values, or the name does not exist as a shared value, the value is created as a regular value, as usual. The import never creates new shared values on its own.

The two "Profile" fields: what is the difference?

On the import page, you see "Profile" in two places, and they do not do the same thing. The difference matters if you want to control exactly which product profile each product gets.

  • The Profile column (mapping at the top): If you map a column in your CSV to the profile field, the profile is chosen per row. If the profile already exists in your store, it is used. If it does not exist, it is created automatically. This works both when you create new products and when you update existing ones.
  • Profile under Import settings (at the bottom): This dropdown is only a default profile. It is used only for new products, and only when the row itself has no value in the Profile column. This setting does not change the profile of existing products.

In short: if you want to choose a specific profile per product, add a column with the profile name to your CSV and map it to "Profile". If you just want all new products without a profile value to end up with the same profile, the dropdown under Import settings is enough.

Example with a profile column per product:

own_id;price;name;profile
334455;48.00;Brown t-shirt;T-shirts
667788;1200;Leather bag;Bags

How do you import products step by step?

  1. Click "Products".
  2. Click "Import/export".
  3. Under "Import", click "Products from CSV".
  4. Scroll to the bottom and click the "Choose File" button under "Upload CSV file". Select the file on your computer.
  5. Before uploading, select the separator (whether your values are separated by commas, semicolons, or something else). You can also specify whether your fields are enclosed in "" or something else, and which encoding the file uses. Leave it on "auto" if you are unsure, and Shoporama will try to detect it.
  6. Click "Upload".
  7. Map each value to the field it belongs to in Shoporama. If the first line contains names we recognize (see the list further down), we will already have selected them for you.
  8. When all fields are selected, choose which product profile the products should be created with and how many lines you want to import. By default, all lines are imported. You can also specify whether or not the prices include 25% VAT (the Danish VAT rate).
  9. Click "Import". After a few minutes, your products are in Shoporama. Note, however, that if the server has to fetch images from another server, it can take several minutes.

Which fields does the import recognize?

Below is a list of the fields Shoporama recognizes:

name rewrite_url own_id gtin variant profile shipping_weight search description meta_description meta_title list_description price sale_price purchase_price category main_category supplier brand image stock location online offline delivery_time delivery_time_not_in_stock allow_negative_stock canonical_id extra_fields attributes duty tariff_code country_of_origin discount mpn google_category google_shopping_title auto_offline auto_online related_products similar_products no_shopping remove package max_per_order sale_starts sale_ends product_id prev_url env_enabled env_packaging_paper env_packaging_plastic env_packaging_metal env_packaging_glass env_packaging_wood env_packaging_other env_packaging_producer env_weee_weight env_weee_category env_weee_end_user env_battery_category env_battery_weight env_battery_type env_battery_integrated env_battery_replaceable env_epr_registration_number

Fields with 1/0 values

Some fields expect 1 or 0 (or an empty cell). Here is what the values mean:

Field10 or empty
onlineThe product is visible in the storeThe product is hidden
offlineThe product is hiddenThe product is visible
auto_onlineSet online automatically when stock arrivesOff
auto_offlineSet offline automatically when stock runs outOff
allow_negative_stockStock may go negativeStop sales at 0 in stock
no_shoppingHide from the Google Shopping feed (same as Hide under Show in feeds in the Product feeds card)Show in feed
removeDelete the productKeep the product

Note that online and offline are two sides of the same coin. You only need one of the fields in your CSV. Choose the one that best fits how your data is structured.

Free-text fields

  • related_products and similar_products: a comma-separated list of product IDs
  • category and main_category: separate multiple categories with |, and specify the hierarchy with > (for example, Clothing > T-shirts)
  • image: separate multiple images with |
  • extra_fields, attributes, and discount: URL format (for example, material=cotton&madein=denmark). In extra_fields, you can also set Google Shopping custom labels, for example, google-custom-label-2=summer
  • google_category: Google's category ID, for example, 1868. You find the ID by searching in the Google category field in the product's Product feeds card
  • google_shopping_title: the title in the Google Shopping feed. Google allows a maximum of 150 characters

Environmental data (EPR)

If you register environmental data for extended producer responsibility (EPR), you can import it along with your products. The columns correspond to the Environmental Data (EPR) section in the product's Legal, VAT, customs, and environment card. You can read more about what the fields mean in Environmental data on products.

ColumnContent
env_enabled1 = register environmental data for the product. Must be included, see below
env_packaging_paper, env_packaging_plastic, env_packaging_metal, env_packaging_glass, env_packaging_wood, env_packaging_otherPackaging weight in grams per unit for paper/cardboard, plastic, metal, glass, wood, and other material
env_packaging_producershop = we are the producer of the packaging (for example, our own imports or our name on the packaging), supplier = a Danish supplier is the producer
env_weee_weightWeight of the electronics in grams, excluding battery and packaging
env_weee_categoryWEEE category, see the table below
env_weee_end_userbusiness = sold to businesses only. Without a value, the product counts as sold to households
env_battery_categoryportable = portable battery (for example, AA, button cell, or phone), lmt = battery for light means of transport (for example, e-bike or e-scooter), sli = starter battery for vehicles, industrial = industrial battery, ev = battery for electric cars
env_battery_weightTotal weight of the batteries in grams
env_battery_typeBattery chemistry, see the table below
env_battery_integrated1 = built into the product, 0 = removable
env_battery_replaceable1 = the customer can replace the battery themselves, 0 = no
env_epr_registration_numberRegistration number, for example, with Dansk Producentansvar (the Danish producer responsibility register)

Valid WEEE categories

In env_weee_category, you use the 7 categories that have applied since August 15, 2018:

ValueCategory
temperature_exchange1. Temperature exchange equipment (for example, refrigerators and heat pumps)
screens_over_100cm22. Screens and equipment with a screen larger than 100 cm²
light_sources3. Light sources (for example, LED bulbs)
large_over_50cm4. Large equipment (an external dimension over 50 cm)
small_under_50cm5. Small equipment (no external dimension over 50 cm)
small_it_telecom6. Small IT and telecommunications equipment (no external dimension over 50 cm)
photovoltaic_panels7. Photovoltaic panels (solar panels)

The 10 old categories from before 2018 (large_equipment, small_equipment, it_telecom, consumer_equipment, lighting, electrical_tools, toys_leisure_sports, medical_devices, monitoring_control, and dispensers) are still accepted, so older files do not break. On the product, they are shown as "Legacy category" and are kept until you choose a new one. Shoporama does not convert them automatically, because the old and new categories do not correspond to each other, so we recommend changing them to one of the 7 new ones.

Valid values for battery chemistry

In env_battery_type, you use one of these values:

ValueChemistry
li-ionLithium-ion
li-polymerLithium polymer
lithium-primaryLithium, non-rechargeable
nimhNickel-metal hydride (NiMH)
nicdNickel-cadmium (NiCd)
alkalineAlkaline
zinc-carbonZinc-carbon
silver-oxideSilver oxide
zinc-airZinc-air
lead-acidLead-acid
otherOther

The old value button-cell is still accepted and kept. A button cell is a format, not a chemistry, so we recommend choosing the chemistry instead. You specify a portable battery such as a button cell with portable in env_battery_category.

Example and rules

own_id;env_enabled;env_packaging_paper;env_packaging_producer;env_weee_weight;env_weee_category;env_battery_category;env_battery_type;env_battery_weight;env_battery_integrated;env_battery_replaceable
EL-100;1;120;supplier;850;small_it_telecom;portable;li-ion;45;1;0
EL-200;1;300;shop;4200;large_over_50cm;;;;;
  • Remember env_enabled with the value 1. If you import environmental data without it, the numbers are saved, but registration is turned off. The product is then not included in the environmental data export on orders, and if someone saves the product in admin while the switch is off, the environmental data is deleted.
  • Empty cells change nothing. An empty cell does not delete an existing value, and 0 in env_enabled does not turn environmental data off. You do that on the product itself.
  • Use the values from the tables. In env_weee_category and env_battery_type, uppercase and lowercase make no difference, so "Li-ion", for example, is saved as li-ion. In env_packaging_producer, env_weee_end_user, and env_battery_category, you must write the value exactly as in the table, in lowercase. In all five columns, values that Shoporama does not recognize are ignored, so they are not saved.
  • Export first if you are unsure. The CSV export under Products as CSV has the same env columns, so you can see the format of your own products and edit directly in the file.

Frequently asked questions

Why are there two "Profile" fields, and which one is used?

The Profile column (which you map at the top) determines the profile for each individual row and works on both new and existing products. The "Profile" dropdown under Import settings is only a default profile for new products without a profile value. If you want to choose the profile per product, use the column.

Do I have to use English column names, and what if a name does not match?

Both Danish and English names work. Shoporama recognizes "Pris" and "price", "Lagerstatus" and "stock", "Leveringstid" and "delivery_time", and so on, and uppercase and lowercase make no difference. If a column is not recognized, select the field manually in the import wizard's dropdown, or rename the column to one of the supported names and upload the file again.

Can I import without including all fields?

Yes. You only need the fields you want to update. However, you must include one unique field (SKU, ProductId, or URL) so Shoporama knows which existing product to update. Otherwise, new products are created.

What happens to products that are not in the CSV?

They are not touched. The import only updates the products that are in the file. If you want to remove products, you can add the remove column and set 1 on the lines you want to delete.

What file type should I upload?

CSV, which is a plain text file with comma- or semicolon-separated fields. You can export it from Excel, Numbers, Google Sheets, or your current e-commerce platform. Shoporama automatically detects the separator, enclosure, and encoding if you leave the fields on "auto".

Should I make a backup before importing?

It is a good idea if you update many products at once. You can export a JSON file with your current products under "Import/export" and use it if something goes wrong.

I have imported environmental data, but the products are not in the environmental data export. Why?

Most likely, the env_enabled column with the value 1 is missing. Without it, registration is turned off on the product, and the export skips it. Import the file again with env_enabled set to 1, and check a product in the Legal, VAT, customs, and environment card afterward.

Our file uses the old WEEE categories. Does it still work?

Yes. The old values are accepted and kept, and the product shows "Legacy category" with a prompt to choose a new one. We do not convert them automatically, because the old and new categories do not match. We recommend changing the column to one of the 7 current categories the next time you import.

How do I find the right battery category and chemistry?

The category depends on what the battery is used for: regular batteries and batteries in phones and small devices are portable, e-bikes and e-scooters are lmt, and car batteries are sli or ev. The chemistry is usually printed on the battery or stated in the supplier's data sheet, for example Li-ion. In the file, you write li-ion, but if you write Li-ion, the import changes it to lowercase for you.

Can I also import the right of withdrawal and age limit via CSV?

No, those two fields are not part of the CSV import. You can set exceptions to the right of withdrawal (the EU right to cancel an online purchase) on many products at once with bulk editing of products. You choose age verification (None, 15, 16, or 18 years) on the individual product in the Legal, VAT, customs, and environment card.