I am trying to import/update categories using the module being developed for magento MAGMI, i have made my custom category csv file with columns:
Categories
ttf1
ttf2
2 and 3 are custom attributes, What i want to do is to update the categories different customly added attributes using csv file. And i get an error:
String could not be parsed as XML
I thought my csv is not working perfectly, so i exported products csv from magento backend and try to import it, and it gives the same error. I need to import categories via MAGMI, i don't need to include any product data in csv. Will this work?
if you want only import categories, you can create in MAGENTO (or via MAGMI) the product "test" with sku "0000" and import via MAGMI csv-file like:
"sku","categories"
"0000","NewCategory1"
"0000","NewCategory2/Sub1"
"0000","NewCategory2/Sub2"
"0000","NewCategory2/Sub3"
"0000","DeleteThisCategory"
in the end don't forget delete/disable the "test" product and "DeleteThisCategory" category.
Magmi does not import categories only, it is able to create categories on the fly during item import that's a big difference. IE : magmi imports ITEMS and can auto create categories for ITEMS being imported.
If you want to import categories, use another magento plugin.
Related
i just want to many categories and sub catgories in magento 2 ,in bulk .its really time-consuming by adding a single category.Urgent help neeed
Magento 2 does not have separate import tool for categories but you can create categories via product import. If you have full category path for products in the import file and such category does not exist in Magento 2, it will be created.
CSV example
sku,categories
product_sku1,"Default Category/Main/sub, Default Category/Main2/sub2"
product_sku2,"Default Category/Main/sub3, Default Category/Main2/sub4"
After product import it will create two products and categories Main, Main2, sub, sub2, etc...
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/
I am importing simple and configurable products using the magento Import. When associated products (super products) are imported the order is set to what appears to be alphabetical order based on the attribute name. The order of these can be changed in admin by dragging the attributes. It appears the order is kept in the catalog_product_super_attribute table in the ‘position’ column. But, so far I’ve found no way to import this order.
Is there are parameter I can add to the CSV file to import this value.
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"
when exporting and importing data in Magento via import/export profile, products are not being updated. We selected only mapped fields. I have some idea. But am unsure.
When you export and import, do you use the same profile? (or does the standard import function understand and import the mapped fields)
What does Magento use as the INDEX to update the correct record. We are updating SKU, but maybe this is used as key?
Thanks, appreciate the help
SKU is unique for every product. As imported product does not have id so magento can not understand that you are updating product if SKU is changed.