Customer import with duplicate email in Magento - magento

I have two huge CSV files containing customer data. I can import the first CSV file just fine (because there is no duplicate data). The problem is with the second CSV file. It contains some duplicate data from the first CSV. My question is, can Magento skip this duplicate data and import only the non-duplicate data?

Yes magento skip the duplicate customer and import only non-duplicate but magento doesn't give any error like skip customer or like that.
When you look at class Mage_Customer_Model_Convert_Adapter_Customer in saveRow($importData) method and debug this you can easily understand how actually magento
import customer

Related

Importing into Categories

I have an Excel CSV of products (Roughly 11000 products) and i can import them successfully but what column name does Magento require to import the products into their specific categories?
I tried the following in my excel csv but it didn't work:
root_category category
Default Category Washer
Even natively exported from Magento file not always suits for importing it back.
To format file in the way Magento insists, you need to include all the required fields and keep to UTF-8 encoding (without BOM).
Check this article with the list of required fields for Magento import - https://www.mag-manager.com/useful-articles/tipstricks/required-csv-file-values-for-error-free-magento-import-via-admin/

Magmi: missing products

Whenever I do an import with Magmi, it misses products without telling me what happened.
For example on this screenshot below, you can see it found 226 records but only imported 194 items.
What happened to the remaining 32 items? Can I find their SKU? Why weren't they imported? Is there any place I can find this information?
You likely had some values in the products that halter their import or they contained data that broke the import.
Do the following:
Check
SELECT sku
FROM catalog_product_entity
ORDER BY entity_id
WHERE
sku
IN
(
.. list of skus you're importing commas separated.
)
To get the skus that you've successfully imported.
Set Magmi import delimiter to | (pipe) and use open office when saving csv files and force them to have quotes around each field and be pipe separated to avoid any and all quote and comma issues within your data.
You can enable and configure Magmi report mail notifier. Every time you import products you will receive a report containing the information about the successfully imported and failed to import products skus.To receive the email you need to configure your email id.

magento import export csv error sku

I had problem so i had to re install my whole magento site and i exported my products in csv with two method.
With Import and With Dataflow - Profiles.
I recreated the categories and i try to import the files but it gives error for every single product.
"Skipping import row, required field "sku" is not defined."
I don't know how could i fix because i have sku for every item.
I tried also the same two method to import.
I didnt work out.
Thank you for the help.
I had this same problem today.
There is a setting on both import and export called:
Original Magento attribute names in first row: Yes/No
This puts the column name on the top row of the CSV.
When exporting the data I had this set to NO, but when importing I had it set to YES. The solution for me was to have both set to YES.
Hope that helps.

How to put categories from manufacturer csv file into already existing categories with Magmi

I have a webshop with some categories in my root folder.
Root categorie
- Home
- Toys
- Accessoires
- Bricks
etc
From my manufacturer i can download every night a csv file with categoryname1/categoryname2/categoryname3/categoryname4 etc.
What i want to do is the following:
If categoryname1 equals "toys" then Magmi must make the categoryname under my already existing category "Toys". Also al the products from the csv file in the categoryname1 column must be imported and assigned to the right category in Magento.
I also want to exclude some categorys from the csv file of my manufacturer. These excluded categorys must not be imported in my shop.
Is this possible with magmi?
My csv file from the manufacturer is realy big, with lotst of products and categories.
Hope you guys can help me out. I have already worked with magmi, but i was'nt be able to fix this one.
This is doable using the ValueReplacer plugin which has interesting mapping capabilities.
You can use the ValueRemapper Helper of this plugin to use a mapping file between your input csv value & the values that are to be ingested by magmi. It can also create a composite value from several input columns (here you may use it to create a "categories" column that would aggregate the several categories from your input file)
For excluding values to import, the Import Limiter plugin can do it too by selecting rows to exclude based on any column criteria.
A Last option would be to use magmi programmatic APIs:
Datapump API would let you create a script that will wrap magmi calls letting you perform any operation on input data (but this would also mean you'll have to read the input file)
Creating a dedicated ItemProcessor plugin that would do data transformation suiting your needs in its "processItemBeforeId" method.

Magmi import doesn't remove the products

I have been using Magmi to import products by adding items to the file " export_all_products.csv" without any problems
But when I have products that need to be remove,what I did was by removing the whole row in that product line in the csv file and upload it using magmi, but the products that I want to delete is still there and sometimes duplicated, is there a way to get it done or can I empty some tables in the database in phpmyadmin before I do the import?
Thanks so much
You need to use the Product Deleter plugin to delete products with Magmi.
Use the column name magmi:delete with the value of 1 on the rows you want removed from Magento.
Example CSV:
"sku","magmi:delete"
"00001","1"
"00004","1"

Resources