Magento shopping cart is considered to be one of the most feature-rich and at the same time most complex eCommerce platforms. Due to this fact, it is natural that databases are usually massive and contain considerable amount of items. So it is vitally necessary to decrease time required for huge data sets management. For that very reason import has been worked out.
Magento import from .csv is definitely positive option for bulk products upload and mass changes implementation, though lots of users report that they have issues uploading files using it. Imported CSV files must meet a number of specific requirements to be accepted. To be brought up correctly to database, the spreadsheet should include predefined fields with specified values. The names of columns should be exactly the same as database names, otherwise the system might not recognize the row and skip it or return the error. Additionally, remember that shopping cart supports .csv format only and in order for the file to be parsed properly, save it using UTF-8 encoding.
Here is the list of fields with correct names that need to be in your file for Magento product appending to be successful. Remember, that first are specified the exact field names that should be used while import with underbars and no capital letters (used identical ones, do not change them). There is also an explanation for each field and example of possible values to be inputted.
Without the following fields the product won’t be imported -
Without the following fields even if the product will be created at database, it won’t be visible from clients’ side:
Custom attributes are any attributes that you created yourself and indicated as required (and assigned to particular types of products) become obligatory for your products creation. Check for required attributes in Catalog > Attributes > Manage Attributes and make sure that they are assigned in Catalog > Attributes > Attribute Sets (find the attribute that corresponds to your new products) before you start import
Other fields are not obligatory and you can add them if you wish. One of such non-obligatory fields are images, though they are needed for more positive general look of your products.
Before the import put image files in media/import and in the .csv file enter the image name prepended with a slash. You can use the same image for base, small, thumbnail images and media gallery. For that fill in the appropriate fields - image, small_image, thumbnail, media_gallery.
Default Import/Export method has a kind of verification. You have to go to System -> Import/Export -> Import.
Then you will see the button clicking which you will be able to select the file browsing through the folders of your computer. Once selected, click ‘Check data’ button to verify if your CSV and data in it are properly formatted (according to Magento requirements).
After check-up has finished you will verification results: either see errors pointing you what in your file should be adjusted or message notifying you that import file is valid and you can proceed with upload.
magento_import_admin_sample_file.csv
magento_import_admin_sample_file.rar
If you expect that you can export the data to the file and have an example or can use the same file for import, you are mistaken. Often the file you just exported won’t be suitable for Magento import so you will need to go through all the above requirements to check why your file is not accepted. In case you need working alternative that will deprive you from the necessity to adjust the file according to all requirements, change column names and data placed in them or see the error returned that states that there are some values missing and import failed, try upload from .csv using Store Manager application.
Using it you can:
- import products with only the necessary fields
- do modifications on-the-fly
- even if there are missing fields that are in charge of product reflection at the front-end, default values will be inputted
- if you need to update existing products, you just need the column with identifier (SKU, ID) and other column where you need to implement changes
- free support available that will check your file and will guide you through the process
More on Magento import possibilities read here - www.mag-manager.com/magento-import/
Not sure whether to perform import on admin part or via Store Manager? Check the detailed comparison. Read More...
Get insight into the notion of expression and find out what data can be changed using expressions and check how to apply them during Magento import. Read More...
Check a couple of tips to make your Magento import faster (reindex settings, index settinfs etc). Read More...
Schedule Magento import to be accomplished on hourly, daily or weekly basis using the saved configuration. Read More...
Hello,
In order to change extension in product URL, you need to provide necessary URL suffix in Magento backend. Navigate to
System->Configuration->Catalog->Search Engine Optimization and specify .htm in 'Category URL Suffix' field, as at the screenshot.
Clear cache and re-index data afterwards.
Great post, how can I overwrite a field with data and replace with a null value.
If the fiedls are empty it won't change them. Is it safe to use null ?
Hello.
Thank you for your question.
What exactly value you need to set to null?
I tried importing with a column named type_id and it didn't like it. Maybe MAgento 1.9 doesn't like it? 'type' seems to work better.
Hello. Thanks for your comment.
Depending on Magento version, the values for product type column heading vary from 'type_id' to '_type'
Hi, The sample csv is very useful , but I faced problem in case of importing configurable product in Magento 1.9 . Please provide one sample csv for configurable product import .
Hello,
Thank you for your comment.
You can use this step by step guide to import configurable products - https://www.mag-manager.com/product-information/magento-product-management/how-import-configurable-products-to-magento-2/. There you will also find the sample file.
This website uses cookies.
I am uploading a large number products. The upload runs perfectly but Magento is not adding the file extension to the url_key. So none of the products uploaded have the “.htm” file extension. Even after indexing. I’ve tried everything I can think of to resolve this. I’m using version 1.9.4. This is driving me crazy. Do you have any suggestions?